vscode-java-test
vscode-java-test copied to clipboard
Support JUnit5 parallel execution
We write more and more test to be able to run in parallel. This works, but vscode sometimes does display the wrong result-status icon in front of the tests. After a (parallel) test run, there should be a green checkbox (or red cross) next to the test name in the test view. However vscode does get confused by the parallel test run and shows only a few result icons and lot's of "not-run" icons next to the (ran) tests. Please see my attached screenshot for further details.
And feel free to reach out for more details or something I can help with this issue.
It's even worse! Running the tests in parallel do hide failures:
Thank you for the feedback. Parallel execution is not supported right now.
Thank you for the clarification. Is there a timeline to implement this feature or anything I can help with?
Sorry no definite timeline yet. But contributions are welcome.
I think the problem happens at https://github.com/microsoft/vscode-java-test/blob/794227efdfe574e4d290db636df7cbd1c57b0786/src/runners/junitRunner/JUnitRunnerResultAnalyzer.ts#L63
The current logic assumes that each time only one test item is treated, which is wrong.