cucumber 0.7.3 → 0.8.0

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.
Files changed (43) hide show
  1. data/History.txt +20 -1
  2. data/Rakefile +4 -4
  3. data/VERSION.yml +2 -2
  4. data/cucumber.gemspec +35 -23
  5. data/examples/json/features/background.feature +7 -0
  6. data/examples/json/features/one_passing_one_failing.feature +11 -0
  7. data/examples/json/features/pystring.feature +8 -0
  8. data/examples/json/features/step_definitions/steps.rb +27 -0
  9. data/examples/json/features/tables.feature +13 -0
  10. data/examples/json/tmp/out.json +1 -0
  11. data/examples/self_test/features/step_definitions/sample_steps.rb +1 -0
  12. data/examples/tickets/features/around_timeout.feature +6 -0
  13. data/examples/tickets/features/step_definitons/around_timeout_steps.rb +9 -0
  14. data/examples/{javascript → v8}/Rakefile +3 -1
  15. data/examples/{javascript → v8}/features/fibonacci.feature +4 -7
  16. data/examples/{javascript → v8}/features/step_definitions/fib_steps.js +7 -3
  17. data/examples/{javascript → v8}/features/support/env.js +3 -0
  18. data/examples/{javascript/features → v8}/lib/fibonacci.js +0 -0
  19. data/features/announce.feature +1 -1
  20. data/features/cucumber_cli_diff_disabled.feature +1 -24
  21. data/features/custom_formatter.feature +9 -3
  22. data/features/json_formatter.feature +281 -0
  23. data/features/step_definitions/cucumber_steps.rb +6 -1
  24. data/gem_tasks/rspec.rake +1 -1
  25. data/lib/cucumber/ast/feature.rb +1 -1
  26. data/lib/cucumber/cli/configuration.rb +8 -12
  27. data/lib/cucumber/cli/main.rb +0 -8
  28. data/lib/cucumber/cli/options.rb +22 -21
  29. data/lib/cucumber/formatter/json.rb +154 -0
  30. data/lib/cucumber/formatter/json_pretty.rb +14 -0
  31. data/lib/cucumber/js_support/js_dsl.js +14 -26
  32. data/lib/cucumber/js_support/js_language.rb +31 -16
  33. data/lib/cucumber/rb_support/rb_language.rb +22 -3
  34. data/spec/cucumber/ast/scenario_spec.rb +1 -1
  35. data/spec/cucumber/cli/configuration_spec.rb +8 -16
  36. data/spec/cucumber/cli/main_spec.rb +5 -5
  37. data/spec/cucumber/formatter/html_spec.rb +1 -1
  38. data/spec/cucumber/rb_support/rb_step_definition_spec.rb +4 -4
  39. data/spec/cucumber/step_mother_spec.rb +1 -1
  40. data/spec/cucumber/world/pending_spec.rb +1 -1
  41. data/spec/spec_helper.rb +1 -1
  42. metadata +65 -21
  43. data/lib/cucumber/rspec/diffing.rb +0 -17
