Skip to content

There is a difference on the code coverage result format  #3077

@fedegiust

Description

@fedegiust

Summary

There is an inconsistency for running tests between deployment and running them directly.
When running a deployment there is an option for code coverage formatters which give a number of options, which is great! I like the html format.

image

But when running apex run test the options are limited

image

image

Steps To Reproduce

sf apex run test --test-level RunLocalTests --output-dir temp --synchronous --result-format html --code-coverage

Metadata

Metadata

Assignees

No one assigned

    Labels

    more information requiredIssue requires more information or a response from the customer

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions