cucumber 0.8.3 → 0.8.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Caliper.yml +0 -1
- data/History.txt +9 -0
- data/Rakefile +3 -3
- data/VERSION.yml +1 -1
- data/cucumber.gemspec +93 -106
- data/examples/python/README.textile +7 -0
- data/examples/rspec_doubles/features/mocking.feature +9 -0
- data/examples/rspec_doubles/features/step_definitions/calvin_steps.rb +19 -0
- data/examples/rspec_doubles/features/support/env.rb +12 -0
- data/examples/ruby2python/README.textile +7 -0
- data/examples/watir/features/search.feature +1 -1
- data/examples/webrat/features/search.feature +1 -1
- data/examples/webrat/features/support/env.rb +2 -2
- data/features/background.feature +1 -1
- data/features/cucumber_cli.feature +23 -90
- data/features/{cucumber_cli_diff_disabled.feature → diffing.feature} +1 -6
- data/features/html_formatter.feature +2 -2
- data/features/html_formatter/a.html +1 -6
- data/features/json_formatter.feature +1 -1
- data/features/junit_formatter.feature +5 -5
- data/features/language_help.feature +1 -0
- data/features/step_definitions/cucumber_steps.rb +2 -2
- data/features/support/env.rb +11 -7
- data/{examples → fixtures}/json/features/background.feature +0 -0
- data/{examples → fixtures}/json/features/embed.feature +0 -0
- data/{examples → fixtures}/json/features/one_passing_one_failing.feature +0 -0
- data/{examples → fixtures}/json/features/pystring.feature +0 -0
- data/{examples → fixtures}/json/features/step_definitions/steps.rb +0 -0
- data/{examples → fixtures}/json/features/tables.feature +0 -0
- data/{examples → fixtures}/junit/features/one_passing_one_failing.feature +0 -0
- data/{examples → fixtures}/junit/features/pending.feature +0 -0
- data/{examples → fixtures}/junit/features/step_definitions/steps.rb +0 -0
- data/{examples → fixtures}/self_test/.gitignore +0 -0
- data/{examples → fixtures}/self_test/README.textile +0 -0
- data/{examples → fixtures}/self_test/Rakefile +0 -0
- data/{examples → fixtures}/self_test/features/background/background_tagged_before_on_outline.feature +0 -0
- data/{examples → fixtures}/self_test/features/background/background_with_name.feature +0 -0
- data/{examples → fixtures}/self_test/features/background/failing_background.feature +0 -0
- data/{examples → fixtures}/self_test/features/background/failing_background_after_success.feature +0 -0
- data/{examples → fixtures}/self_test/features/background/multiline_args_background.feature +0 -0
- data/{examples → fixtures}/self_test/features/background/passing_background.feature +0 -0
- data/{examples → fixtures}/self_test/features/background/pending_background.feature +0 -0
- data/{examples → fixtures}/self_test/features/background/scenario_outline_failing_background.feature +0 -0
- data/{examples → fixtures}/self_test/features/background/scenario_outline_passing_background.feature +0 -0
- data/{examples → fixtures}/self_test/features/call_undefined_step_from_step_def.feature +0 -0
- data/{examples → fixtures}/self_test/features/failing_expectation.feature +0 -0
- data/{examples → fixtures}/self_test/features/lots_of_undefined.feature +0 -0
- data/{examples → fixtures}/self_test/features/multiline_name.feature +0 -0
- data/{examples → fixtures}/self_test/features/outline_sample.feature +0 -0
- data/{examples → fixtures}/self_test/features/sample.feature +0 -0
- data/{examples → fixtures}/self_test/features/search_sample.feature +0 -0
- data/{examples → fixtures}/self_test/features/step_definitions/sample_steps.rb +0 -0
- data/{examples → fixtures}/self_test/features/support/env.rb +0 -0
- data/{examples → fixtures}/self_test/features/tags_sample.feature +0 -0
- data/{examples → fixtures}/self_test/features/tons_of_cukes.feature +0 -0
- data/{examples → fixtures}/self_test/features/undefined_multiline_args.feature +0 -0
- data/{examples → fixtures}/self_test/list-of-features.txt +0 -0
- data/{examples → fixtures}/steps_library/features/step_definitions/steps_lib1.rb +0 -0
- data/{examples → fixtures}/steps_library/features/step_definitions/steps_lib2.rb +0 -0
- data/{examples → fixtures}/tickets/Rakefile +0 -0
- data/{examples → fixtures}/tickets/features.html +0 -0
- data/{examples → fixtures}/tickets/features/172.feature +0 -0
- data/{examples → fixtures}/tickets/features/177/1.feature +0 -0
- data/{examples → fixtures}/tickets/features/177/2.feature +0 -0
- data/{examples → fixtures}/tickets/features/177/3.feature +0 -0
- data/{examples → fixtures}/tickets/features/180.feature +0 -0
- data/{examples → fixtures}/tickets/features/229/tagged_hooks.feature +0 -0
- data/{examples → fixtures}/tickets/features/229/tagged_hooks.rb +0 -0
- data/{examples → fixtures}/tickets/features/236.feature +0 -0
- data/{examples → fixtures}/tickets/features/241.feature +0 -0
- data/{examples → fixtures}/tickets/features/246.feature +0 -0
- data/{examples → fixtures}/tickets/features/248.feature +0 -0
- data/{examples → fixtures}/tickets/features/270/back.feature +0 -0
- data/{examples → fixtures}/tickets/features/270/back.steps.rb +0 -0
- data/{examples → fixtures}/tickets/features/272/hooks.feature +0 -0
- data/{examples → fixtures}/tickets/features/272/hooks_steps.rb +0 -0
- data/{examples → fixtures}/tickets/features/279/py_string_indent.feature +0 -0
- data/{examples → fixtures}/tickets/features/279/py_string_indent.steps.rb +0 -0
- data/{examples → fixtures}/tickets/features/279/wrong.feature_ +0 -0
- data/{examples → fixtures}/tickets/features/301/filter_background_tagged_hooks.feature +0 -0
- data/{examples → fixtures}/tickets/features/301/filter_background_tagged_hooks_steps.rb +0 -0
- data/{examples → fixtures}/tickets/features/306/only_background.feature +0 -0
- data/{examples → fixtures}/tickets/features/around_timeout.feature +0 -0
- data/{examples → fixtures}/tickets/features/half_manual.feature +0 -0
- data/{examples → fixtures}/tickets/features/lib/eatting_machine.rb +0 -0
- data/{examples → fixtures}/tickets/features/lib/pantry.rb +0 -0
- data/{examples → fixtures}/tickets/features/scenario_outline.feature +0 -0
- data/{examples → fixtures}/tickets/features/step_definitons/246_steps.rb +0 -0
- data/{examples → fixtures}/tickets/features/step_definitons/248_steps.rb +0 -0
- data/{examples → fixtures}/tickets/features/step_definitons/around_timeout_steps.rb +0 -0
- data/{examples → fixtures}/tickets/features/step_definitons/half_manual_steps.rb +0 -0
- data/{examples → fixtures}/tickets/features/step_definitons/scenario_outline_steps.rb +0 -0
- data/{examples → fixtures}/tickets/features/step_definitons/tickets_steps.rb +0 -0
- data/{examples → fixtures}/tickets/features/table_diffing.feature +0 -0
- data/{examples → fixtures}/tickets/features/tickets.feature +0 -0
- data/gem_tasks/examples.rake +1 -1
- data/lib/cucumber/ast/feature.rb +0 -5
- data/lib/cucumber/ast/feature_element.rb +2 -6
- data/lib/cucumber/ast/features.rb +0 -5
- data/lib/cucumber/ast/table.rb +1 -4
- data/lib/cucumber/ast/tags.rb +2 -2
- data/lib/cucumber/cli/configuration.rb +2 -2
- data/lib/cucumber/cli/drb_client.rb +1 -1
- data/lib/cucumber/cli/main.rb +1 -17
- data/lib/cucumber/cli/options.rb +0 -1
- data/lib/cucumber/cli/profile_loader.rb +1 -1
- data/lib/cucumber/feature_file.rb +9 -11
- data/lib/cucumber/formatter/console.rb +0 -11
- data/lib/cucumber/formatter/json.rb +1 -1
- data/lib/cucumber/formatter/pretty.rb +0 -1
- data/lib/cucumber/formatter/progress.rb +0 -1
- data/lib/cucumber/parser/gherkin_builder.rb +34 -28
- data/lib/cucumber/rspec/doubles.rb +16 -0
- data/lib/cucumber/step_mother.rb +37 -31
- data/spec/cucumber/cli/configuration_spec.rb +2 -2
- data/spec/cucumber/formatter/spec_helper.rb +1 -1
- metadata +96 -109
- data/examples/dos_line_endings/Rakefile +0 -6
- data/examples/dos_line_endings/features/dos_line_endings.feature +0 -9
data/Caliper.yml
CHANGED
data/History.txt
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
== 0.8.4 (2010-07-12)
|
2
|
+
|
3
|
+
=== Bugfixes
|
4
|
+
* Fix "Errno::EADDRNOTAVAIL" errors that may be received with spork on Snow Leopard. (Lucas Mundim)
|
5
|
+
|
6
|
+
=== New features
|
7
|
+
* Detect limit for negative tags (#636 Aslak Hellesøy)
|
8
|
+
* Support for RSpec 2 doubles (mocks and stubs) (Aslak Hellesøy)
|
9
|
+
|
1
10
|
== 0.8.3 (2010-06-16)
|
2
11
|
|
3
12
|
Just a quick bugfix release.
|
data/Rakefile
CHANGED
@@ -16,7 +16,7 @@ begin
|
|
16
16
|
gem.homepage = "http://cukes.info"
|
17
17
|
gem.authors = ["Aslak Hellesøy"]
|
18
18
|
|
19
|
-
gem.add_dependency 'gherkin', '~> 2.
|
19
|
+
gem.add_dependency 'gherkin', '~> 2.1.1'
|
20
20
|
gem.add_dependency 'term-ansicolor', '~> 1.0.4'
|
21
21
|
gem.add_dependency 'builder', '~> 2.1.2'
|
22
22
|
gem.add_dependency 'diff-lcs', '~> 1.1.2'
|
@@ -25,9 +25,9 @@ begin
|
|
25
25
|
gem.add_development_dependency 'nokogiri', '~> 1.4.2'
|
26
26
|
gem.add_development_dependency 'prawn', '= 0.8.4'
|
27
27
|
gem.add_development_dependency 'prawn-layout', '= 0.8.4'
|
28
|
-
gem.add_development_dependency 'rspec', '~> 2.0.0.beta.
|
28
|
+
gem.add_development_dependency 'rspec', '~> 2.0.0.beta.15'
|
29
29
|
gem.add_development_dependency 'syntax', '~> 1.0.0'
|
30
|
-
gem.add_development_dependency 'spork', '~> 0.8.
|
30
|
+
gem.add_development_dependency 'spork', '~> 0.8.4' unless Cucumber::JRUBY || Cucumber::WINDOWS
|
31
31
|
|
32
32
|
extend Cucumber::Formatter::ANSIColor
|
33
33
|
gem.post_install_message = <<-POST_INSTALL_MESSAGE
|
data/VERSION.yml
CHANGED
data/cucumber.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{cucumber}
|
8
|
-
s.version = "0.8.
|
8
|
+
s.version = "0.8.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Aslak Helles\303\270y"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-07-13}
|
13
13
|
s.default_executable = %q{cucumber}
|
14
14
|
s.description = %q{Behaviour Driven Development with elegance and joy}
|
15
15
|
s.email = %q{cukes@googlegroups.com}
|
@@ -31,8 +31,6 @@ Gem::Specification.new do |s|
|
|
31
31
|
"bin/cucumber",
|
32
32
|
"cucumber.gemspec",
|
33
33
|
"cucumber.yml",
|
34
|
-
"examples/dos_line_endings/Rakefile",
|
35
|
-
"examples/dos_line_endings/features/dos_line_endings.feature",
|
36
34
|
"examples/i18n/README.textile",
|
37
35
|
"examples/i18n/Rakefile",
|
38
36
|
"examples/i18n/ar/Rakefile",
|
@@ -225,15 +223,7 @@ Gem::Specification.new do |s|
|
|
225
223
|
"examples/i18n/zh-TW/features/division.feature",
|
226
224
|
"examples/i18n/zh-TW/features/step_definitons/calculator_steps.rb",
|
227
225
|
"examples/i18n/zh-TW/lib/calculator.rb",
|
228
|
-
"examples/
|
229
|
-
"examples/json/features/embed.feature",
|
230
|
-
"examples/json/features/one_passing_one_failing.feature",
|
231
|
-
"examples/json/features/pystring.feature",
|
232
|
-
"examples/json/features/step_definitions/steps.rb",
|
233
|
-
"examples/json/features/tables.feature",
|
234
|
-
"examples/junit/features/one_passing_one_failing.feature",
|
235
|
-
"examples/junit/features/pending.feature",
|
236
|
-
"examples/junit/features/step_definitions/steps.rb",
|
226
|
+
"examples/python/README.textile",
|
237
227
|
"examples/python/Rakefile",
|
238
228
|
"examples/python/features/fibonacci.feature",
|
239
229
|
"examples/python/features/step_definitions/fib_steps.py",
|
@@ -247,37 +237,16 @@ Gem::Specification.new do |s|
|
|
247
237
|
"examples/ramaze/features/support/env.rb",
|
248
238
|
"examples/ramaze/layout/default.html.erb",
|
249
239
|
"examples/ramaze/view/index.html.erb",
|
240
|
+
"examples/rspec_doubles/features/mocking.feature",
|
241
|
+
"examples/rspec_doubles/features/step_definitions/calvin_steps.rb",
|
242
|
+
"examples/rspec_doubles/features/support/env.rb",
|
243
|
+
"examples/ruby2python/README.textile",
|
250
244
|
"examples/ruby2python/Rakefile",
|
251
245
|
"examples/ruby2python/features/fibonacci.feature",
|
252
246
|
"examples/ruby2python/features/step_definitions/fib_steps.rb",
|
253
247
|
"examples/ruby2python/features/support/env.rb",
|
254
248
|
"examples/ruby2python/lib/.gitignore",
|
255
249
|
"examples/ruby2python/lib/fib.py",
|
256
|
-
"examples/self_test/.gitignore",
|
257
|
-
"examples/self_test/README.textile",
|
258
|
-
"examples/self_test/Rakefile",
|
259
|
-
"examples/self_test/features/background/background_tagged_before_on_outline.feature",
|
260
|
-
"examples/self_test/features/background/background_with_name.feature",
|
261
|
-
"examples/self_test/features/background/failing_background.feature",
|
262
|
-
"examples/self_test/features/background/failing_background_after_success.feature",
|
263
|
-
"examples/self_test/features/background/multiline_args_background.feature",
|
264
|
-
"examples/self_test/features/background/passing_background.feature",
|
265
|
-
"examples/self_test/features/background/pending_background.feature",
|
266
|
-
"examples/self_test/features/background/scenario_outline_failing_background.feature",
|
267
|
-
"examples/self_test/features/background/scenario_outline_passing_background.feature",
|
268
|
-
"examples/self_test/features/call_undefined_step_from_step_def.feature",
|
269
|
-
"examples/self_test/features/failing_expectation.feature",
|
270
|
-
"examples/self_test/features/lots_of_undefined.feature",
|
271
|
-
"examples/self_test/features/multiline_name.feature",
|
272
|
-
"examples/self_test/features/outline_sample.feature",
|
273
|
-
"examples/self_test/features/sample.feature",
|
274
|
-
"examples/self_test/features/search_sample.feature",
|
275
|
-
"examples/self_test/features/step_definitions/sample_steps.rb",
|
276
|
-
"examples/self_test/features/support/env.rb",
|
277
|
-
"examples/self_test/features/tags_sample.feature",
|
278
|
-
"examples/self_test/features/tons_of_cukes.feature",
|
279
|
-
"examples/self_test/features/undefined_multiline_args.feature",
|
280
|
-
"examples/self_test/list-of-features.txt",
|
281
250
|
"examples/sinatra/README.textile",
|
282
251
|
"examples/sinatra/Rakefile",
|
283
252
|
"examples/sinatra/app.rb",
|
@@ -286,8 +255,6 @@ Gem::Specification.new do |s|
|
|
286
255
|
"examples/sinatra/features/support/env.rb",
|
287
256
|
"examples/sinatra/views/add.erb",
|
288
257
|
"examples/sinatra/views/layout.erb",
|
289
|
-
"examples/steps_library/features/step_definitions/steps_lib1.rb",
|
290
|
-
"examples/steps_library/features/step_definitions/steps_lib2.rb",
|
291
258
|
"examples/tcl/README.textile",
|
292
259
|
"examples/tcl/Rakefile",
|
293
260
|
"examples/tcl/features/fibonnacci.feature",
|
@@ -297,42 +264,6 @@ Gem::Specification.new do |s|
|
|
297
264
|
"examples/test_unit/Rakefile",
|
298
265
|
"examples/test_unit/features/step_definitions/test_unit_steps.rb",
|
299
266
|
"examples/test_unit/features/test_unit.feature",
|
300
|
-
"examples/tickets/Rakefile",
|
301
|
-
"examples/tickets/features.html",
|
302
|
-
"examples/tickets/features/172.feature",
|
303
|
-
"examples/tickets/features/177/1.feature",
|
304
|
-
"examples/tickets/features/177/2.feature",
|
305
|
-
"examples/tickets/features/177/3.feature",
|
306
|
-
"examples/tickets/features/180.feature",
|
307
|
-
"examples/tickets/features/229/tagged_hooks.feature",
|
308
|
-
"examples/tickets/features/229/tagged_hooks.rb",
|
309
|
-
"examples/tickets/features/236.feature",
|
310
|
-
"examples/tickets/features/241.feature",
|
311
|
-
"examples/tickets/features/246.feature",
|
312
|
-
"examples/tickets/features/248.feature",
|
313
|
-
"examples/tickets/features/270/back.feature",
|
314
|
-
"examples/tickets/features/270/back.steps.rb",
|
315
|
-
"examples/tickets/features/272/hooks.feature",
|
316
|
-
"examples/tickets/features/272/hooks_steps.rb",
|
317
|
-
"examples/tickets/features/279/py_string_indent.feature",
|
318
|
-
"examples/tickets/features/279/py_string_indent.steps.rb",
|
319
|
-
"examples/tickets/features/279/wrong.feature_",
|
320
|
-
"examples/tickets/features/301/filter_background_tagged_hooks.feature",
|
321
|
-
"examples/tickets/features/301/filter_background_tagged_hooks_steps.rb",
|
322
|
-
"examples/tickets/features/306/only_background.feature",
|
323
|
-
"examples/tickets/features/around_timeout.feature",
|
324
|
-
"examples/tickets/features/half_manual.feature",
|
325
|
-
"examples/tickets/features/lib/eatting_machine.rb",
|
326
|
-
"examples/tickets/features/lib/pantry.rb",
|
327
|
-
"examples/tickets/features/scenario_outline.feature",
|
328
|
-
"examples/tickets/features/step_definitons/246_steps.rb",
|
329
|
-
"examples/tickets/features/step_definitons/248_steps.rb",
|
330
|
-
"examples/tickets/features/step_definitons/around_timeout_steps.rb",
|
331
|
-
"examples/tickets/features/step_definitons/half_manual_steps.rb",
|
332
|
-
"examples/tickets/features/step_definitons/scenario_outline_steps.rb",
|
333
|
-
"examples/tickets/features/step_definitons/tickets_steps.rb",
|
334
|
-
"examples/tickets/features/table_diffing.feature",
|
335
|
-
"examples/tickets/features/tickets.feature",
|
336
267
|
"examples/v8/Rakefile",
|
337
268
|
"examples/v8/features/fibonacci.feature",
|
338
269
|
"examples/v8/features/step_definitions/fib_steps.js",
|
@@ -360,10 +291,10 @@ Gem::Specification.new do |s|
|
|
360
291
|
"features/bug_600.feature",
|
361
292
|
"features/call_steps_from_stepdefs.feature",
|
362
293
|
"features/cucumber_cli.feature",
|
363
|
-
"features/cucumber_cli_diff_disabled.feature",
|
364
294
|
"features/cucumber_cli_outlines.feature",
|
365
295
|
"features/custom_formatter.feature",
|
366
296
|
"features/default_snippets.feature",
|
297
|
+
"features/diffing.feature",
|
367
298
|
"features/drb_server_integration.feature",
|
368
299
|
"features/exception_in_after_block.feature",
|
369
300
|
"features/exception_in_after_step_block.feature",
|
@@ -405,6 +336,78 @@ Gem::Specification.new do |s|
|
|
405
336
|
"features/wire_protocol_tags.feature",
|
406
337
|
"features/wire_protocol_timeouts.feature",
|
407
338
|
"features/work_in_progress.feature",
|
339
|
+
"fixtures/json/features/background.feature",
|
340
|
+
"fixtures/json/features/embed.feature",
|
341
|
+
"fixtures/json/features/one_passing_one_failing.feature",
|
342
|
+
"fixtures/json/features/pystring.feature",
|
343
|
+
"fixtures/json/features/step_definitions/steps.rb",
|
344
|
+
"fixtures/json/features/tables.feature",
|
345
|
+
"fixtures/junit/features/one_passing_one_failing.feature",
|
346
|
+
"fixtures/junit/features/pending.feature",
|
347
|
+
"fixtures/junit/features/step_definitions/steps.rb",
|
348
|
+
"fixtures/self_test/.gitignore",
|
349
|
+
"fixtures/self_test/README.textile",
|
350
|
+
"fixtures/self_test/Rakefile",
|
351
|
+
"fixtures/self_test/features/background/background_tagged_before_on_outline.feature",
|
352
|
+
"fixtures/self_test/features/background/background_with_name.feature",
|
353
|
+
"fixtures/self_test/features/background/failing_background.feature",
|
354
|
+
"fixtures/self_test/features/background/failing_background_after_success.feature",
|
355
|
+
"fixtures/self_test/features/background/multiline_args_background.feature",
|
356
|
+
"fixtures/self_test/features/background/passing_background.feature",
|
357
|
+
"fixtures/self_test/features/background/pending_background.feature",
|
358
|
+
"fixtures/self_test/features/background/scenario_outline_failing_background.feature",
|
359
|
+
"fixtures/self_test/features/background/scenario_outline_passing_background.feature",
|
360
|
+
"fixtures/self_test/features/call_undefined_step_from_step_def.feature",
|
361
|
+
"fixtures/self_test/features/failing_expectation.feature",
|
362
|
+
"fixtures/self_test/features/lots_of_undefined.feature",
|
363
|
+
"fixtures/self_test/features/multiline_name.feature",
|
364
|
+
"fixtures/self_test/features/outline_sample.feature",
|
365
|
+
"fixtures/self_test/features/sample.feature",
|
366
|
+
"fixtures/self_test/features/search_sample.feature",
|
367
|
+
"fixtures/self_test/features/step_definitions/sample_steps.rb",
|
368
|
+
"fixtures/self_test/features/support/env.rb",
|
369
|
+
"fixtures/self_test/features/tags_sample.feature",
|
370
|
+
"fixtures/self_test/features/tons_of_cukes.feature",
|
371
|
+
"fixtures/self_test/features/undefined_multiline_args.feature",
|
372
|
+
"fixtures/self_test/list-of-features.txt",
|
373
|
+
"fixtures/steps_library/features/step_definitions/steps_lib1.rb",
|
374
|
+
"fixtures/steps_library/features/step_definitions/steps_lib2.rb",
|
375
|
+
"fixtures/tickets/Rakefile",
|
376
|
+
"fixtures/tickets/features.html",
|
377
|
+
"fixtures/tickets/features/172.feature",
|
378
|
+
"fixtures/tickets/features/177/1.feature",
|
379
|
+
"fixtures/tickets/features/177/2.feature",
|
380
|
+
"fixtures/tickets/features/177/3.feature",
|
381
|
+
"fixtures/tickets/features/180.feature",
|
382
|
+
"fixtures/tickets/features/229/tagged_hooks.feature",
|
383
|
+
"fixtures/tickets/features/229/tagged_hooks.rb",
|
384
|
+
"fixtures/tickets/features/236.feature",
|
385
|
+
"fixtures/tickets/features/241.feature",
|
386
|
+
"fixtures/tickets/features/246.feature",
|
387
|
+
"fixtures/tickets/features/248.feature",
|
388
|
+
"fixtures/tickets/features/270/back.feature",
|
389
|
+
"fixtures/tickets/features/270/back.steps.rb",
|
390
|
+
"fixtures/tickets/features/272/hooks.feature",
|
391
|
+
"fixtures/tickets/features/272/hooks_steps.rb",
|
392
|
+
"fixtures/tickets/features/279/py_string_indent.feature",
|
393
|
+
"fixtures/tickets/features/279/py_string_indent.steps.rb",
|
394
|
+
"fixtures/tickets/features/279/wrong.feature_",
|
395
|
+
"fixtures/tickets/features/301/filter_background_tagged_hooks.feature",
|
396
|
+
"fixtures/tickets/features/301/filter_background_tagged_hooks_steps.rb",
|
397
|
+
"fixtures/tickets/features/306/only_background.feature",
|
398
|
+
"fixtures/tickets/features/around_timeout.feature",
|
399
|
+
"fixtures/tickets/features/half_manual.feature",
|
400
|
+
"fixtures/tickets/features/lib/eatting_machine.rb",
|
401
|
+
"fixtures/tickets/features/lib/pantry.rb",
|
402
|
+
"fixtures/tickets/features/scenario_outline.feature",
|
403
|
+
"fixtures/tickets/features/step_definitons/246_steps.rb",
|
404
|
+
"fixtures/tickets/features/step_definitons/248_steps.rb",
|
405
|
+
"fixtures/tickets/features/step_definitons/around_timeout_steps.rb",
|
406
|
+
"fixtures/tickets/features/step_definitons/half_manual_steps.rb",
|
407
|
+
"fixtures/tickets/features/step_definitons/scenario_outline_steps.rb",
|
408
|
+
"fixtures/tickets/features/step_definitons/tickets_steps.rb",
|
409
|
+
"fixtures/tickets/features/table_diffing.feature",
|
410
|
+
"fixtures/tickets/features/tickets.feature",
|
408
411
|
"gem_tasks/contributors.rake",
|
409
412
|
"gem_tasks/environment.rake",
|
410
413
|
"gem_tasks/examples.rake",
|
@@ -497,6 +500,7 @@ Gem::Specification.new do |s|
|
|
497
500
|
"lib/cucumber/rb_support/rb_world.rb",
|
498
501
|
"lib/cucumber/rb_support/regexp_argument_matcher.rb",
|
499
502
|
"lib/cucumber/rspec/disable_option_parser.rb",
|
503
|
+
"lib/cucumber/rspec/doubles.rb",
|
500
504
|
"lib/cucumber/step_argument.rb",
|
501
505
|
"lib/cucumber/step_definition_light.rb",
|
502
506
|
"lib/cucumber/step_match.rb",
|
@@ -555,7 +559,7 @@ Gem::Specification.new do |s|
|
|
555
559
|
|
556
560
|
(::) U P G R A D I N G (::)
|
557
561
|
|
558
|
-
Thank you for installing cucumber-0.8.
|
562
|
+
Thank you for installing cucumber-0.8.4.
|
559
563
|
Please be sure to read http://wiki.github.com/aslakhellesoy/cucumber/upgrading
|
560
564
|
for important information about this release. Happy cuking!
|
561
565
|
|
@@ -688,36 +692,19 @@ for important information about this release. Happy cuking!
|
|
688
692
|
"examples/i18n/zh-CN/lib/calculator.rb",
|
689
693
|
"examples/i18n/zh-TW/features/step_definitons/calculator_steps.rb",
|
690
694
|
"examples/i18n/zh-TW/lib/calculator.rb",
|
691
|
-
"examples/json/features/step_definitions/steps.rb",
|
692
|
-
"examples/junit/features/step_definitions/steps.rb",
|
693
695
|
"examples/ramaze/app.rb",
|
694
696
|
"examples/ramaze/features/step_definitions/add_steps.rb",
|
695
697
|
"examples/ramaze/features/support/env.rb",
|
698
|
+
"examples/rspec_doubles/features/step_definitions/calvin_steps.rb",
|
699
|
+
"examples/rspec_doubles/features/support/env.rb",
|
696
700
|
"examples/ruby2python/features/step_definitions/fib_steps.rb",
|
697
701
|
"examples/ruby2python/features/support/env.rb",
|
698
|
-
"examples/self_test/features/step_definitions/sample_steps.rb",
|
699
|
-
"examples/self_test/features/support/env.rb",
|
700
702
|
"examples/sinatra/app.rb",
|
701
703
|
"examples/sinatra/features/step_definitions/add_steps.rb",
|
702
704
|
"examples/sinatra/features/support/env.rb",
|
703
|
-
"examples/steps_library/features/step_definitions/steps_lib1.rb",
|
704
|
-
"examples/steps_library/features/step_definitions/steps_lib2.rb",
|
705
705
|
"examples/tcl/features/step_definitions/fib_steps.rb",
|
706
706
|
"examples/tcl/features/support/env.rb",
|
707
707
|
"examples/test_unit/features/step_definitions/test_unit_steps.rb",
|
708
|
-
"examples/tickets/features/229/tagged_hooks.rb",
|
709
|
-
"examples/tickets/features/270/back.steps.rb",
|
710
|
-
"examples/tickets/features/272/hooks_steps.rb",
|
711
|
-
"examples/tickets/features/279/py_string_indent.steps.rb",
|
712
|
-
"examples/tickets/features/301/filter_background_tagged_hooks_steps.rb",
|
713
|
-
"examples/tickets/features/lib/eatting_machine.rb",
|
714
|
-
"examples/tickets/features/lib/pantry.rb",
|
715
|
-
"examples/tickets/features/step_definitons/246_steps.rb",
|
716
|
-
"examples/tickets/features/step_definitons/248_steps.rb",
|
717
|
-
"examples/tickets/features/step_definitons/around_timeout_steps.rb",
|
718
|
-
"examples/tickets/features/step_definitons/half_manual_steps.rb",
|
719
|
-
"examples/tickets/features/step_definitons/scenario_outline_steps.rb",
|
720
|
-
"examples/tickets/features/step_definitons/tickets_steps.rb",
|
721
708
|
"examples/watir/features/step_definitions/search_steps.rb",
|
722
709
|
"examples/watir/features/support/env.rb",
|
723
710
|
"examples/watir/features/support/screenshots.rb",
|
@@ -730,7 +717,7 @@ for important information about this release. Happy cuking!
|
|
730
717
|
s.specification_version = 3
|
731
718
|
|
732
719
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
733
|
-
s.add_runtime_dependency(%q<gherkin>, ["~> 2.
|
720
|
+
s.add_runtime_dependency(%q<gherkin>, ["~> 2.1.1"])
|
734
721
|
s.add_runtime_dependency(%q<term-ansicolor>, ["~> 1.0.4"])
|
735
722
|
s.add_runtime_dependency(%q<builder>, ["~> 2.1.2"])
|
736
723
|
s.add_runtime_dependency(%q<diff-lcs>, ["~> 1.1.2"])
|
@@ -738,11 +725,11 @@ for important information about this release. Happy cuking!
|
|
738
725
|
s.add_development_dependency(%q<nokogiri>, ["~> 1.4.2"])
|
739
726
|
s.add_development_dependency(%q<prawn>, ["= 0.8.4"])
|
740
727
|
s.add_development_dependency(%q<prawn-layout>, ["= 0.8.4"])
|
741
|
-
s.add_development_dependency(%q<rspec>, ["~> 2.0.0.beta.
|
728
|
+
s.add_development_dependency(%q<rspec>, ["~> 2.0.0.beta.15"])
|
742
729
|
s.add_development_dependency(%q<syntax>, ["~> 1.0.0"])
|
743
|
-
s.add_development_dependency(%q<spork>, ["~> 0.8.
|
730
|
+
s.add_development_dependency(%q<spork>, ["~> 0.8.4"])
|
744
731
|
else
|
745
|
-
s.add_dependency(%q<gherkin>, ["~> 2.
|
732
|
+
s.add_dependency(%q<gherkin>, ["~> 2.1.1"])
|
746
733
|
s.add_dependency(%q<term-ansicolor>, ["~> 1.0.4"])
|
747
734
|
s.add_dependency(%q<builder>, ["~> 2.1.2"])
|
748
735
|
s.add_dependency(%q<diff-lcs>, ["~> 1.1.2"])
|
@@ -750,12 +737,12 @@ for important information about this release. Happy cuking!
|
|
750
737
|
s.add_dependency(%q<nokogiri>, ["~> 1.4.2"])
|
751
738
|
s.add_dependency(%q<prawn>, ["= 0.8.4"])
|
752
739
|
s.add_dependency(%q<prawn-layout>, ["= 0.8.4"])
|
753
|
-
s.add_dependency(%q<rspec>, ["~> 2.0.0.beta.
|
740
|
+
s.add_dependency(%q<rspec>, ["~> 2.0.0.beta.15"])
|
754
741
|
s.add_dependency(%q<syntax>, ["~> 1.0.0"])
|
755
|
-
s.add_dependency(%q<spork>, ["~> 0.8.
|
742
|
+
s.add_dependency(%q<spork>, ["~> 0.8.4"])
|
756
743
|
end
|
757
744
|
else
|
758
|
-
s.add_dependency(%q<gherkin>, ["~> 2.
|
745
|
+
s.add_dependency(%q<gherkin>, ["~> 2.1.1"])
|
759
746
|
s.add_dependency(%q<term-ansicolor>, ["~> 1.0.4"])
|
760
747
|
s.add_dependency(%q<builder>, ["~> 2.1.2"])
|
761
748
|
s.add_dependency(%q<diff-lcs>, ["~> 1.1.2"])
|
@@ -763,9 +750,9 @@ for important information about this release. Happy cuking!
|
|
763
750
|
s.add_dependency(%q<nokogiri>, ["~> 1.4.2"])
|
764
751
|
s.add_dependency(%q<prawn>, ["= 0.8.4"])
|
765
752
|
s.add_dependency(%q<prawn-layout>, ["= 0.8.4"])
|
766
|
-
s.add_dependency(%q<rspec>, ["~> 2.0.0.beta.
|
753
|
+
s.add_dependency(%q<rspec>, ["~> 2.0.0.beta.15"])
|
767
754
|
s.add_dependency(%q<syntax>, ["~> 1.0.0"])
|
768
|
-
s.add_dependency(%q<spork>, ["~> 0.8.
|
755
|
+
s.add_dependency(%q<spork>, ["~> 0.8.4"])
|
769
756
|
end
|
770
757
|
end
|
771
758
|
|
@@ -0,0 +1,19 @@
|
|
1
|
+
class CardboardBox
|
2
|
+
def initialize(transmogrifier)
|
3
|
+
@transmogrifier = transmogrifier
|
4
|
+
end
|
5
|
+
|
6
|
+
def poke
|
7
|
+
@transmogrifier.transmogrify
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
Given /^I have a cardboard box$/ do
|
12
|
+
transmogrifier = double('transmogrifier')
|
13
|
+
transmogrifier.should_receive(:transmogrify)
|
14
|
+
@box = CardboardBox.new(transmogrifier)
|
15
|
+
end
|
16
|
+
|
17
|
+
When /^I poke it all is good$/ do
|
18
|
+
@box.poke
|
19
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# If you want to use a different mock framework than
|
2
|
+
# RSpec-Mocks - just set configure that accordingly
|
3
|
+
#
|
4
|
+
# require 'rspec/core'
|
5
|
+
# RSpec.configure do |c|
|
6
|
+
# c.mock_framework = :rspec
|
7
|
+
# c.mock_framework = :mocha
|
8
|
+
# c.mock_framework = :rr
|
9
|
+
# c.mock_framework = :flexmock
|
10
|
+
# end
|
11
|
+
|
12
|
+
require 'cucumber/rspec/doubles'
|