@@ -1,4 +1,23 @@
1
- == 0.7.3
1
+ == 0.8.0 (2010-06-06)
2
+
3
+ === Bugfixes
4
+ * Require profile option causes a NoMethodError for Cucumber with JRuby (#601 John Firebaugh)
5
+ * Deprecations warnings with Spork + Cucumber + RSpec 2.0. (#619 Brian Cardarella)
6
+ * Fixed edge case compatibility problem with Gherkin 1.0.30. (#618 Aslak Hellesøy)
7
+
8
+ === New features
9
+ * Better table support in the V8 Javascript support (Joseph Wilk)
10
+ * JSON formatters (json and json_pretty). (Jari Bakken)
11
+
12
+ === Removed features
13
+ * The --no-diff option is removed. If you're using RSpec you will *always* get diffs. (Aslak Hellesøy)
14
+
15
+ === Changed Features
16
+ * Upgraded to be compatible with rspec 2.0.0.beta.10 (Aslak Hellesøy)
17
+ * Ruby snippets will use "([^"]*)" instead of "([^\"]*)"$/ - wasn't properly fixed in 0.7.1. (Aslak Hellesøy)
18
+ * Preserve the order features files are passed and use this for execution order (#617 Joseph Wilk)
19
+
20
+ == 0.7.3 (2010-05-17)
2
21
 
3
22
  === New Features
4
23
  * Table cells can now contain escaped bars - \| and escaped backslashes - \\. (Gregory Hnatiuk, Aslak Hellesøy)
data/Rakefile CHANGED
@@ -16,17 +16,17 @@ begin
16
16
  gem.homepage = "http://cukes.info"
17
17
  gem.authors = ["Aslak Hellesøy"]
18
18
 
19
- gem.add_dependency 'gherkin', '>= 1.0.27'
19
+ gem.add_dependency 'gherkin', '>= 1.0.30'
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'
23
- gem.add_dependency 'json_pure', '>= 1.2.4'
23
+ gem.add_dependency 'json_pure', '>= 1.4.3'
24
24
 
25
- gem.add_development_dependency 'nokogiri', '>= 1.4.1'
25
+ gem.add_development_dependency 'nokogiri', '>= 1.4.2'
26
26
  gem.add_development_dependency 'prawn', '= 0.6.3'
27
27
  gem.add_development_dependency 'prawn-format', '= 0.2.3'
28
28
  gem.add_development_dependency 'htmlentities', '>= 4.2.1'
29
- gem.add_development_dependency 'rspec', '>= 1.3.0'
29
+ gem.add_development_dependency 'rspec', '>= 2.0.0.beta.10'
30
30
  gem.add_development_dependency 'syntax', '>= 1.0.0'
31
31
  gem.add_development_dependency 'spork', '>= 0.8.3' unless Cucumber::JRUBY || Cucumber::WINDOWS
32
32
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- :patch: 3
2
+ :patch: 0
3
3
  :build:
4
4
  :major: 0
5
- :minor: 7
5
+ :minor: 8
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{cucumber}
8
- s.version = "0.7.3"
8
+ s.version = "0.8.0"
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-05-18}
12
+ s.date = %q{2010-06-06}
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}
@@ -224,11 +224,12 @@ Gem::Specification.new do |s|
224
224
  "examples/i18n/zh-TW/features/division.feature",
225
225
  "examples/i18n/zh-TW/features/step_definitons/calculator_steps.rb",
226
226
  "examples/i18n/zh-TW/lib/calculator.rb",
227
- "examples/javascript/Rakefile",
228
- "examples/javascript/features/fibonacci.feature",
229
- "examples/javascript/features/lib/fibonacci.js",
230
- "examples/javascript/features/step_definitions/fib_steps.js",
231
- "examples/javascript/features/support/env.js",
227
+ "examples/json/features/background.feature",
228
+ "examples/json/features/one_passing_one_failing.feature",
229
+ "examples/json/features/pystring.feature",
230
+ "examples/json/features/step_definitions/steps.rb",
231
+ "examples/json/features/tables.feature",
232
+ "examples/json/tmp/out.json",
232
233
  "examples/junit/features/one_passing_one_failing.feature",
233
234
  "examples/junit/features/pending.feature",
234
235
  "examples/junit/features/step_definitions/steps.rb",
@@ -318,17 +319,24 @@ Gem::Specification.new do |s|
318
319
  "examples/tickets/features/301/filter_background_tagged_hooks.feature",
319
320
  "examples/tickets/features/301/filter_background_tagged_hooks_steps.rb",
320
321
  "examples/tickets/features/306/only_background.feature",
322
+ "examples/tickets/features/around_timeout.feature",
321
323
  "examples/tickets/features/half_manual.feature",
322
324
  "examples/tickets/features/lib/eatting_machine.rb",
323
325
  "examples/tickets/features/lib/pantry.rb",
324
326
  "examples/tickets/features/scenario_outline.feature",
325
327
  "examples/tickets/features/step_definitons/246_steps.rb",
326
328
  "examples/tickets/features/step_definitons/248_steps.rb",
329
+ "examples/tickets/features/step_definitons/around_timeout_steps.rb",
327
330
  "examples/tickets/features/step_definitons/half_manual_steps.rb",
328
331
  "examples/tickets/features/step_definitons/scenario_outline_steps.rb",
329
332
  "examples/tickets/features/step_definitons/tickets_steps.rb",
330
333
  "examples/tickets/features/table_diffing.feature",
331
334
  "examples/tickets/features/tickets.feature",
335
+ "examples/v8/Rakefile",
336
+ "examples/v8/features/fibonacci.feature",
337
+ "examples/v8/features/step_definitions/fib_steps.js",
338
+ "examples/v8/features/support/env.js",
339
+ "examples/v8/lib/fibonacci.js",
332
340
  "examples/watir/.gitignore",
333
341
  "examples/watir/README.textile",
334
342
  "examples/watir/Rakefile",
@@ -363,6 +371,7 @@ Gem::Specification.new do |s|
363
371
  "features/expand.feature",
364
372
  "features/html_formatter.feature",
365
373
  "features/html_formatter/a.html",
374
+ "features/json_formatter.feature",
366
375
  "features/junit_formatter.feature",
367
376
  "features/language_from_header.feature",
368
377
  "features/language_help.feature",
@@ -452,6 +461,8 @@ Gem::Specification.new do |s|
452
461
  "lib/cucumber/formatter/duration.rb",
453
462
  "lib/cucumber/formatter/html.rb",
454
463
  "lib/cucumber/formatter/io.rb",
464
+ "lib/cucumber/formatter/json.rb",
465
+ "lib/cucumber/formatter/json_pretty.rb",
455
466
  "lib/cucumber/formatter/junit.rb",
456
467
  "lib/cucumber/formatter/ordered_xml_markup.rb",
457
468
  "lib/cucumber/formatter/pdf.rb",
@@ -483,7 +494,6 @@ Gem::Specification.new do |s|
483
494
  "lib/cucumber/rb_support/rb_transform.rb",
484
495
  "lib/cucumber/rb_support/rb_world.rb",
485
496
  "lib/cucumber/rb_support/regexp_argument_matcher.rb",
486
- "lib/cucumber/rspec/diffing.rb",
487
497
  "lib/cucumber/rspec/disable_option_parser.rb",
488
498
  "lib/cucumber/step_argument.rb",
489
499
  "lib/cucumber/step_definition_light.rb",
@@ -542,7 +552,7 @@ Gem::Specification.new do |s|
542
552
 
543
553
  (::) U P G R A D I N G (::)
544
554
 
545
- Thank you for installing cucumber-0.7.3.
555
+ Thank you for installing cucumber-0.8.0.
546
556
  Please be sure to read http://wiki.github.com/aslakhellesoy/cucumber/upgrading
547
557
  for important information about this release. Happy cuking!
548
558
 
@@ -551,7 +561,7 @@ for important information about this release. Happy cuking!
551
561
  }
552
562
  s.rdoc_options = ["--charset=UTF-8"]
553
563
  s.require_paths = ["lib"]
554
- s.rubygems_version = %q{1.3.6}
564
+ s.rubygems_version = %q{1.3.7}
555
565
  s.summary = %q{Behaviour Driven Development with elegance and joy}
556
566
  s.test_files = [
557
567
  "spec/cucumber/ast/background_spec.rb",
@@ -674,6 +684,7 @@ for important information about this release. Happy cuking!
674
684
  "examples/i18n/zh-CN/lib/calculator.rb",
675
685
  "examples/i18n/zh-TW/features/step_definitons/calculator_steps.rb",
676
686
  "examples/i18n/zh-TW/lib/calculator.rb",
687
+ "examples/json/features/step_definitions/steps.rb",
677
688
  "examples/junit/features/step_definitions/steps.rb",
678
689
  "examples/ramaze/app.rb",
679
690
  "examples/ramaze/features/step_definitions/add_steps.rb",
@@ -700,6 +711,7 @@ for important information about this release. Happy cuking!
700
711
  "examples/tickets/features/lib/pantry.rb",
701
712
  "examples/tickets/features/step_definitons/246_steps.rb",
702
713
  "examples/tickets/features/step_definitons/248_steps.rb",
714
+ "examples/tickets/features/step_definitons/around_timeout_steps.rb",
703
715
  "examples/tickets/features/step_definitons/half_manual_steps.rb",
704
716
  "examples/tickets/features/step_definitons/scenario_outline_steps.rb",
705
717
  "examples/tickets/features/step_definitons/tickets_steps.rb",
@@ -714,44 +726,44 @@ for important information about this release. Happy cuking!
714
726
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
715
727
  s.specification_version = 3
716
728
 
717
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
718
- s.add_runtime_dependency(%q<gherkin>, [">= 1.0.27"])
729
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
730
+ s.add_runtime_dependency(%q<gherkin>, [">= 1.0.30"])
719
731
  s.add_runtime_dependency(%q<term-ansicolor>, [">= 1.0.4"])
720
732
  s.add_runtime_dependency(%q<builder>, [">= 2.1.2"])
721
733
  s.add_runtime_dependency(%q<diff-lcs>, [">= 1.1.2"])
722
- s.add_runtime_dependency(%q<json_pure>, [">= 1.2.4"])
723
- s.add_development_dependency(%q<nokogiri>, [">= 1.4.1"])
734
+ s.add_runtime_dependency(%q<json_pure>, [">= 1.4.3"])
735
+ s.add_development_dependency(%q<nokogiri>, [">= 1.4.2"])
724
736
  s.add_development_dependency(%q<prawn>, ["= 0.6.3"])
725
737
  s.add_development_dependency(%q<prawn-format>, ["= 0.2.3"])
726
738
  s.add_development_dependency(%q<htmlentities>, [">= 4.2.1"])
727
- s.add_development_dependency(%q<rspec>, [">= 1.3.0"])
739
+ s.add_development_dependency(%q<rspec>, [">= 2.0.0.beta.10"])
728
740
  s.add_development_dependency(%q<syntax>, [">= 1.0.0"])
729
741
  s.add_development_dependency(%q<spork>, [">= 0.8.3"])
730
742
  else
731
- s.add_dependency(%q<gherkin>, [">= 1.0.27"])
743
+ s.add_dependency(%q<gherkin>, [">= 1.0.30"])
732
744
  s.add_dependency(%q<term-ansicolor>, [">= 1.0.4"])
733
745
  s.add_dependency(%q<builder>, [">= 2.1.2"])
734
746
  s.add_dependency(%q<diff-lcs>, [">= 1.1.2"])
735
- s.add_dependency(%q<json_pure>, [">= 1.2.4"])
736
- s.add_dependency(%q<nokogiri>, [">= 1.4.1"])
747
+ s.add_dependency(%q<json_pure>, [">= 1.4.3"])
748
+ s.add_dependency(%q<nokogiri>, [">= 1.4.2"])
737
749
  s.add_dependency(%q<prawn>, ["= 0.6.3"])
738
750
  s.add_dependency(%q<prawn-format>, ["= 0.2.3"])
739
751
  s.add_dependency(%q<htmlentities>, [">= 4.2.1"])
740
- s.add_dependency(%q<rspec>, [">= 1.3.0"])
752
+ s.add_dependency(%q<rspec>, [">= 2.0.0.beta.10"])
741
753
  s.add_dependency(%q<syntax>, [">= 1.0.0"])
742
754
  s.add_dependency(%q<spork>, [">= 0.8.3"])
743
755
  end
744
756
  else
745
- s.add_dependency(%q<gherkin>, [">= 1.0.27"])
757
+ s.add_dependency(%q<gherkin>, [">= 1.0.30"])
746
758
  s.add_dependency(%q<term-ansicolor>, [">= 1.0.4"])
747
759
  s.add_dependency(%q<builder>, [">= 2.1.2"])
748
760
  s.add_dependency(%q<diff-lcs>, [">= 1.1.2"])
749
- s.add_dependency(%q<json_pure>, [">= 1.2.4"])
750
- s.add_dependency(%q<nokogiri>, [">= 1.4.1"])
761
+ s.add_dependency(%q<json_pure>, [">= 1.4.3"])
762
+ s.add_dependency(%q<nokogiri>, [">= 1.4.2"])
751
763
  s.add_dependency(%q<prawn>, ["= 0.6.3"])
752
764
  s.add_dependency(%q<prawn-format>, ["= 0.2.3"])
753
765
  s.add_dependency(%q<htmlentities>, [">= 4.2.1"])
754
- s.add_dependency(%q<rspec>, [">= 1.3.0"])
766
+ s.add_dependency(%q<rspec>, [">= 2.0.0.beta.10"])
755
767
  s.add_dependency(%q<syntax>, [">= 1.0.0"])
756
768
  s.add_dependency(%q<spork>, [">= 0.8.3"])
757
769
  end
@@ -0,0 +1,7 @@
1
+ Feature: Feature with background
2
+
3
+ Background:
4
+ Given a passing step
5
+
6
+ Scenario:
7
+ Given a failing step
@@ -0,0 +1,11 @@
1
+ @a
2
+ Feature: One passing scenario, one failing scenario
3
+
4
+ @b
5
+ Scenario: Passing
6
+ Given a passing step
7
+
8
+ @c
9
+ Scenario: Failing
10
+ Given a failing step
11
+
@@ -0,0 +1,8 @@
1
+ Feature: A py string feature
2
+
3
+ Scenario:
4
+ Then I should see
5
+ """
6
+ a string
7
+ """
8
+
@@ -0,0 +1,27 @@
1
+ Given /a passing step/ do
2
+ #does nothing
3
+ end
4
+
5
+ Given /a failing step/ do
6
+ fail
7
+ end
8
+
9
+ Given /a pending step/ do
10
+ pending
11
+ end
12
+
13
+ Given /^I add (\d+) and (\d+)$/ do |a,b|
14
+ @result = a.to_i + b.to_i
15
+ end
16
+
17
+ Then /^I the result should be (\d+)$/ do |c|
18
+ @result.should == c.to_i
19
+ end
20
+
21
+ Then /^I should see/ do |string|
22
+
23
+ end
24
+
25
+ Given /^I pass a table argument/ do |table|
26
+
27
+ end
@@ -0,0 +1,13 @@
1
+ Feature: A scenario outline
2
+
3
+ Scenario Outline:
4
+ Given I add <a> and <b>
5
+ When I pass a table argument
6
+ | foo | bar |
7
+ | bar | baz |
8
+ Then I the result should be <c>
9
+
10
+ Examples:
11
+ | a | b | c |
12
+ | 1 | 2 | 3 |
13
+ | 2 | 3 | 4 |
@@ -0,0 +1 @@
1
+ {"features":[{"tags":["@a"],"file":"features/one_passing_one_failing.feature","elements":[{"tags":["@b"],"keyword":"Scenario","steps":[{"status":"passed","file_colon_line":"features/step_definitions/steps.rb:1","name":"Given a passing step"}],"file_colon_line":"features/one_passing_one_failing.feature:5","name":"Passing"},{"tags":["@c"],"keyword":"Scenario","steps":[{"status":"failed","exception":{"class":"RuntimeError","message":"","backtrace":["./features/step_definitions/steps.rb:6:in `/a failing step/'","features/one_passing_one_failing.feature:10:in `Given a failing step'"]},"file_colon_line":"features/step_definitions/steps.rb:5","name":"Given a failing step"}],"file_colon_line":"features/one_passing_one_failing.feature:9","name":"Failing"}],"name":"One passing scenario, one failing scenario"}]}
@@ -81,3 +81,4 @@ After('@after_file') do
81
81
  FileUtils.mkdir_p(File.dirname(after_file))
82
82
  FileUtils.touch(after_file)
83
83
  end
84
+
@@ -0,0 +1,6 @@
1
+ Feature: Be fast
2
+
3
+ @fast
4
+ Scenario: Fail if too slow
5
+ # This will start failing if we change the number above 0.5
6
+ When I take 0.2 seconds to complete
@@ -0,0 +1,9 @@
1
+ Around('@fast') do |scenario, block|
2
+ Timeout.timeout(0.5) do
3
+ block.call
4
+ end
5
+ end
6
+
7
+ When /^I take (.+) seconds to complete$/ do |seconds|
8
+ sleep seconds.to_f
9
+ end
@@ -1,4 +1,6 @@
1
1
  $:.unshift(File.dirname(__FILE__) + '/../../lib')
2
2
  require 'cucumber/rake/task'
3
3
 
4
- Cucumber::Rake::Task.new
4
+ Cucumber::Rake::Task.new
5
+
6
+ task :default => 'cucumber'
@@ -32,15 +32,12 @@ Feature: Fibonacci
32
32
  | cell 1 | cell 2 |
33
33
  | 1 | 1 |
34
34
 
35
-
36
- @do-fibonnacci-in-before-hook
37
- Scenario: Single series with Before hook with a tag label
38
- Then it should give me [1, 1, 2]
39
-
40
- @another-do-fibonnacci-in-before-hook
35
+ @do-fibonnacci-in-before-hook @reviewed
41
36
  Scenario: Single series with Before hook with a tag label
42
37
  Then it should give me [1, 1, 2]
43
38
 
44
-
45
39
  Scenario: Single series by calling a step from within a step
46
40
  Then it should give me [1, 1] via calling another step definition
41
+
42
+ Scenario: Single series by calling multiple steps from within a step
43
+ Then it should calculate fibonacci up to 2 giving me [1, 1]
@@ -2,7 +2,7 @@ Before(function(){
2
2
  fibResult = 0;
3
3
  });
4
4
 
5
- Before(['@another-do-fibonnacci-in-before-hook,@do-fibonnacci-in-before-hook'], function(){
5
+ Before(['@do-fibonnacci-in-before-hook', '@reviewed'], function(){
6
6
  fibResult = fibonacciSeries(3);
7
7
  });
8
8
 
@@ -15,7 +15,7 @@ Transform(/^(\d+)$/, function(n){
15
15
  });
16
16
 
17
17
  When(/^I ask Javascript to calculate fibonacci up to (\d+)$/, function(n){
18
- assertEqual(0, fibResult)
18
+ assertEqual(fibResult, 0);
19
19
  fibResult = fibonacciSeries(n);
20
20
  });
21
21
 
@@ -33,7 +33,7 @@ Then(/^it should give me:$/, function(string){
33
33
  });
34
34
 
35
35
  Then(/^it should contain:$/, function(table){
36
- var hashes = table.hashes();
36
+ var hashes = table.hashes;
37
37
  assertMatches(hashes[0]['cell 1'], fibResult);
38
38
  assertMatches(hashes[0]['cell 2'], fibResult);
39
39
  });
@@ -43,3 +43,7 @@ Then(/^it should give me (\[.*\]) via calling another step definition$/, functio
43
43
  assertEqual(expectedResult, fibResult);
44
44
  });
45
45
 
46
+ Then(/^it should calculate fibonacci up to (\d+) giving me (\[.*\])/, function(n, expectedResult){
47
+ steps("Given I ask Javascript to calculate fibonacci up to "+ n + "\n" +
48
+ "Then it should give me "+ expectedResult);
49
+ });
@@ -1,3 +1,6 @@
1
+ //The path is relative to the folder which contains the features folder
2
+ World(['lib/fibonacci.js']);
3
+
1
4
  function assertEqual(expected, actual){
2
5
  if(expected != actual){
3
6
  throw 'Expected <' + expected + "> but got <" + actual + ">";
@@ -147,7 +147,7 @@ Feature: Delayed announcement
147
147
  WORLD:
148
148
  Object
149
149
 
150
- Rspec::Matchers
150
+ RSpec::Matchers
151
151
  Cucumber::RbSupport::RbWorld
152
152
  """
153
153
 
@@ -17,7 +17,7 @@ Feature: Cucumber command line
17
17
  @@ -1,2 +1,2 @@
18
18
  -that
19
19
  +this
20
- (Rspec::Expectations::ExpectationNotMetError)
20
+ (RSpec::Expectations::ExpectationNotMetError)
21
21
  ./features/step_definitions/sample_steps.rb:63:in `/^failing expectation$/'
22
22
  features/failing_expectation.feature:4:in `Given failing expectation'
23
23
 
@@ -28,26 +28,3 @@ Feature: Cucumber command line
28
28
  1 step (1 failed)
29
29
 
30
30
  """
31
-
32
- @rspec2
33
- Scenario: Run single failing scenario with diff output disabled
34
- When I run cucumber -q --no-diff features/failing_expectation.feature
35
- Then it should fail with
36
- """
37
- Feature: Failing expectation
38
-
39
- Scenario: Failing expectation
40
- Given failing expectation
41
- expected: "that",
42
- got: "this" (using ==) (Rspec::Expectations::ExpectationNotMetError)
43
- ./features/step_definitions/sample_steps.rb:63:in `/^failing expectation$/'
44
- features/failing_expectation.feature:4:in `Given failing expectation'
45
-
46
- Failing Scenarios:
47
- cucumber features/failing_expectation.feature:3 # Scenario: Failing expectation
48
-
49
- 1 scenario (1 failed)
50
- 1 step (1 failed)
51
-
52
- """
53
-