Name | Total Lines | Lines of Code | Total Coverage | Code Coverage |
---|---|---|---|---|
rcov/ruby/1.8/gems/rspec-core-2.5.1/lib/rspec/core.rb | 65 | 53 | 87.69%
|
84.91%
|
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.
1 require 'rspec/core/extensions' |
2 require 'rspec/core/load_path' |
3 require 'rspec/core/deprecation' |
4 require 'rspec/core/backward_compatibility' |
5 require 'rspec/core/reporter' |
6 |
7 require 'rspec/core/hooks' |
8 require 'rspec/core/subject' |
9 require 'rspec/core/let' |
10 require 'rspec/core/metadata' |
11 require 'rspec/core/pending' |
12 |
13 require 'rspec/core/world' |
14 require 'rspec/core/configuration' |
15 require 'rspec/core/command_line_configuration' |
16 require 'rspec/core/option_parser' |
17 require 'rspec/core/configuration_options' |
18 require 'rspec/core/command_line' |
19 require 'rspec/core/drb_command_line' |
20 require 'rspec/core/runner' |
21 require 'rspec/core/example' |
22 require 'rspec/core/shared_context' |
23 require 'rspec/core/shared_example_group' |
24 require 'rspec/core/example_group' |
25 require 'rspec/core/version' |
26 require 'rspec/core/errors' |
27 |
28 module RSpec |
29 autoload :Matchers, 'rspec/matchers' |
30 |
31 SharedContext = Core::SharedContext |
32 |
33 module Core |
34 def self.install_directory |
35 @install_directory ||= File.expand_path(File.dirname(__FILE__)) |
36 end |
37 end |
38 |
39 def self.wants_to_quit |
40 world.wants_to_quit |
41 end |
42 |
43 def self.wants_to_quit=(maybe) |
44 world.wants_to_quit=(maybe) |
45 end |
46 |
47 def self.world |
48 @world ||= RSpec::Core::World.new |
49 end |
50 |
51 def self.configuration |
52 @configuration ||= RSpec::Core::Configuration.new |
53 end |
54 |
55 def self.configure |
56 yield configuration if block_given? |
57 end |
58 |
59 def self.clear_remaining_example_groups |
60 world.example_groups.clear |
61 end |
62 end |
63 |
64 require 'rspec/core/backward_compatibility' |
65 require 'rspec/monkey' |
Generated on Fri Apr 22 17:22:42 -0700 2011 with rcov 0.9.8