gurke 2.0.0.dev.1.b22 → 2.0.0.dev.1.b23
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.
- checksums.yaml +8 -8
- data/features/gurke/pending_steps.feature +16 -0
- data/lib/gurke/feature_list.rb +2 -2
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YTBkYzBmMmU5NzdhYzRhYzRiYmIwOTU1NWZjOWM0OTFiOTMzYTk2NQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ODM1MDFmOTkzYmNmMzYwZWQ4NGE5NGE5YzQyZmM3ODc3ZjhmMTc0ZQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ODgyZmE5NDgzYzllNjQ2YjhiNDFlYTA1NjYzZGE2ODc5ODhlZTM2YWY5ODFm
|
10
|
+
ZmY4ODZkMjQ0NDY1NjhjNmNjNjdlZWY2YzhkZWUxYTJhY2IzZTdkNWRiZmVm
|
11
|
+
YThhZGUxNDQwNjg4NjcyNDMwNWZmNzI0N2M0NWYwNzk1NWY5ZjY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ODI2ZWVmODVmYjUyZTIzNTQ2MDNjZTEzZTczYjg5ODcxNjA2ZTM5ZDQxOTM5
|
14
|
+
MDJhNmI3MjNiOGMyZTAxMDc5ZmJkNGRhOTY5NjY1Njk3NjgyYWUyYmMxMjdm
|
15
|
+
OWU0NGFmZWUzZGEzMjUxNzdhMzQ0M2JmZWNiOWJiNDI1NzhkY2I=
|
@@ -0,0 +1,16 @@
|
|
1
|
+
Feature: Pending Steps
|
2
|
+
|
3
|
+
Background:
|
4
|
+
Given I am in a project using gurke
|
5
|
+
|
6
|
+
Scenario: Use same step definition with different keyword
|
7
|
+
Given a file "features/test.feature" with the following content exists
|
8
|
+
"""
|
9
|
+
Feature: F
|
10
|
+
Scenario: Scenario A
|
11
|
+
Given I am "John"
|
12
|
+
|
13
|
+
"""
|
14
|
+
When I execute all scenarios
|
15
|
+
Then the program exit code should be null
|
16
|
+
And the program output should include "1 pending"
|
data/lib/gurke/feature_list.rb
CHANGED
@@ -6,7 +6,7 @@ module Gurke
|
|
6
6
|
#
|
7
7
|
# Run all features from this list.
|
8
8
|
#
|
9
|
-
# @return [Boolean] False if any scenario has failed
|
9
|
+
# @return [Boolean] False if any scenario has failed.
|
10
10
|
#
|
11
11
|
# @api private
|
12
12
|
#
|
@@ -19,7 +19,7 @@ module Gurke
|
|
19
19
|
|
20
20
|
reporter.invoke :after_features, self
|
21
21
|
|
22
|
-
!any?{|s| s.failed?
|
22
|
+
!any?{|s| s.failed? }
|
23
23
|
end
|
24
24
|
|
25
25
|
private
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gurke
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.dev.1.
|
4
|
+
version: 2.0.0.dev.1.b23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Graichen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: trollop
|
@@ -81,6 +81,7 @@ files:
|
|
81
81
|
- features/gurke.rb
|
82
82
|
- features/gurke/backtrace_filtering.feature
|
83
83
|
- features/gurke/filter_by_tags.feature
|
84
|
+
- features/gurke/pending_steps.feature
|
84
85
|
- features/gurke/step_specific_definitions.feature
|
85
86
|
- features/support/steps/cli_steps.rb
|
86
87
|
- features/support/steps/file_steps.rb
|
@@ -139,6 +140,7 @@ test_files:
|
|
139
140
|
- features/gurke.rb
|
140
141
|
- features/gurke/backtrace_filtering.feature
|
141
142
|
- features/gurke/filter_by_tags.feature
|
143
|
+
- features/gurke/pending_steps.feature
|
142
144
|
- features/gurke/step_specific_definitions.feature
|
143
145
|
- features/support/steps/cli_steps.rb
|
144
146
|
- features/support/steps/file_steps.rb
|