Rspec Steps C0 Coverage Information - RCov

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

Name Total Lines Lines of Code Total Coverage Code Coverage
rcov/ruby/1.8/gems/rspec-core-2.5.1/lib/rspec/core/backward_compatibility.rb 48 41
41.67%
41.46%

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     module ConstMissing
4       def const_missing(name)
5         case name
6         when :Rspec, :Spec
7           RSpec.warn_deprecation <<-WARNING
8 *****************************************************************
9 DEPRECATION WARNING: you are using a deprecated constant that will
10 be removed from a future version of RSpec.
11 
12 #{caller(0)[2]}
13 
14 * #{name} is deprecated.
15 * RSpec is the new top-level module in RSpec-2
16 ***************************************************************
17 WARNING
18           RSpec
19         else
20           super(name)
21         end
22       end
23     end
24   end
25 
26   module Runner
27     def self.configure(&block)
28       RSpec.deprecate("Spec::Runner.configure", "RSpec.configure")
29       RSpec.configure(&block)
30     end
31   end
32 
33   module Rake
34     def self.const_missing(name)
35       case name
36       when :SpecTask
37         RSpec.deprecate("Spec::Rake::SpecTask", "RSpec::Core::RakeTask")
38         require 'rspec/core/rake_task'
39         RSpec::Core::RakeTask
40       else
41         super(name)
42       end
43     end
44 
45   end
46 end
47 
48 Object.extend(RSpec::Core::ConstMissing)

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