Rspec Steps C0 Coverage Information - RCov

rcov/ruby/1.8/gems/rspec-core-2.5.1/lib/rspec/core/errors.rb

Name Total Lines Lines of Code Total Coverage Code Coverage
rcov/ruby/1.8/gems/rspec-core-2.5.1/lib/rspec/core/errors.rb 14 9
100.00%
100.00%

Key

Code reported as executed by Ruby looks like this...and this: this line is also marked as covered.Lines considered as run by rcov, but not reported by Ruby, look like this,and this: these lines were inferred by rcov (using simple heuristics).Finally, here's a line marked as not executed.

Coverage Details

1 module RSpec
2   module Core
3     # If Test::Unit is loaed, we'll use its error as baseclass, so that Test::Unit
4     # will report unmet RSpec expectations as failures rather than errors.
5     superclass = ['Test::Unit::AssertionFailedError', '::StandardError'].map do |c|
6       eval(c) rescue nil
7     end.compact.first
8 
9     class PendingExampleFixedError < superclass
10     end
11   end
12 end
13 
14 

Generated on Fri Apr 22 17:22:42 -0700 2011 with rcov 0.9.8