Closed gabrieltosetti closed 2 months ago
Have you tried:
"java.test.config": {
"coverage": {
"appendResult": false
}
}
OMG I search so much for this...it just works!! Thank you so much 😄
Could you update the Wiki to include this new option? https://github.com/microsoft/vscode-java-test/wiki/Run-with-Configuration#property-details
Good to know it works!
I've added to the wiki so I'm going to close this issue. Let me know if you have more questions, thank you!
I can run the test coverage for all tests and it shows the percentage just fine but after that if I run a single test with code coverage the result seems to be appended with the last report.
I tried with no success:
I also tried this setting:
The only thing that works is deleting all folders from
~/Library/Application Support/Code/User/workspaceStorage/<random hash>/vscjava.vscode-java-test/
, running the single test and then I see the coverage only for that execution.As a side note, my project has submodules
VSCode version
Extension version
0.41.0
OS version
MacOS Sonoma 14.4.1