Skip to content

Check coverage with borp? #23

@Palaxx

Description

@Palaxx

Hi,

I am trying to find out whether it is possible to check coverage via borp.
Looking at the code I understand that it is currently not yet possible.

I've tried to imagine a method to enable the check via PR, and I'm guessing that the following things need to be done:

  • New parameter to enable coverage --check-coverage
  • New parameter to define tresholds ( --lines, --functions, etc)
  • Running the c8 checkCoverages command after the reporter run.

If we did not want to expose the new parameters we could perhaps tie the PR to this #17 and have the parameters retrieved from the c8 conf file.

Do you think this is an interesting feature to introduce in borp?
Could the proposed solution be a valid approach?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions