Skip to content

Base coverage check on Non Covered value. #267

@ChrisBrookesWork

Description

@ChrisBrookesWork

Is it possible or would it be possible to allow through configuration the ability to compare non covered lines/branches rather than covered?

Conside the scenario of a code base of 200 lines and 60 branches.
You have tests that cover 100 lines and 30 branches.
You refactor your code and deleted 50% of the code base.
This 50% of the code was the only code that we had tests for.
Your coverage now drops from 50%-0% and/or 30->0/100->0.
In reality no new untested code has been added.

If we were able to compare untested branches before (30) against untested branches after (still 30), we could choose to allow this.

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