Skip to content

No detailed code coverage when using junit output formatΒ #348

@gilgourevitch

Description

@gilgourevitch

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:

  1. 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions