Geminstaller C0 Coverage Information - RCov

/Users/woolley/.rvm/gems/ruby-1.8.7-p174@geminstaller/gems/rspec-1.3.0/lib/spec/runner/formatter/specdoc_formatter.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/formatter/specdoc_formatter.rb 33 29
66.67%
62.07%

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/formatter/base_text_formatter'
2 
3 module Spec
4   module Runner
5     module Formatter
6       class SpecdocFormatter < BaseTextFormatter
7         def example_group_started(example_group)
8           super
9           output.puts
10           output.puts example_group.description
11           output.flush
12         end
13       
14         def example_failed(example, counter, failure)
15           output.puts(red("- #{example.description} (FAILED - #{counter})"))
16           output.flush
17         end
18         
19         def example_passed(example)
20           message = "- #{example.description}"
21           output.puts green(message)
22           output.flush
23         end
24         
25         def example_pending(example, message, deprecated_pending_location=nil)
26           super
27           output.puts yellow("- #{example.description} (PENDING: #{message})")
28           output.flush
29         end
30       end
31     end
32   end
33 end

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