Skip to content

Request to support a "--cov-fail-under" option #610

Closed
@pandichef

Description

@pandichef

In pytest, I can add an option called --cov-fail-under that will throw an error to Linux if my test coverage isn't above some threshold. I use this to enforce a high test coverage percentage for CI (via Github Actions).

Can such an option be added to solidity-coverage? If this is currently possible to achieve in some other way, please advise.

I'm using the Hardhat plugin FWIW.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions