You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How to set the folder in src/main/ as testing folder? #1568
We have java repo for e2e testing, the e2e test cases are in the src/main folder. Do we have anywhere to set for this? Seems that it checks src/test/ folder for tests by default.
Activity
jdneo commentedon May 6, 2023
Currently the extensions find the test according to the test source paths configured in build tool configuration: https://github.com/microsoft/vscode-java-test/wiki/FAQ#i-cannot-see-the-codelens-in-my-test-code-why
There is a feature request to customize the test set location: #464, but it's not supported right now.
Will your problem be solved if you change your test source paths in your build tool configurations?
lruihan commentedon May 6, 2023
It works now by changing testSourceDirectory in pom.xml, I will close the issue. Thanks a lot for your help!