Skip to content

No detailed code coverage when using junit output format #348

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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