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 require File.dirname(__FILE__) + "/../autotest_helper"
2
3 module DiscoveryHelper
4 def load_discovery
5 require File.dirname(__FILE__) + "/../../lib/autotest/discover"
6 end
7 end
8
9
10 class Autotest
11 describe Rspec, "discovery" do
12 include DiscoveryHelper
13
14 it "should add the rspec autotest plugin" do
15 Autotest.should_receive(:add_discovery).and_yield
16 load_discovery
17 end
18 end
19 end
Generated using the rcov code coverage analysis tool for Ruby version 0.8.0.