aslakhellesoy-cucumber 0.1.100.4 → 0.1.100.5
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +1 -0
- data/Manifest.txt +1 -0
- data/examples/self_test/Rakefile +1 -1
- data/examples/tickets/Rakefile +13 -8
- data/examples/tickets/cucumber.yml +2 -1
- data/examples/tickets/features/241.feature +13 -0
- data/examples/tickets/features/step_definitons/tickets_steps.rb +12 -0
- data/lib/cucumber/ast/step_invocation.rb +4 -0
- data/lib/cucumber/version.rb +1 -1
- metadata +3 -1
data/History.txt
CHANGED
@@ -57,6 +57,7 @@ Scenario Outlines, the rich command line, the nice output format and everything
|
|
57
57
|
pure Ruby users have been enjoying for a while.
|
58
58
|
|
59
59
|
== Bugfixes
|
60
|
+
* New StepInvocation breaks console formatter for pending steps. (#241 Jacob Radford)
|
60
61
|
* Within Scenario Outlines when replacing with a nil in a step name use empty string instead. (#237 Joseph Wilk)
|
61
62
|
* Fixed bug with Scenario Outlines incorrectly replacing values in step tables with nil. (#237 Joseph Wilk)
|
62
63
|
* Within Scenario Outlines when replacing with a nil in multiline strings use empty string instead. (#238 Joseph Wilk)
|
data/Manifest.txt
CHANGED
@@ -177,6 +177,7 @@ examples/tickets/features/177/2.feature
|
|
177
177
|
examples/tickets/features/177/3.feature
|
178
178
|
examples/tickets/features/180.feature
|
179
179
|
examples/tickets/features/236.feature
|
180
|
+
examples/tickets/features/241.feature
|
180
181
|
examples/tickets/features/lib/eatting_machine.rb
|
181
182
|
examples/tickets/features/lib/pantry.rb
|
182
183
|
examples/tickets/features/scenario_outline.feature
|
data/examples/self_test/Rakefile
CHANGED
data/examples/tickets/Rakefile
CHANGED
@@ -1,11 +1,16 @@
|
|
1
1
|
$:.unshift(File.dirname(__FILE__) + '/../../lib')
|
2
2
|
require 'cucumber/rake/task'
|
3
3
|
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
Cucumber::Rake::Task.new do |t|
|
9
|
-
|
10
|
-
|
11
|
-
|
4
|
+
Cucumber::Rake::Task.new(:pretty) do |t|
|
5
|
+
t.cucumber_opts = "--format pretty"
|
6
|
+
end
|
7
|
+
|
8
|
+
Cucumber::Rake::Task.new(:html) do |t|
|
9
|
+
t.cucumber_opts = "--format html --out features.html"
|
10
|
+
end
|
11
|
+
|
12
|
+
Cucumber::Rake::Task.new(:progress) do |t|
|
13
|
+
t.cucumber_opts = "--format progress -i -n"
|
14
|
+
end
|
15
|
+
|
16
|
+
task :default => [:pretty, :html, :progress]
|
@@ -0,0 +1,13 @@
|
|
1
|
+
Users want to use cucumber, so tests are necessary to verify
|
2
|
+
it is all working as expected
|
3
|
+
|
4
|
+
Feature: Using the Console Formatter
|
5
|
+
In order to verify this error
|
6
|
+
I want to run this feature using the progress format
|
7
|
+
So that it can be fixed
|
8
|
+
|
9
|
+
Scenario: A normal feature
|
10
|
+
Given I have a pending step
|
11
|
+
When I run this feature with the progress format
|
12
|
+
Then I should get a no method error for 'backtrace_line'
|
13
|
+
|
@@ -59,3 +59,15 @@ end
|
|
59
59
|
Given /^the following users exist in the system$/ do |table|
|
60
60
|
table.hashes[0][:role_assignments].should == 'HUMAN RESOURCE'
|
61
61
|
end
|
62
|
+
|
63
|
+
Given /^I have a pending step$/ do
|
64
|
+
pending
|
65
|
+
end
|
66
|
+
|
67
|
+
When /^I run this feature with the progress format$/ do
|
68
|
+
pending
|
69
|
+
end
|
70
|
+
|
71
|
+
Then /^I should get a no method error for 'backtrace_line'$/ do
|
72
|
+
pending
|
73
|
+
end
|
@@ -98,6 +98,10 @@ module Cucumber
|
|
98
98
|
@step.file_colon_line
|
99
99
|
end
|
100
100
|
|
101
|
+
def backtrace_line
|
102
|
+
@step.backtrace_line
|
103
|
+
end
|
104
|
+
|
101
105
|
def to_sexp
|
102
106
|
[:step_invocation, @step.line, @step.keyword, @name, (@multiline_arg.nil? ? nil : @multiline_arg.to_sexp)].compact
|
103
107
|
end
|
data/lib/cucumber/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aslakhellesoy-cucumber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.100.
|
4
|
+
version: 0.1.100.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- "Aslak Helles\xC3\xB8y"
|
@@ -220,6 +220,7 @@ files:
|
|
220
220
|
- examples/jbehave/src/main/java/cukes/jbehave/examples/trader/model/Trader.java
|
221
221
|
- examples/jbehave/src/main/java/cukes/jbehave/examples/trader/persistence/TraderPersister.java
|
222
222
|
- examples/jbehave/src/main/java/cukes/jbehave/examples/trader/scenarios/TraderSteps.java
|
223
|
+
- examples/jbehave/target/maven-archiver/pom.properties
|
223
224
|
- examples/selenium/Rakefile
|
224
225
|
- examples/selenium/features/search.feature
|
225
226
|
- examples/selenium/features/step_definitons/search_steps.rb
|
@@ -263,6 +264,7 @@ files:
|
|
263
264
|
- examples/tickets/features/177/3.feature
|
264
265
|
- examples/tickets/features/180.feature
|
265
266
|
- examples/tickets/features/236.feature
|
267
|
+
- examples/tickets/features/241.feature
|
266
268
|
- examples/tickets/features/lib/eatting_machine.rb
|
267
269
|
- examples/tickets/features/lib/pantry.rb
|
268
270
|
- examples/tickets/features/scenario_outline.feature
|