Hello. I've created a custom JUnit5 TestEngine that reads test-scenarios from .json files. I would like to run these tests in vscode using the junit-platform-console-standalone.jar without a build tool. I am able to do this manually using PowerShell, e.g.: java -jar junit-standalone.jar -cp engine.jar -f test/my.test.json
I've added the Extension Pack for Java and the following in settings.json:
{
"java.project.referencedLibraries": [
"engine.jar",
"junit-standalone.jar"
],
}
No tests are discovered in the Testing side-bar and nothing happens when clicking Run Tests. Any suggestions?
mvn test
.
findOneById
nested class, the parent test class still gets the initialization error
. Any idea how I can get more details about what's going on?
Hi @Kropie, thank you for being willing for contribution. You can take a look at these ones if you are interested :)
microsoft/vscode-java-test#1465
microsoft/vscode-java-test#1472