Skip to content

add lcov as output format #535

Closed
@alexises

Description

@alexises

I'm currently try to setup automatic code coverage into vscode. the only available plugin require that coverage output is set as lcov format.

This format support had been integrated recently into coverage lib : https://coverage.readthedocs.io/en/6.3.2/cmd.html#lcov-reporting-coverage-lcov and I need it into pytest-cov for a good integration

This feature seen to be quite simple to implement :

  • from def validate_report(arg): we should add the new format into file_choices
  • from def summary(self, stream): on engine, we should add a block for lcov format like the one for xml on line 193-197

I'm not sure if it's fullfill all the needed work, but it's a good start

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