gherkin 2.1.2 → 2.1.3
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.
data/History.txt
CHANGED
data/VERSION.yml
CHANGED
|
@@ -6,8 +6,8 @@ require 'gherkin/listener/formatter_listener'
|
|
|
6
6
|
module Gherkin
|
|
7
7
|
module Parser
|
|
8
8
|
class ParseError < StandardError
|
|
9
|
-
def initialize(state, new_state, expected_states, line)
|
|
10
|
-
super("Parse error on line #{line}. Found #{new_state} when expecting one of: #{expected_states.join(', ')}. (Current state: #{state}).")
|
|
9
|
+
def initialize(state, new_state, expected_states, uri, line)
|
|
10
|
+
super("Parse error on line #{uri}:#{line}. Found #{new_state} when expecting one of: #{expected_states.join(', ')}. (Current state: #{state}).")
|
|
11
11
|
end
|
|
12
12
|
end
|
|
13
13
|
|
|
@@ -55,6 +55,11 @@ module Gherkin
|
|
|
55
55
|
it "should filter on second examples tag" do
|
|
56
56
|
verify_filter(['@hamster'], 1..14, 46..49, 56..61)
|
|
57
57
|
end
|
|
58
|
+
|
|
59
|
+
it "should not replay examples from ignored scenario outline" do
|
|
60
|
+
self.file = 'scenario_outline_with_tags.feature'
|
|
61
|
+
verify_filter(['~@wip'], 1..2, 12..14)
|
|
62
|
+
end
|
|
58
63
|
end
|
|
59
64
|
|
|
60
65
|
context "names" do
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gherkin
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 13
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 2
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 2.1.
|
|
9
|
+
- 3
|
|
10
|
+
version: 2.1.3
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Mike Sassak
|
|
@@ -17,7 +17,7 @@ autorequire:
|
|
|
17
17
|
bindir: bin
|
|
18
18
|
cert_chain: []
|
|
19
19
|
|
|
20
|
-
date: 2010-07-
|
|
20
|
+
date: 2010-07-14 00:00:00 +02:00
|
|
21
21
|
default_executable: gherkin
|
|
22
22
|
dependencies:
|
|
23
23
|
- !ruby/object:Gem::Dependency
|
|
@@ -315,6 +315,7 @@ files:
|
|
|
315
315
|
- spec/gherkin/fixtures/i18n_fr.feature
|
|
316
316
|
- spec/gherkin/fixtures/i18n_no.feature
|
|
317
317
|
- spec/gherkin/fixtures/i18n_zh-CN.feature
|
|
318
|
+
- spec/gherkin/fixtures/scenario_outline_with_tags.feature
|
|
318
319
|
- spec/gherkin/fixtures/simple_with_comments.feature
|
|
319
320
|
- spec/gherkin/fixtures/simple_with_tags.feature
|
|
320
321
|
- spec/gherkin/fixtures/with_bom.feature
|