Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upshould not include test classes in classpaths when auto resolve maven project #111
Comments
|
Is there a way to make this conditional so that some launch configurations include the test classes and some don't? I'm thinking we would want to support debugging the implementation code (without tests) or debugging unit tests (which should include tests). |
|
We'll add special support for JUnit. See task #76 |
|
I think @fbricon has adopted JDT.LS and m2e to exclude test classes. |
|
Close this as the LS filtered test classes. |
|
@yaohaizh I'm still seeing |
|
Need further verify this issue. |


Original notes from @claycephas ,
#108 (comment)
Current implementation just invoked
JavaRuntime.computeDefaultRuntimeClassPath(javaProject), the result is not accurate. Need fix these two issues:When debugging a maven-based project with VS Code, it is including test classes in the classpaths.
For maven project with multiple modules, the auto-generated classpaths by the debugger didn't contain the depended modules' classpaths.