C0 code coverage information
Generated on Mon Aug 13 01:18:55 -0400 2007 with rcov 0.8.0
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 module Spec
2 module Runner
3 module Formatter
4 class SpecdocFormatter < BaseTextFormatter
5 def add_behaviour(name)
6 @output.puts
7 @output.puts name
8 @output.flush
9 end
10
11 def example_failed(example, counter, failure)
12 @output.puts failure.expectation_not_met? ? red("- #{example.description} (FAILED - #{counter})") : magenta("- #{example.description} (ERROR - #{counter})")
13 @output.flush
14 end
15
16 def example_passed(example)
17 @output.puts green("- #{example.description}")
18 @output.flush
19 end
20
21 def example_pending(behaviour_name, example_name, message)
22 super
23 @output.puts yellow("- #{example_name} (PENDING: #{message})")
24 @output.flush
25 end
26 end
27 end
28 end
29 end
Generated using the rcov code coverage analysis tool for Ruby version 0.8.0.