aslakhellesoy-cucumber 0.1.100.2 → 0.1.100.3
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +0 -17
- data/Manifest.txt +1 -0
- data/examples/tickets/features/step_definitons/tickets_steps.rb +5 -4
- data/examples/tickets/features/tickets.feature +1 -1
- data/lib/cucumber/ast/step.rb +0 -4
- data/lib/cucumber/ast/step_invocation.rb +1 -1
- data/lib/cucumber/ast/table.rb +0 -1
- data/lib/cucumber/cli/configuration.rb +1 -1
- data/lib/cucumber/version.rb +1 -1
- metadata +1 -2
data/History.txt
CHANGED
@@ -56,23 +56,6 @@ which is a richer DSL than JBehave's language. -Over 20 spoken languages, Tables
|
|
56
56
|
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
|
-
== TODO Before 0.2 release
|
60
|
-
* Make sure all features and specs pass on Windows, JRuby and Ruby 1.9
|
61
|
-
* Wiki page about running subsets
|
62
|
-
** file:line
|
63
|
-
*** scenario (or step within)
|
64
|
-
*** scenario outline
|
65
|
-
*** scenario outline examples
|
66
|
-
*** line in an example table
|
67
|
-
*** background (same as whole file)
|
68
|
-
*** fix bugs in any of those cases (there are some)
|
69
|
-
** --tags
|
70
|
-
*** Link to page about tags
|
71
|
-
* Tags with arguments
|
72
|
-
* cucumber.jar + examples
|
73
|
-
** Remove need for -S cucumber
|
74
|
-
** Full jar and simple jar
|
75
|
-
|
76
59
|
== Bugfixes
|
77
60
|
* Re-structure the ast: Feature -> Background -> (Scenario|ScenarioOutline)*. Fixes bug with background being called outside transactions. (#181 Joseph Wilk)
|
78
61
|
* --strict always exits with status 1 (#230 Tim Cuthbertson)
|
data/Manifest.txt
CHANGED
@@ -170,6 +170,7 @@ examples/tickets/features/177/1.feature
|
|
170
170
|
examples/tickets/features/177/2.feature
|
171
171
|
examples/tickets/features/177/3.feature
|
172
172
|
examples/tickets/features/180.feature
|
173
|
+
examples/tickets/features/236.feature
|
173
174
|
examples/tickets/features/lib/eatting_machine.rb
|
174
175
|
examples/tickets/features/lib/pantry.rb
|
175
176
|
examples/tickets/features/scenario_outline.feature
|
@@ -5,9 +5,6 @@ World do
|
|
5
5
|
end
|
6
6
|
|
7
7
|
After do |scenario|
|
8
|
-
if scenario.status.index(:failed)
|
9
|
-
# Call the BDD police
|
10
|
-
end
|
11
8
|
end
|
12
9
|
|
13
10
|
Given "be_empty" do
|
@@ -53,8 +50,12 @@ Then /^I should be (\w+) in (\w+)$/ do |key, value|
|
|
53
50
|
hash[key].should == value
|
54
51
|
end
|
55
52
|
|
56
|
-
Then /^I
|
53
|
+
Then /^I should see a multiline string like$/ do |s|
|
57
54
|
s.should == %{A string
|
58
55
|
that spans
|
59
56
|
several lines}
|
60
57
|
end
|
58
|
+
|
59
|
+
Given /^the following users exist in the system$/ do |table|
|
60
|
+
table.hashes[0][:role_assignments].should == 'HUMAN RESOURCE'
|
61
|
+
end
|
data/lib/cucumber/ast/step.rb
CHANGED
@@ -30,10 +30,6 @@ module Cucumber
|
|
30
30
|
StepInvocation.new(self, name, multiline_arg, matched_cells)
|
31
31
|
end
|
32
32
|
|
33
|
-
def invoke(step_match, world)
|
34
|
-
step_match.invoke(world, @multiline_arg)
|
35
|
-
end
|
36
|
-
|
37
33
|
def accept(visitor)
|
38
34
|
# The only time a Step is visited is when it is in a ScenarioOutline.
|
39
35
|
# Otherwise it's always StepInvocation that gest visited instead.
|
@@ -29,7 +29,7 @@ module Cucumber
|
|
29
29
|
@skip_invoke = true
|
30
30
|
begin
|
31
31
|
step_mother.current_world.__cucumber_current_step = self
|
32
|
-
@
|
32
|
+
@step_match.invoke(step_mother.current_world, @multiline_arg)
|
33
33
|
status!(:passed)
|
34
34
|
rescue Pending => e
|
35
35
|
failed(e, false)
|
data/lib/cucumber/ast/table.rb
CHANGED
@@ -74,7 +74,7 @@ module Cucumber
|
|
74
74
|
opts.on("-t TAGS", "--tags TAGS",
|
75
75
|
"Only execute the features or scenarios with the specified tags.",
|
76
76
|
"TAGS must be comma-separated without spaces. Prefix tags with ~ to",
|
77
|
-
"exclude features or scenarios having that tag.
|
77
|
+
"exclude features or scenarios having that tag. Tags can be specified",
|
78
78
|
"with or without the @ prefix.") do |v|
|
79
79
|
@options[:include_tags], @options[:exclude_tags] = *parse_tags(v)
|
80
80
|
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.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- "Aslak Helles\xC3\xB8y"
|
@@ -408,7 +408,6 @@ files:
|
|
408
408
|
- spec/cucumber/world/pending_spec.rb
|
409
409
|
- spec/spec.opts
|
410
410
|
- spec/spec_helper.rb
|
411
|
-
- target/maven-archiver/pom.properties
|
412
411
|
has_rdoc: true
|
413
412
|
homepage: http://cukes.info
|
414
413
|
post_install_message:
|