Precise coverage percentage value

Issue #631 resolved
Former user created an issue



  • changing code
  • running tests with coverage
  • final result: all fine

But that's (sometimes) not true because:

  • I'm using and it says (as example) that I have a coverage of 94.708%
  • in I can say --fail-under=95 and the coverage doesn't fail because it obviously does rounding to an integer.

It's a bit uncomfortable when you run all things locally before you commit your changes but finally fail because of such an issue. It happens to me several times.

I see following essential improvements you could do:

  • enable to define precise coverage for --fail-under
  • displaying precise coverage

kind regards,

Thomas (mail:

Comments (3)

  1. Log in to comment