Test coverage is an indeterminate form
richardtallent opened this issue · comments
Richard Tallent commented
There are currently 0 unit tests covering 0 methods, leading to code coverage that is either 0% or infinity. Should the coverage shield be red or green?
Marc Brooks commented
Yes.
Tim Seaward commented
I think the real question is. We're the zero tests written before the code wasn't that will tell us if TDD was used because if it wasn't then this library should be abandoned for no reason other than non compliance with a set of beliefs.
Brian Hartung commented
Differentiate the numerator, differentiate the denominator, then take the limit. Careful how fast you do that though; you could end up in the l'hopital.