RFE: Way to determine coverage % (programmatically)

Issue #204 duplicate
Bj Dierkes created an issue

Before making official releases I always check that I have 100% coverage after running tests. Unfortunately there doesn't appear to be a way to programmatically determine that my tests ran with 100% coverage. Meaning, ultimately I want my tests to fail if it isn't covering 100%. One thought is an exit status. For example, exiting 'coverage run' with a code of 2 (or anything non-zero that is specifically for this purpose) so that when running my test/release/etc scripts I can check the status of the run and fail if necessary.

Comments (2)

  1. Log in to comment