Skip to content

Add option to include TOTAL line even if there's only one file #1086

@lordjabez

Description

@lordjabez

Is your feature request related to a problem? Please describe.
Currently the total line is skipped when there's only one file whose coverage was computed. This is annoying when using a regex to report on coverage from a CI/CD build log (e.g. in Gitlab) because one can't use the recommended regex.

Describe the solution you'd like
Either always print the TOTAL line, or add an option to force it even when there's only one file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions