aslakhellesoy-cucumber 0.3.11.1 → 0.3.11.3

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,5 +1,9 @@
1
1
  == 0.3.12 (In Git)
2
2
 
3
+ === Bugfixes
4
+ * CLI issues correct exit code when using --drb. Requires Spork version >= 0.5.1. (#355 Ben Mabey)
5
+ * Make sure script/generate cucumber --spork uses the cucumber Rails environment (Philippe Lafoucrière)
6
+
3
7
  === Changed Features
4
8
  * The data returned from Table#hashes and similar methods are frozen. Dup if you need to modify. (Aslak Hellesøy)
5
9
 
data/Manifest.txt CHANGED
@@ -272,6 +272,7 @@ gem_tasks/fix_cr_lf.rake
272
272
  gem_tasks/flog.rake
273
273
  gem_tasks/gemspec.rake
274
274
  gem_tasks/rspec.rake
275
+ gem_tasks/sass.rake
275
276
  gem_tasks/yard.rake
276
277
  lib/autotest/cucumber.rb
277
278
  lib/autotest/cucumber_mixin.rb
@@ -373,11 +374,6 @@ spec/cucumber/core_ext/string_spec.rb
373
374
  spec/cucumber/formatter/ansicolor_spec.rb
374
375
  spec/cucumber/formatter/color_io_spec.rb
375
376
  spec/cucumber/formatter/duration_spec.rb
376
- spec/cucumber/formatter/html/cucumber.css
377
- spec/cucumber/formatter/html/cucumber.js
378
- spec/cucumber/formatter/html/index.html
379
- spec/cucumber/formatter/html/jquery-1.3.min.js
380
- spec/cucumber/formatter/html/jquery.uitableedit.js
381
377
  spec/cucumber/formatter/progress_spec.rb
382
378
  spec/cucumber/parser/feature_parser_spec.rb
383
379
  spec/cucumber/parser/table_parser_spec.rb
data/cucumber.yml CHANGED
@@ -1 +1,2 @@
1
1
  default: --format progress features --tags ~@proposed,~@in_progress
2
+ wip: --tags @in_progress --wip features
@@ -1,4 +1,3 @@
1
- @in_progress
2
1
  Feature: DRb Server Integration
3
2
  To prevent waiting for Rails and other large Ruby applications to load their environments
4
3
  for each feature run Cucumber ships with a DRb client that can speak to a server which
@@ -35,7 +34,7 @@ Feature: DRb Server Integration
35
34
  end
36
35
  """
37
36
 
38
- Scenario: Feature Run with --drb flag
37
+ Scenario: Feature Passing with --drb flag
39
38
  Given I am running "spork cuc" in the background
40
39
 
41
40
  When I run cucumber features/sample.feature --drb
@@ -53,6 +52,29 @@ Feature: DRb Server Integration
53
52
  I'm loading all the heavy stuff...
54
53
  """
55
54
 
55
+ Scenario: Feature Failing with --drb flag
56
+ Given a file named "features/step_definitions/all_your_steps_are_belong_to_us.rb" with:
57
+ """
58
+ Given /^I am just testing stuff$/ do
59
+ raise "Oh noes!"
60
+ end
61
+ """
62
+ And I am running "spork cuc" in the background
63
+
64
+ When I run cucumber features/sample.feature --drb
65
+ Then it should fail
66
+ And the output should contain
67
+ """
68
+ 1 step (1 failed)
69
+ """
70
+ And the output should contain
71
+ """
72
+ I'm loading the stuff just for this run...
73
+ """
74
+ And the output should not contain
75
+ """
76
+ I'm loading all the heavy stuff...
77
+ """
56
78
 
57
79
  Scenario: Feature Run with --drb flag with no DRb server running
58
80
  Cucumber will fall back on running the features locally in this case.