-
Notifications
You must be signed in to change notification settings - Fork 163
Closed
Description
The related issues:
- Maven projects do not have access to dependencies from the test scope redhat-developer/vscode-java#2569
- https://bugs.eclipse.org/bugs/show_bug.cgi?id=537578
If a maven project has the <m2e.disableTestClasspathFlag>true</m2e.disableTestClasspathFlag> property, m2e won't set the test flag on test classpath entries.
In this case, Test Runner for Java won't recognize tests
Steps to reproduce:
- set the VS Code property
"java.import.maven.disableTestClasspathFlag": true,
- import spring-petclinic as a Maven project
- open the Testing Explorer
You will see that there isn't any test.
The solution: If java.import.maven.disableTestClasspathFlag set to true, Test Runner for Java will need to search for tests in all source folders.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels