1. memedough
  2. pytest-cov
  3. Issues
Issue #14 new

How to configure minimum test coverage?

Rick van Hattem
created an issue

Within Nose I had the cover-min-percentage setting (link: http://nose.readthedocs.org/en/latest/plugins/cover.html#cmdoption--cover-min-percentage) to configure the minimum test coverage for the tests to succeed. But I seem to be unable to find this setting for the pytest-cov project.

Adding a fail_under=100 setting to my .coveragerc seems to have no effect either.