cucumber 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +86 -3
- data/Manifest.txt +93 -44
- data/Rakefile +5 -1
- data/bin/cucumber +1 -0
- data/cucumber.yml +1 -1
- data/examples/calculator_ruby_features/features/{steps → step_definitons}/calculator_steps.rb +0 -0
- data/examples/cs/features/{steps → step_definitons}/hello_steps.rb +0 -0
- data/examples/cs/features/{steps → step_definitons}/tree_steps.rb +0 -0
- data/examples/i18n/README.textile +18 -0
- data/examples/i18n/Rakefile +16 -0
- data/examples/i18n/ar/Rakefile +6 -0
- data/examples/i18n/ar/features/addition.feature +17 -0
- data/examples/i18n/ar/features/step_definitons/calculator_steps.rb +31 -0
- data/examples/i18n/ar/lib/calculator.rb +10 -0
- data/examples/i18n/da/Rakefile +6 -0
- data/examples/{danish_calculator/features/steps → i18n/da/features/step_definitons}/kalkulator_steps.rb +0 -0
- data/examples/{danish_calculator → i18n/da}/features/summering.feature +1 -1
- data/examples/{danish_calculator → i18n/da}/lib/kalkulator.rb +0 -0
- data/examples/{swedish_calculator → i18n/en}/Rakefile +1 -1
- data/examples/{calculator → i18n/en}/features/addition.feature +0 -0
- data/examples/{calculator → i18n/en}/features/division.feature +0 -0
- data/examples/{calculator/features/steps → i18n/en/features/step_definitons}/calculator_steps.rb +0 -0
- data/examples/{calculator → i18n/en}/lib/calculator.rb +0 -2
- data/examples/i18n/es/Rakefile +6 -0
- data/examples/{spanish_calculator → i18n/es}/features/adicion.feature +1 -1
- data/examples/{spanish_calculator/features/steps → i18n/es/features/step_definitons}/calculador_steps.rb +0 -0
- data/examples/{spanish_calculator/lib/Calculador.rb → i18n/es/lib/calculador.rb} +0 -0
- data/examples/i18n/et/Rakefile +6 -0
- data/examples/i18n/et/features/liitmine.feature +17 -0
- data/examples/{estonian_calculator/features → i18n/et/features/step_definitions}/kalkulaator_steps.rb +2 -11
- data/examples/i18n/et/lib/kalkulaator.rb +10 -0
- data/examples/i18n/fr/Rakefile +6 -0
- data/examples/{calculatrice_francaise_avec_soit_scenario → i18n/fr}/features/addition.feature +0 -0
- data/examples/{calculatrice_francaise_avec_soit_scenario/features → i18n/fr/features/step_definitions}/calculatrice_steps.rb +2 -11
- data/examples/i18n/fr/lib/calculatrice.rb +10 -0
- data/examples/i18n/id/Rakefile +6 -0
- data/examples/i18n/id/features/addition.feature +17 -0
- data/examples/i18n/id/features/division.feature +10 -0
- data/examples/i18n/id/features/step_definitons/calculator_steps.rb +31 -0
- data/examples/i18n/id/lib/calculator.rb +14 -0
- data/examples/i18n/it/Rakefile +6 -0
- data/examples/i18n/it/features/somma.feature +10 -0
- data/examples/i18n/it/features/step_definitons/calcolatrice_steps.rb +22 -0
- data/examples/i18n/it/lib/calcolatrice.rb +11 -0
- data/examples/{calculator → i18n/ja}/README.txt +0 -0
- data/examples/i18n/ja/Rakefile +6 -0
- data/examples/i18n/ja/features/addition.feature +17 -0
- data/examples/i18n/ja/features/division.feature +10 -0
- data/examples/i18n/ja/features/step_definitons/calculator_steps.rb +30 -0
- data/examples/i18n/ja/lib/calculator.rb +14 -0
- data/examples/i18n/no/Rakefile +6 -0
- data/examples/{norwegian_calculator/features/steps → i18n/no/features/step_definitons}/kalkulator_steps.rb +0 -0
- data/examples/{norwegian_calculator → i18n/no}/features/summering.feature +0 -0
- data/examples/{norwegian_calculator → i18n/no}/lib/kalkulator.rb +0 -0
- data/examples/i18n/pt/Rakefile +6 -0
- data/examples/{portuguese_calculator → i18n/pt}/features/adicao.feature +0 -0
- data/examples/{portuguese_calculator/features → i18n/pt/features/step_definitions}/calculadora_steps.rb +2 -11
- data/examples/i18n/pt/lib/calculadora.rb +10 -0
- data/examples/i18n/ro/Rakefile +6 -0
- data/examples/i18n/ro/features/step_definitons/calculator_steps.rb +22 -0
- data/examples/i18n/ro/features/suma.feature +10 -0
- data/examples/i18n/ro/lib/calculator.rb +11 -0
- data/examples/i18n/se/Rakefile +6 -0
- data/examples/{swedish_calculator/features/steps → i18n/se/features/step_definitons}/kalkulator_steps.rb +0 -0
- data/examples/{swedish_calculator → i18n/se}/features/summering.feature +0 -0
- data/examples/{swedish_calculator → i18n/se}/lib/kalkulator.rb +0 -0
- data/examples/i18n/zh-CN/Rakefile +6 -0
- data/examples/{chinese_simplified_calculator → i18n/zh-CN}/features/addition.feature +0 -0
- data/examples/{chinese_simplified_calculator/features/steps → i18n/zh-CN/features/step_definitons}/calculator_steps.rb +0 -0
- data/examples/{chinese_simplified_calculator → i18n/zh-CN}/lib/calculator.rb +0 -0
- data/examples/java/features/{steps → step_definitons}/hello_steps.rb +0 -0
- data/examples/java/features/{steps → step_definitons}/tree_steps.rb +0 -0
- data/examples/selenium/features/{steps → step_definitons}/stories_steps.rb +0 -0
- data/examples/tickets/features/{steps → step_definitons}/tickets_steps.rb +0 -0
- data/examples/watir/features/search.feature +2 -2
- data/examples/watir/features/{steps → step_definitons}/stories_steps.rb +0 -0
- data/gem_tasks/treetop.rake +1 -9
- data/lib/autotest/cucumber.rb +6 -0
- data/lib/autotest/cucumber_mixin.rb +109 -0
- data/lib/autotest/cucumber_rails.rb +6 -0
- data/lib/autotest/cucumber_rails_rspec.rb +6 -0
- data/lib/autotest/cucumber_rspec.rb +6 -0
- data/lib/autotest/discover.rb +9 -0
- data/lib/cucumber.rb +4 -0
- data/lib/cucumber/broadcaster.rb +20 -0
- data/lib/cucumber/cli.rb +139 -48
- data/lib/cucumber/core_ext/proc.rb +2 -3
- data/lib/cucumber/executor.rb +59 -32
- data/lib/cucumber/formatters.rb +1 -1
- data/lib/cucumber/formatters/ansicolor.rb +3 -4
- data/lib/cucumber/formatters/autotest_formatter.rb +23 -0
- data/lib/cucumber/formatters/pretty_formatter.rb +99 -42
- data/lib/cucumber/formatters/progress_formatter.rb +21 -5
- data/lib/cucumber/languages.yml +125 -10
- data/lib/cucumber/rails/world.rb +1 -1
- data/lib/cucumber/rake/task.rb +52 -26
- data/lib/cucumber/step_mother.rb +7 -1
- data/lib/cucumber/tree/feature.rb +8 -6
- data/lib/cucumber/tree/scenario.rb +34 -15
- data/lib/cucumber/tree/step.rb +3 -1
- data/lib/cucumber/treetop_parser/feature.treetop.erb +15 -10
- data/lib/cucumber/treetop_parser/feature_ar.rb +1591 -0
- data/lib/cucumber/treetop_parser/feature_cy.rb +1591 -0
- data/lib/cucumber/treetop_parser/feature_da.rb +238 -240
- data/lib/cucumber/treetop_parser/feature_de.rb +238 -240
- data/lib/cucumber/treetop_parser/feature_en-tx.rb +1591 -0
- data/lib/cucumber/treetop_parser/feature_en.rb +238 -240
- data/lib/cucumber/treetop_parser/feature_es.rb +238 -240
- data/lib/cucumber/treetop_parser/feature_et.rb +238 -240
- data/lib/cucumber/treetop_parser/feature_fr.rb +238 -240
- data/lib/cucumber/treetop_parser/feature_id.rb +1591 -0
- data/lib/cucumber/treetop_parser/feature_it.rb +1591 -0
- data/lib/cucumber/treetop_parser/feature_ja.rb +1591 -0
- data/lib/cucumber/treetop_parser/feature_nl.rb +238 -240
- data/lib/cucumber/treetop_parser/feature_no.rb +238 -240
- data/lib/cucumber/treetop_parser/feature_pl.rb +1591 -0
- data/lib/cucumber/treetop_parser/feature_pt.rb +238 -240
- data/lib/cucumber/treetop_parser/feature_ro.rb +1591 -0
- data/lib/cucumber/treetop_parser/feature_ro2.rb +1591 -0
- data/lib/cucumber/treetop_parser/feature_ru.rb +238 -240
- data/lib/cucumber/treetop_parser/feature_se.rb +238 -240
- data/lib/cucumber/treetop_parser/feature_zh-CN.rb +238 -240
- data/lib/cucumber/version.rb +1 -1
- data/rails_generators/cucumber/USAGE +11 -0
- data/rails_generators/cucumber/cucumber_generator.rb +9 -6
- data/rails_generators/cucumber/templates/cucumber +6 -1
- data/rails_generators/cucumber/templates/{common_webrat.rb → webrat_steps.rb} +4 -0
- data/rails_generators/feature/USAGE +12 -0
- data/rails_generators/feature/feature_generator.rb +3 -4
- data/spec/cucumber/broadcaster_spec.rb +27 -0
- data/spec/cucumber/cli_spec.rb +211 -23
- data/spec/cucumber/executor_spec.rb +104 -14
- data/spec/cucumber/formatters/ansicolor_spec.rb +9 -1
- data/spec/cucumber/formatters/autotest_formatter_spec.rb +26 -0
- data/spec/cucumber/formatters/pretty_formatter_spec.rb +119 -26
- data/spec/cucumber/formatters/profile_formatter_spec.rb +1 -2
- data/spec/cucumber/formatters/progress_formatter_spec.rb +22 -1
- data/spec/cucumber/sell_cucumbers.feature +10 -0
- data/spec/cucumber/step_mother_spec.rb +21 -0
- data/spec/cucumber/tree/row_scenario_spec.rb +25 -0
- data/spec/cucumber/tree/scenario_spec.rb +47 -8
- data/spec/cucumber/tree/step_spec.rb +19 -0
- data/spec/cucumber/treetop_parser/feature_parser_spec.rb +2 -0
- data/spec/cucumber/treetop_parser/multiline_steps.feature +7 -3
- data/spec/spec_helper.rb +2 -0
- metadata +97 -48
- data/examples/calculator/Rakefile +0 -5
- data/examples/calculatrice_francaise_avec_soit_scenario/Rakefile +0 -6
- data/examples/chinese_simplified_calculator/Rakefile +0 -6
- data/examples/danish_calculator/Rakefile +0 -6
- data/examples/estonian_calculator/Rakefile +0 -6
- data/examples/estonian_calculator/features/liitmine.feature +0 -16
- data/examples/norwegian_calculator/Rakefile +0 -6
- data/examples/portuguese_calculator/Rakefile +0 -6
- data/examples/spanish_calculator/Rakefile +0 -6
@@ -24,6 +24,25 @@ module Cucumber
|
|
24
24
|
# Given 9****
|
25
25
|
step.padding_length.should == 4
|
26
26
|
end
|
27
|
+
|
28
|
+
it "should default step arity to 0" do
|
29
|
+
scenario = Scenario.new(nil, '9', 1)
|
30
|
+
step = scenario.create_step('Given', '9', 80)
|
31
|
+
|
32
|
+
step.arity.should == 0
|
33
|
+
end
|
34
|
+
|
35
|
+
describe "utf-8 strings" do
|
36
|
+
|
37
|
+
it "should have padding_length 6 when 4 shorter" do
|
38
|
+
scenario = Scenario.new(nil, nil, 1)
|
39
|
+
long = scenario.create_step('Given', '999999999', 2)
|
40
|
+
step = scenario.create_step('Given', "こんばんは", 3)
|
41
|
+
|
42
|
+
step.padding_length.should == 6
|
43
|
+
end
|
44
|
+
|
45
|
+
end
|
27
46
|
|
28
47
|
end
|
29
48
|
end
|
@@ -90,6 +90,8 @@ module Cucumber
|
|
90
90
|
p = FeatureParser.new
|
91
91
|
f = p.parse_feature(File.dirname(__FILE__) + '/multiline_steps.feature')
|
92
92
|
f.should have(1).scenarios
|
93
|
+
step = f.scenarios[0].steps[3]
|
94
|
+
step.extra_args[0].should == "A string\n that \"indents\"\nand spans\nseveral lines\n"
|
93
95
|
end
|
94
96
|
end
|
95
97
|
end
|
@@ -8,6 +8,10 @@ Feature: Multiline steps should work
|
|
8
8
|
Then I should be working in London
|
9
9
|
And I should be born in Oslo
|
10
10
|
And I should be able to expect
|
11
|
-
"
|
12
|
-
|
13
|
-
|
11
|
+
"""
|
12
|
+
A string
|
13
|
+
that "indents"
|
14
|
+
and spans
|
15
|
+
several lines
|
16
|
+
|
17
|
+
"""
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- "Aslak Helles\xC3\xB8y"
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-11-12 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -60,7 +60,7 @@ dependencies:
|
|
60
60
|
requirements:
|
61
61
|
- - ">="
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: 1.8.
|
63
|
+
version: 1.8.2
|
64
64
|
version:
|
65
65
|
description: Executable Feature scenarios
|
66
66
|
email:
|
@@ -75,7 +75,7 @@ extra_rdoc_files:
|
|
75
75
|
- Manifest.txt
|
76
76
|
- README.txt
|
77
77
|
- TODO.txt
|
78
|
-
- examples/
|
78
|
+
- examples/i18n/ja/README.txt
|
79
79
|
files:
|
80
80
|
- History.txt
|
81
81
|
- License.txt
|
@@ -87,70 +87,97 @@ files:
|
|
87
87
|
- config/hoe.rb
|
88
88
|
- config/requirements.rb
|
89
89
|
- cucumber.yml
|
90
|
-
- examples/calculator/README.txt
|
91
|
-
- examples/calculator/Rakefile
|
92
|
-
- examples/calculator/features/addition.feature
|
93
|
-
- examples/calculator/features/division.feature
|
94
|
-
- examples/calculator/features/steps/calculator_steps.rb
|
95
|
-
- examples/calculator/lib/calculator.rb
|
96
90
|
- examples/calculator_ruby_features/Rakefile
|
97
91
|
- examples/calculator_ruby_features/features/addition.rb
|
98
|
-
- examples/calculator_ruby_features/features/
|
99
|
-
- examples/calculatrice_francaise_avec_soit_scenario/Rakefile
|
100
|
-
- examples/calculatrice_francaise_avec_soit_scenario/features/addition.feature
|
101
|
-
- examples/calculatrice_francaise_avec_soit_scenario/features/calculatrice_steps.rb
|
102
|
-
- examples/chinese_simplified_calculator/Rakefile
|
103
|
-
- examples/chinese_simplified_calculator/features/addition.feature
|
104
|
-
- examples/chinese_simplified_calculator/features/steps/calculator_steps.rb
|
105
|
-
- examples/chinese_simplified_calculator/lib/calculator.rb
|
92
|
+
- examples/calculator_ruby_features/features/step_definitons/calculator_steps.rb
|
106
93
|
- examples/cs/README.textile
|
107
94
|
- examples/cs/Rakefile
|
108
95
|
- examples/cs/features/hello.feature
|
109
|
-
- examples/cs/features/
|
110
|
-
- examples/cs/features/
|
96
|
+
- examples/cs/features/step_definitons/hello_steps.rb
|
97
|
+
- examples/cs/features/step_definitons/tree_steps.rb
|
111
98
|
- examples/cs/features/tree.feature
|
112
99
|
- examples/cs/src/Hello.cs
|
113
|
-
- examples/danish_calculator/Rakefile
|
114
|
-
- examples/danish_calculator/features/steps/kalkulator_steps.rb
|
115
|
-
- examples/danish_calculator/features/summering.feature
|
116
|
-
- examples/danish_calculator/lib/kalkulator.rb
|
117
100
|
- examples/dos_line_endings/Rakefile
|
118
101
|
- examples/dos_line_endings/features/dos_line_endings.feature
|
119
|
-
- examples/
|
120
|
-
- examples/
|
121
|
-
- examples/
|
102
|
+
- examples/i18n/README.textile
|
103
|
+
- examples/i18n/Rakefile
|
104
|
+
- examples/i18n/ar/Rakefile
|
105
|
+
- examples/i18n/ar/features/addition.feature
|
106
|
+
- examples/i18n/ar/features/step_definitons/calculator_steps.rb
|
107
|
+
- examples/i18n/ar/lib/calculator.rb
|
108
|
+
- examples/i18n/da/Rakefile
|
109
|
+
- examples/i18n/da/features/step_definitons/kalkulator_steps.rb
|
110
|
+
- examples/i18n/da/features/summering.feature
|
111
|
+
- examples/i18n/da/lib/kalkulator.rb
|
112
|
+
- examples/i18n/en/Rakefile
|
113
|
+
- examples/i18n/en/features/addition.feature
|
114
|
+
- examples/i18n/en/features/division.feature
|
115
|
+
- examples/i18n/en/features/step_definitons/calculator_steps.rb
|
116
|
+
- examples/i18n/en/lib/calculator.rb
|
117
|
+
- examples/i18n/es/Rakefile
|
118
|
+
- examples/i18n/es/features/adicion.feature
|
119
|
+
- examples/i18n/es/features/step_definitons/calculador_steps.rb
|
120
|
+
- examples/i18n/es/lib/calculador.rb
|
121
|
+
- examples/i18n/et/Rakefile
|
122
|
+
- examples/i18n/et/features/liitmine.feature
|
123
|
+
- examples/i18n/et/features/step_definitions/kalkulaator_steps.rb
|
124
|
+
- examples/i18n/et/lib/kalkulaator.rb
|
125
|
+
- examples/i18n/fr/Rakefile
|
126
|
+
- examples/i18n/fr/features/addition.feature
|
127
|
+
- examples/i18n/fr/features/step_definitions/calculatrice_steps.rb
|
128
|
+
- examples/i18n/fr/lib/calculatrice.rb
|
129
|
+
- examples/i18n/id/Rakefile
|
130
|
+
- examples/i18n/id/features/addition.feature
|
131
|
+
- examples/i18n/id/features/division.feature
|
132
|
+
- examples/i18n/id/features/step_definitons/calculator_steps.rb
|
133
|
+
- examples/i18n/id/lib/calculator.rb
|
134
|
+
- examples/i18n/it/Rakefile
|
135
|
+
- examples/i18n/it/features/somma.feature
|
136
|
+
- examples/i18n/it/features/step_definitons/calcolatrice_steps.rb
|
137
|
+
- examples/i18n/it/lib/calcolatrice.rb
|
138
|
+
- examples/i18n/ja/README.txt
|
139
|
+
- examples/i18n/ja/Rakefile
|
140
|
+
- examples/i18n/ja/features/addition.feature
|
141
|
+
- examples/i18n/ja/features/division.feature
|
142
|
+
- examples/i18n/ja/features/step_definitons/calculator_steps.rb
|
143
|
+
- examples/i18n/ja/lib/calculator.rb
|
144
|
+
- examples/i18n/no/Rakefile
|
145
|
+
- examples/i18n/no/features/step_definitons/kalkulator_steps.rb
|
146
|
+
- examples/i18n/no/features/summering.feature
|
147
|
+
- examples/i18n/no/lib/kalkulator.rb
|
148
|
+
- examples/i18n/pt/Rakefile
|
149
|
+
- examples/i18n/pt/features/adicao.feature
|
150
|
+
- examples/i18n/pt/features/step_definitions/calculadora_steps.rb
|
151
|
+
- examples/i18n/pt/lib/calculadora.rb
|
152
|
+
- examples/i18n/ro/Rakefile
|
153
|
+
- examples/i18n/ro/features/step_definitons/calculator_steps.rb
|
154
|
+
- examples/i18n/ro/features/suma.feature
|
155
|
+
- examples/i18n/ro/lib/calculator.rb
|
156
|
+
- examples/i18n/se/Rakefile
|
157
|
+
- examples/i18n/se/features/step_definitons/kalkulator_steps.rb
|
158
|
+
- examples/i18n/se/features/summering.feature
|
159
|
+
- examples/i18n/se/lib/kalkulator.rb
|
160
|
+
- examples/i18n/zh-CN/Rakefile
|
161
|
+
- examples/i18n/zh-CN/features/addition.feature
|
162
|
+
- examples/i18n/zh-CN/features/step_definitons/calculator_steps.rb
|
163
|
+
- examples/i18n/zh-CN/lib/calculator.rb
|
122
164
|
- examples/java/README.textile
|
123
165
|
- examples/java/Rakefile
|
124
166
|
- examples/java/features/hello.feature
|
125
|
-
- examples/java/features/
|
126
|
-
- examples/java/features/
|
167
|
+
- examples/java/features/step_definitons/hello_steps.rb
|
168
|
+
- examples/java/features/step_definitons/tree_steps.rb
|
127
169
|
- examples/java/features/tree.feature
|
128
170
|
- examples/java/src/cucumber/demo/Hello.java
|
129
|
-
- examples/norwegian_calculator/Rakefile
|
130
|
-
- examples/norwegian_calculator/features/steps/kalkulator_steps.rb
|
131
|
-
- examples/norwegian_calculator/features/summering.feature
|
132
|
-
- examples/norwegian_calculator/lib/kalkulator.rb
|
133
|
-
- examples/portuguese_calculator/Rakefile
|
134
|
-
- examples/portuguese_calculator/features/adicao.feature
|
135
|
-
- examples/portuguese_calculator/features/calculadora_steps.rb
|
136
171
|
- examples/selenium/Rakefile
|
137
172
|
- examples/selenium/features/search.feature
|
138
|
-
- examples/selenium/features/
|
139
|
-
- examples/spanish_calculator/Rakefile
|
140
|
-
- examples/spanish_calculator/features/adicion.feature
|
141
|
-
- examples/spanish_calculator/features/steps/calculador_steps.rb
|
142
|
-
- examples/spanish_calculator/lib/Calculador.rb
|
143
|
-
- examples/swedish_calculator/Rakefile
|
144
|
-
- examples/swedish_calculator/features/steps/kalkulator_steps.rb
|
145
|
-
- examples/swedish_calculator/features/summering.feature
|
146
|
-
- examples/swedish_calculator/lib/kalkulator.rb
|
173
|
+
- examples/selenium/features/step_definitons/stories_steps.rb
|
147
174
|
- examples/tickets/Rakefile
|
148
175
|
- examples/tickets/cucumber.yml
|
149
|
-
- examples/tickets/features/
|
176
|
+
- examples/tickets/features/step_definitons/tickets_steps.rb
|
150
177
|
- examples/tickets/features/tickets.feature
|
151
178
|
- examples/watir/Rakefile
|
152
179
|
- examples/watir/features/search.feature
|
153
|
-
- examples/watir/features/
|
180
|
+
- examples/watir/features/step_definitons/stories_steps.rb
|
154
181
|
- features/see_features.feature
|
155
182
|
- features/steps/features_steps.rb
|
156
183
|
- gem_tasks/deployment.rake
|
@@ -161,13 +188,21 @@ files:
|
|
161
188
|
- gem_tasks/gemspec.rake
|
162
189
|
- gem_tasks/rspec.rake
|
163
190
|
- gem_tasks/treetop.rake
|
191
|
+
- lib/autotest/cucumber.rb
|
192
|
+
- lib/autotest/cucumber_mixin.rb
|
193
|
+
- lib/autotest/cucumber_rails.rb
|
194
|
+
- lib/autotest/cucumber_rails_rspec.rb
|
195
|
+
- lib/autotest/cucumber_rspec.rb
|
196
|
+
- lib/autotest/discover.rb
|
164
197
|
- lib/cucumber.rb
|
198
|
+
- lib/cucumber/broadcaster.rb
|
165
199
|
- lib/cucumber/cli.rb
|
166
200
|
- lib/cucumber/core_ext/proc.rb
|
167
201
|
- lib/cucumber/core_ext/string.rb
|
168
202
|
- lib/cucumber/executor.rb
|
169
203
|
- lib/cucumber/formatters.rb
|
170
204
|
- lib/cucumber/formatters/ansicolor.rb
|
205
|
+
- lib/cucumber/formatters/autotest_formatter.rb
|
171
206
|
- lib/cucumber/formatters/cucumber.css
|
172
207
|
- lib/cucumber/formatters/cucumber.js
|
173
208
|
- lib/cucumber/formatters/html_formatter.rb
|
@@ -192,25 +227,36 @@ files:
|
|
192
227
|
- lib/cucumber/tree/table.rb
|
193
228
|
- lib/cucumber/tree/top_down_visitor.rb
|
194
229
|
- lib/cucumber/treetop_parser/feature.treetop.erb
|
230
|
+
- lib/cucumber/treetop_parser/feature_ar.rb
|
231
|
+
- lib/cucumber/treetop_parser/feature_cy.rb
|
195
232
|
- lib/cucumber/treetop_parser/feature_da.rb
|
196
233
|
- lib/cucumber/treetop_parser/feature_de.rb
|
234
|
+
- lib/cucumber/treetop_parser/feature_en-tx.rb
|
197
235
|
- lib/cucumber/treetop_parser/feature_en.rb
|
198
236
|
- lib/cucumber/treetop_parser/feature_es.rb
|
199
237
|
- lib/cucumber/treetop_parser/feature_et.rb
|
200
238
|
- lib/cucumber/treetop_parser/feature_fr.rb
|
239
|
+
- lib/cucumber/treetop_parser/feature_id.rb
|
240
|
+
- lib/cucumber/treetop_parser/feature_it.rb
|
241
|
+
- lib/cucumber/treetop_parser/feature_ja.rb
|
201
242
|
- lib/cucumber/treetop_parser/feature_nl.rb
|
202
243
|
- lib/cucumber/treetop_parser/feature_no.rb
|
203
244
|
- lib/cucumber/treetop_parser/feature_parser.rb
|
245
|
+
- lib/cucumber/treetop_parser/feature_pl.rb
|
204
246
|
- lib/cucumber/treetop_parser/feature_pt.rb
|
247
|
+
- lib/cucumber/treetop_parser/feature_ro.rb
|
248
|
+
- lib/cucumber/treetop_parser/feature_ro2.rb
|
205
249
|
- lib/cucumber/treetop_parser/feature_ru.rb
|
206
250
|
- lib/cucumber/treetop_parser/feature_se.rb
|
207
251
|
- lib/cucumber/treetop_parser/feature_zh-CN.rb
|
208
252
|
- lib/cucumber/version.rb
|
253
|
+
- rails_generators/cucumber/USAGE
|
209
254
|
- rails_generators/cucumber/cucumber_generator.rb
|
210
|
-
- rails_generators/cucumber/templates/common_webrat.rb
|
211
255
|
- rails_generators/cucumber/templates/cucumber
|
212
256
|
- rails_generators/cucumber/templates/cucumber.rake
|
213
257
|
- rails_generators/cucumber/templates/env.rb
|
258
|
+
- rails_generators/cucumber/templates/webrat_steps.rb
|
259
|
+
- rails_generators/feature/USAGE
|
214
260
|
- rails_generators/feature/feature_generator.rb
|
215
261
|
- rails_generators/feature/templates/feature.erb
|
216
262
|
- rails_generators/feature/templates/steps.erb
|
@@ -223,11 +269,13 @@ files:
|
|
223
269
|
- script/txt2html
|
224
270
|
- script/txt2html.cmd
|
225
271
|
- setup.rb
|
272
|
+
- spec/cucumber/broadcaster_spec.rb
|
226
273
|
- spec/cucumber/cli_spec.rb
|
227
274
|
- spec/cucumber/core_ext/proc_spec.rb
|
228
275
|
- spec/cucumber/core_ext/string_spec.rb
|
229
276
|
- spec/cucumber/executor_spec.rb
|
230
277
|
- spec/cucumber/formatters/ansicolor_spec.rb
|
278
|
+
- spec/cucumber/formatters/autotest_formatter_spec.rb
|
231
279
|
- spec/cucumber/formatters/features.html
|
232
280
|
- spec/cucumber/formatters/html_formatter_spec.rb
|
233
281
|
- spec/cucumber/formatters/pretty_formatter_spec.rb
|
@@ -240,6 +288,7 @@ files:
|
|
240
288
|
- spec/cucumber/sell_cucumbers.feature
|
241
289
|
- spec/cucumber/step_mother_spec.rb
|
242
290
|
- spec/cucumber/tree/feature_spec.rb
|
291
|
+
- spec/cucumber/tree/row_scenario_spec.rb
|
243
292
|
- spec/cucumber/tree/scenario_spec.rb
|
244
293
|
- spec/cucumber/tree/step_spec.rb
|
245
294
|
- spec/cucumber/treetop_parser/empty_feature.feature
|
@@ -1,16 +0,0 @@
|
|
1
|
-
Omadus: Liitmine
|
2
|
-
Selleks et vältida rumalaid vigu
|
3
|
-
Olles matemaatika-puupea
|
4
|
-
Tahan et mulle öeldaks kahe numbri summa
|
5
|
-
|
6
|
-
Stsenaarium: Liida kaks numbrit
|
7
|
-
Eeldades et olen sisestanud kalkulaatorisse numbri 50
|
8
|
-
Ja olen sisestanud kalkulaatorisse numbri 70
|
9
|
-
Kui ma vajutan liida
|
10
|
-
Siis vastuseks peab ekraanil kuvatama 120
|
11
|
-
Ja vastuseklass peab olema tüüpi Fixnum
|
12
|
-
|
13
|
-
| input_1 | input_2 | button | output | class |
|
14
|
-
| 20 | 30 | liida | 50 | Fixnum |
|
15
|
-
| 2 | 5 | liida | 7 | Fixnum |
|
16
|
-
| 0 | 40 | liida | 40 | Fixnum |
|