cucumber 0.3.10 → 0.3.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +9 -0
- data/lib/cucumber/formatter/console.rb +6 -1
- data/lib/cucumber/version.rb +1 -1
- metadata +1 -1
data/History.txt
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
== 0.3.11 2009-06-05
|
2
|
+
|
3
|
+
This release just fixes a tiny bug in the formatter to fix an incompatibility
|
4
|
+
with the latest RedMine release. It should have been included in 0.3.10, but
|
5
|
+
was forgotten.
|
6
|
+
|
7
|
+
=== Bugfixes
|
8
|
+
* Formatter API was broken in 0.3.9 (Roman Chernyatchik)
|
9
|
+
|
1
10
|
== 0.3.10 2009-06-05
|
2
11
|
|
3
12
|
The Spork Release!
|
@@ -53,6 +53,11 @@ module Cucumber
|
|
53
53
|
end
|
54
54
|
end
|
55
55
|
|
56
|
+
def print_counts
|
57
|
+
STDERR.puts("The #print_counts method is deprecated and will be removed in 0.4. Use #print_stats instead")
|
58
|
+
print_stats(nil)
|
59
|
+
end
|
60
|
+
|
56
61
|
def print_stats(features)
|
57
62
|
@io.print dump_count(step_mother.scenarios.length, "scenario")
|
58
63
|
print_status_counts{|status| step_mother.scenarios(status)}
|
@@ -60,7 +65,7 @@ module Cucumber
|
|
60
65
|
@io.print dump_count(step_mother.steps.length, "step")
|
61
66
|
print_status_counts{|status| step_mother.steps(status)}
|
62
67
|
|
63
|
-
@io.puts(format_duration(features.duration))
|
68
|
+
@io.puts(format_duration(features.duration)) if features
|
64
69
|
|
65
70
|
@io.flush
|
66
71
|
end
|
data/lib/cucumber/version.rb
CHANGED