[Rspec-devel] commit protocol

Steven R. Baker srbaker at pobox.com
Fri Jul 21 18:58:37 EDT 2006


> 389 tests, 357 assertions, 0 failures, 0 errors
> Coverage: 96.0% (threshold: 96.3%)
> rake aborted!
> Coverage must be at least 96.3% but was 96.0%


The margin for error in RCov is higher than 4%, so 96% threshold is  
probably just a little high.

In one of the projects at my last job, we had 100% of the lines  
covered, but RCov only reported 94%.  This is due to some bugs in  
RCov not counting trailing ends, empty newlines, etc.  It looks like  
the margin for error increases with the number of files.


More information about the Rspec-devel mailing list