Summary
When using the junit output format, only the aggregated code coverage is printed, even if the flag --detailed-coverage is used.
Steps To Reproduce:
- sf apex run test --test-level RunSpecifiedTests --tests MyClass1,MyClass2 --code-coverage --detailed-coverage --result-format junit --target-org MyOrg
Expected result
Have the code coverage per class anywhere in the result.
Actual result
Only aggregated code coverage :
<testsuite name="force.apex" ... >
...
Additional information
Feel free to attach a screenshot.
å
Apex library Version: 3.0.2
OS and version: MacOs Ventura 13.5 (22G74)