Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infinitest adds the test-scope dependencies of dependent projects to the classpath #404

Open
gtoison opened this issue May 12, 2023 · 0 comments
Labels
comp:infinitest-eclipse Issues related to Infintest for Eclipse

Comments

@gtoison
Copy link
Contributor

gtoison commented May 12, 2023

Context

  • Plugin: [Infinitest for IntelliJ, Infinitest for Eclipse]
  • Plugin Version: 5.4.1.1
  • IDE: Eclipse 4.26.0

Describe the bug
The project A under test has a dependency on project B
A has a test dependency on Mockito 4
B has a test dependency on Mockito 5

The classpath for the test runner has Mockito 5 and Mockito 4, the 1st one (Mockito 5) is used.
According to the Maven documentation, test dependencies are not transitive

@gtoison gtoison added the comp:infinitest-eclipse Issues related to Infintest for Eclipse label May 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:infinitest-eclipse Issues related to Infintest for Eclipse
Projects
None yet
Development

No branches or pull requests

1 participant