summaryrefslogtreecommitdiff
path: root/test/rebar_unlock_SUITE_data
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2017-12-02 17:32:15 -0500
committerFred Hebert <mononcqc@ferd.ca>2017-12-02 17:32:15 -0500
commit805dc0fa2aad53a5ac551033fd0da3b433f6b6e1 (patch)
tree71140a282d674ea7b8977f9974451bfe28dba37f /test/rebar_unlock_SUITE_data
parent66880e7a0653828395565d77798aed09ca142e83 (diff)
Support minimal coverage validation in tests
Adds an option (-m, --min_coverage, or {cover_opts, {min_coverage,X}}) to the 'cover' command, where the value is an integer between 0 and 100. If the total coverage during the analysis is below the value received, the command will fail with output like: ===> Requiring 64% coverage to pass. Only 62% obtained If the rate is correct, the command silently passes as it currently does. This feature allows to enforce code coverage standards in a project if desired.
Diffstat (limited to 'test/rebar_unlock_SUITE_data')
0 files changed, 0 insertions, 0 deletions