Skip to content

Option to use relative file paths in report #963

Open
@teake

Description

@teake

Is your feature request related to a problem? Please describe.
The new relative_files config options toggle whether relative paths are stored in the data files, and also how they're reported in XML reports. However, file paths are still absolute in the CLI report (i.e. the one shown with coverage report).

Describe the solution you'd like
A possibility to have the CLI report respect relative_files and show relative paths, either by default or through a toggle.

Describe alternatives you've considered
Using sed to remove the prefix in reported file paths.

Additional context
Related issue: #948.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions