Geminstaller C0 Coverage Information - RCov

/Users/woolley/.rvm/gems/ruby-1.8.7-p174@geminstaller/gems/rspec-1.3.0/lib/spec/runner.rb

Name Total Lines Lines of Code Total Coverage Code Coverage
/Users/woolley/.rvm/gems/ruby-1.8.7-p174@geminstaller/gems/rspec-1.3.0/lib/spec/runner.rb 66 45
83.33%
77.78%

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 require 'spec/runner/configuration'
2 require 'spec/runner/options'
3 require 'spec/runner/option_parser'
4 require 'spec/runner/example_group_runner'
5 require 'spec/runner/command_line'
6 require 'spec/runner/drb_command_line'
7 require 'spec/runner/backtrace_tweaker'
8 require 'spec/runner/reporter'
9 require 'spec/runner/line_number_query'
10 require 'spec/runner/class_and_arguments_parser'
11 require 'spec/runner/extensions/kernel'
12 
13 module Spec
14   module Runner
15     
16     class ExampleGroupCreationListener
17       def register_example_group(klass)
18         Spec::Runner.options.add_example_group klass
19       end
20     end
21     
22     Spec::Example::ExampleGroupFactory.example_group_creation_listeners << ExampleGroupCreationListener.new
23     
24     class << self
25       def configuration # :nodoc:
26         @configuration ||= Spec::Runner::Configuration.new
27       end
28 
29       # Use this to configure various configurable aspects of
30       # RSpec:
31       #
32       #   Spec::Runner.configure do |configuration|
33       #     # Configure RSpec here
34       #   end
35       #
36       # The yielded <tt>configuration</tt> object is a
37       # Spec::Runner::Configuration instance. See its RDoc
38       # for details about what you can do with it.
39       #
40       def configure
41         yield configuration
42       end
43       
44       def autorun # :nodoc:
45         at_exit {exit run unless $!}
46       end
47 
48       def options # :nodoc:
49         @options ||= begin
50           parser = ::Spec::Runner::OptionParser.new($stderr, $stdout)
51           parser.order!(ARGV)
52           parser.options
53         end
54       end
55     
56       def use options
57         @options = options
58       end
59 
60       def run
61         options.examples_run? || options.run_examples
62       end
63 
64     end
65   end
66 end

Generated on Mon May 10 23:40:27 -0700 2010 with rcov 0.9.8