Name | Total Lines | Lines of Code | Total Coverage | Code Coverage |
---|---|---|---|---|
features/step_definitions/steps.rb | 9 | 7 | 100.00%
|
100.00%
|
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 Given /^the price of a bottle of shampoo is \$(\d+)\.(\d+)$/ do |arg1, arg2| |
2 end |
3 |
4 When /^I scan (\d+) bottles of shampoo$/ do |arg1| |
5 end |
6 |
7 Then /^the price should be \$(\d+)$/ do |arg1| |
8 (1.99).should == 0 |
9 end |
Generated on 2011-01-24 09:03:53 +0000 with rcov 0.9.8