gherkin 5.0.0 → 5.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/gherkin/gherkin-languages.json +50 -4
- data/lib/gherkin/pickles/compiler.rb +3 -0
- metadata +10 -177
- data/.rsync +0 -6
- data/.travis.yml +0 -20
- data/CONTRIBUTING.md +0 -23
- data/Gemfile +0 -2
- data/Makefile +0 -62
- data/Rakefile +0 -24
- data/berp/CommandLine.dll +0 -0
- data/berp/RazorEngine.dll +0 -0
- data/berp/RazorEngine.pdb +0 -0
- data/berp/System.Web.Razor.dll +0 -0
- data/berp/berp.exe +0 -0
- data/berp/berp.pdb +0 -0
- data/bin/gherkin-generate-tokens +0 -13
- data/gherkin-ruby.razor +0 -218
- data/gherkin.berp +0 -37
- data/gherkin.gemspec +0 -27
- data/testdata/bad/inconsistent_cell_count.feature +0 -14
- data/testdata/bad/inconsistent_cell_count.feature.errors.ndjson +0 -2
- data/testdata/bad/invalid_language.feature +0 -6
- data/testdata/bad/invalid_language.feature.errors.ndjson +0 -1
- data/testdata/bad/multiple_parser_errors.feature +0 -9
- data/testdata/bad/multiple_parser_errors.feature.errors.ndjson +0 -2
- data/testdata/bad/not_gherkin.feature +0 -2
- data/testdata/bad/not_gherkin.feature.errors.ndjson +0 -1
- data/testdata/bad/single_parser_error.feature +0 -7
- data/testdata/bad/single_parser_error.feature.errors.ndjson +0 -1
- data/testdata/bad/unexpected_eof.feature +0 -6
- data/testdata/bad/unexpected_eof.feature.errors.ndjson +0 -1
- data/testdata/good/background.feature +0 -8
- data/testdata/good/background.feature.ast.ndjson +0 -1
- data/testdata/good/background.feature.pickles.ndjson +0 -1
- data/testdata/good/background.feature.source.ndjson +0 -1
- data/testdata/good/background.feature.tokens +0 -9
- data/testdata/good/datatables.feature +0 -18
- data/testdata/good/datatables.feature.ast.ndjson +0 -1
- data/testdata/good/datatables.feature.pickles.ndjson +0 -1
- data/testdata/good/datatables.feature.source.ndjson +0 -1
- data/testdata/good/datatables.feature.tokens +0 -19
- data/testdata/good/descriptions.feature +0 -52
- data/testdata/good/descriptions.feature.ast.ndjson +0 -1
- data/testdata/good/descriptions.feature.pickles.ndjson +0 -8
- data/testdata/good/descriptions.feature.source.ndjson +0 -1
- data/testdata/good/descriptions.feature.tokens +0 -53
- data/testdata/good/docstrings.feature +0 -43
- data/testdata/good/docstrings.feature.ast.ndjson +0 -1
- data/testdata/good/docstrings.feature.pickles.ndjson +0 -1
- data/testdata/good/docstrings.feature.source.ndjson +0 -1
- data/testdata/good/docstrings.feature.tokens +0 -44
- data/testdata/good/empty.feature +0 -0
- data/testdata/good/empty.feature.ast.ndjson +0 -1
- data/testdata/good/empty.feature.pickles.ndjson +0 -0
- data/testdata/good/empty.feature.source.ndjson +0 -1
- data/testdata/good/empty.feature.tokens +0 -1
- data/testdata/good/escaped_pipes.feature +0 -11
- data/testdata/good/escaped_pipes.feature.ast.ndjson +0 -1
- data/testdata/good/escaped_pipes.feature.pickles.ndjson +0 -1
- data/testdata/good/escaped_pipes.feature.source.ndjson +0 -1
- data/testdata/good/escaped_pipes.feature.tokens +0 -14
- data/testdata/good/example_token_multiple.feature +0 -8
- data/testdata/good/example_token_multiple.feature.ast.ndjson +0 -1
- data/testdata/good/example_token_multiple.feature.pickles.ndjson +0 -1
- data/testdata/good/example_token_multiple.feature.source.ndjson +0 -1
- data/testdata/good/example_token_multiple.feature.tokens +0 -9
- data/testdata/good/example_tokens_everywhere.feature +0 -14
- data/testdata/good/example_tokens_everywhere.feature.ast.ndjson +0 -1
- data/testdata/good/example_tokens_everywhere.feature.pickles.ndjson +0 -2
- data/testdata/good/example_tokens_everywhere.feature.source.ndjson +0 -1
- data/testdata/good/example_tokens_everywhere.feature.tokens +0 -15
- data/testdata/good/i18n_emoji.feature +0 -5
- data/testdata/good/i18n_emoji.feature.ast.ndjson +0 -1
- data/testdata/good/i18n_emoji.feature.pickles.ndjson +0 -1
- data/testdata/good/i18n_emoji.feature.source.ndjson +0 -1
- data/testdata/good/i18n_emoji.feature.tokens +0 -6
- data/testdata/good/i18n_fr.feature +0 -63
- data/testdata/good/i18n_fr.feature.ast.ndjson +0 -1
- data/testdata/good/i18n_fr.feature.pickles.ndjson +0 -11
- data/testdata/good/i18n_fr.feature.source.ndjson +0 -1
- data/testdata/good/i18n_fr.feature.tokens +0 -64
- data/testdata/good/i18n_no.feature +0 -7
- data/testdata/good/i18n_no.feature.ast.ndjson +0 -1
- data/testdata/good/i18n_no.feature.pickles.ndjson +0 -1
- data/testdata/good/i18n_no.feature.source.ndjson +0 -1
- data/testdata/good/i18n_no.feature.tokens +0 -8
- data/testdata/good/incomplete_background_1.feature +0 -6
- data/testdata/good/incomplete_background_1.feature.ast.ndjson +0 -1
- data/testdata/good/incomplete_background_1.feature.pickles.ndjson +0 -1
- data/testdata/good/incomplete_background_1.feature.source.ndjson +0 -1
- data/testdata/good/incomplete_background_1.feature.tokens +0 -7
- data/testdata/good/incomplete_background_2.feature +0 -7
- data/testdata/good/incomplete_background_2.feature.ast.ndjson +0 -1
- data/testdata/good/incomplete_background_2.feature.pickles.ndjson +0 -1
- data/testdata/good/incomplete_background_2.feature.source.ndjson +0 -1
- data/testdata/good/incomplete_background_2.feature.tokens +0 -8
- data/testdata/good/incomplete_feature_1.feature +0 -2
- data/testdata/good/incomplete_feature_1.feature.ast.ndjson +0 -1
- data/testdata/good/incomplete_feature_1.feature.pickles.ndjson +0 -0
- data/testdata/good/incomplete_feature_1.feature.source.ndjson +0 -1
- data/testdata/good/incomplete_feature_1.feature.tokens +0 -3
- data/testdata/good/incomplete_feature_2.feature +0 -1
- data/testdata/good/incomplete_feature_2.feature.ast.ndjson +0 -1
- data/testdata/good/incomplete_feature_2.feature.pickles.ndjson +0 -0
- data/testdata/good/incomplete_feature_2.feature.source.ndjson +0 -1
- data/testdata/good/incomplete_feature_2.feature.tokens +0 -2
- data/testdata/good/incomplete_feature_3.feature +0 -1
- data/testdata/good/incomplete_feature_3.feature.ast.ndjson +0 -1
- data/testdata/good/incomplete_feature_3.feature.pickles.ndjson +0 -0
- data/testdata/good/incomplete_feature_3.feature.source.ndjson +0 -1
- data/testdata/good/incomplete_feature_3.feature.tokens +0 -2
- data/testdata/good/incomplete_scenario.feature +0 -6
- data/testdata/good/incomplete_scenario.feature.ast.ndjson +0 -1
- data/testdata/good/incomplete_scenario.feature.pickles.ndjson +0 -1
- data/testdata/good/incomplete_scenario.feature.source.ndjson +0 -1
- data/testdata/good/incomplete_scenario.feature.tokens +0 -7
- data/testdata/good/incomplete_scenario_outline.feature +0 -24
- data/testdata/good/incomplete_scenario_outline.feature.ast.ndjson +0 -1
- data/testdata/good/incomplete_scenario_outline.feature.pickles.ndjson +0 -1
- data/testdata/good/incomplete_scenario_outline.feature.source.ndjson +0 -1
- data/testdata/good/incomplete_scenario_outline.feature.tokens +0 -25
- data/testdata/good/language.feature +0 -6
- data/testdata/good/language.feature.ast.ndjson +0 -1
- data/testdata/good/language.feature.pickles.ndjson +0 -1
- data/testdata/good/language.feature.source.ndjson +0 -1
- data/testdata/good/language.feature.tokens +0 -7
- data/testdata/good/minimal.feature +0 -4
- data/testdata/good/minimal.feature.ast.ndjson +0 -1
- data/testdata/good/minimal.feature.pickles.ndjson +0 -1
- data/testdata/good/minimal.feature.source.ndjson +0 -1
- data/testdata/good/minimal.feature.tokens +0 -5
- data/testdata/good/readme_example.feature +0 -18
- data/testdata/good/readme_example.feature.ast.ndjson +0 -1
- data/testdata/good/readme_example.feature.pickles.ndjson +0 -2
- data/testdata/good/readme_example.feature.source.ndjson +0 -1
- data/testdata/good/readme_example.feature.tokens +0 -19
- data/testdata/good/scenario_outline.feature +0 -8
- data/testdata/good/scenario_outline.feature.ast.ndjson +0 -1
- data/testdata/good/scenario_outline.feature.pickles.ndjson +0 -1
- data/testdata/good/scenario_outline.feature.source.ndjson +0 -1
- data/testdata/good/scenario_outline.feature.tokens +0 -9
- data/testdata/good/scenario_outline_no_newline.feature +0 -8
- data/testdata/good/scenario_outline_no_newline.feature.ast.ndjson +0 -1
- data/testdata/good/scenario_outline_no_newline.feature.pickles.ndjson +0 -1
- data/testdata/good/scenario_outline_no_newline.feature.source.ndjson +0 -1
- data/testdata/good/scenario_outline_no_newline.feature.tokens +0 -9
- data/testdata/good/scenario_outlines_with_tags.feature +0 -18
- data/testdata/good/scenario_outlines_with_tags.feature.ast.ndjson +0 -1
- data/testdata/good/scenario_outlines_with_tags.feature.pickles.ndjson +0 -2
- data/testdata/good/scenario_outlines_with_tags.feature.source.ndjson +0 -1
- data/testdata/good/scenario_outlines_with_tags.feature.tokens +0 -19
- data/testdata/good/several_examples.feature +0 -17
- data/testdata/good/several_examples.feature.ast.ndjson +0 -1
- data/testdata/good/several_examples.feature.pickles.ndjson +0 -3
- data/testdata/good/several_examples.feature.source.ndjson +0 -1
- data/testdata/good/several_examples.feature.tokens +0 -18
- data/testdata/good/spaces_in_language.feature +0 -2
- data/testdata/good/spaces_in_language.feature.ast.ndjson +0 -1
- data/testdata/good/spaces_in_language.feature.pickles.ndjson +0 -0
- data/testdata/good/spaces_in_language.feature.source.ndjson +0 -1
- data/testdata/good/spaces_in_language.feature.tokens +0 -3
- data/testdata/good/tagged_feature_with_scenario_outline.feature +0 -10
- data/testdata/good/tagged_feature_with_scenario_outline.feature.ast.ndjson +0 -1
- data/testdata/good/tagged_feature_with_scenario_outline.feature.pickles.ndjson +0 -2
- data/testdata/good/tagged_feature_with_scenario_outline.feature.source.ndjson +0 -1
- data/testdata/good/tagged_feature_with_scenario_outline.feature.tokens +0 -11
- data/testdata/good/tags.feature +0 -25
- data/testdata/good/tags.feature.ast.ndjson +0 -1
- data/testdata/good/tags.feature.pickles.ndjson +0 -3
- data/testdata/good/tags.feature.source.ndjson +0 -1
- data/testdata/good/tags.feature.tokens +0 -26
@@ -1 +0,0 @@
|
|
1
|
-
{"document":{"comments":[{"location":{"column":1,"line":17},"text":" # this is a comment","type":"Comment"}],"feature":{"children":[{"keyword":"Scenario","location":{"column":3,"line":3},"name":"minimalistic","steps":[{"argument":{"location":{"column":7,"line":5},"rows":[{"cells":[{"location":{"column":9,"line":5},"type":"TableCell","value":"foo"},{"location":{"column":15,"line":5},"type":"TableCell","value":"bar"}],"location":{"column":7,"line":5},"type":"TableRow"},{"cells":[{"location":{"column":9,"line":6},"type":"TableCell","value":"boz"},{"location":{"column":15,"line":6},"type":"TableCell","value":"boo"}],"location":{"column":7,"line":6},"type":"TableRow"}],"type":"DataTable"},"keyword":"Given ","location":{"column":5,"line":4},"text":"a simple data table","type":"Step"},{"argument":{"location":{"column":7,"line":8},"rows":[{"cells":[{"location":{"column":9,"line":8},"type":"TableCell","value":"foo"}],"location":{"column":7,"line":8},"type":"TableRow"}],"type":"DataTable"},"keyword":"And ","location":{"column":5,"line":7},"text":"a data table with a single cell","type":"Step"},{"argument":{"location":{"column":7,"line":10},"rows":[{"cells":[{"location":{"column":11,"line":10},"type":"TableCell","value":"foo"},{"location":{"column":15,"line":10},"type":"TableCell","value":"bar"},{"location":{"column":23,"line":10},"type":"TableCell","value":"boz"}],"location":{"column":7,"line":10},"type":"TableRow"}],"type":"DataTable"},"keyword":"And ","location":{"column":5,"line":9},"text":"a data table with different fromatting","type":"Step"},{"argument":{"location":{"column":7,"line":12},"rows":[{"cells":[{"location":{"column":8,"line":12},"type":"TableCell","value":"foo"},{"location":{"column":12,"line":12},"type":"TableCell","value":""},{"location":{"column":13,"line":12},"type":"TableCell","value":"boz"}],"location":{"column":7,"line":12},"type":"TableRow"}],"type":"DataTable"},"keyword":"And ","location":{"column":5,"line":11},"text":"a data table with an empty cell","type":"Step"},{"argument":{"location":{"column":7,"line":14},"rows":[{"cells":[{"location":{"column":9,"line":14},"type":"TableCell","value":"foo"},{"location":{"column":15,"line":14},"type":"TableCell","value":"bar"}],"location":{"column":7,"line":14},"type":"TableRow"},{"cells":[{"location":{"column":9,"line":16},"type":"TableCell","value":"boz"},{"location":{"column":16,"line":16},"type":"TableCell","value":"boo"}],"location":{"column":7,"line":16},"type":"TableRow"},{"cells":[{"location":{"column":9,"line":18},"type":"TableCell","value":"boz2"},{"location":{"column":16,"line":18},"type":"TableCell","value":"boo2"}],"location":{"column":7,"line":18},"type":"TableRow"}],"type":"DataTable"},"keyword":"And ","location":{"column":5,"line":13},"text":"a data table with comments and newlines inside","type":"Step"}],"tags":[],"type":"Scenario"}],"keyword":"Feature","language":"en","location":{"column":1,"line":1},"name":"DataTables","tags":[],"type":"Feature"},"type":"GherkinDocument"},"type":"gherkin-document","uri":"testdata/good/datatables.feature"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"pickle":{"language":"en","locations":[{"column":3,"line":3}],"name":"minimalistic","steps":[{"arguments":[{"rows":[{"cells":[{"location":{"column":9,"line":5},"value":"foo"},{"location":{"column":15,"line":5},"value":"bar"}]},{"cells":[{"location":{"column":9,"line":6},"value":"boz"},{"location":{"column":15,"line":6},"value":"boo"}]}]}],"locations":[{"column":11,"line":4}],"text":"a simple data table"},{"arguments":[{"rows":[{"cells":[{"location":{"column":9,"line":8},"value":"foo"}]}]}],"locations":[{"column":9,"line":7}],"text":"a data table with a single cell"},{"arguments":[{"rows":[{"cells":[{"location":{"column":11,"line":10},"value":"foo"},{"location":{"column":15,"line":10},"value":"bar"},{"location":{"column":23,"line":10},"value":"boz"}]}]}],"locations":[{"column":9,"line":9}],"text":"a data table with different fromatting"},{"arguments":[{"rows":[{"cells":[{"location":{"column":8,"line":12},"value":"foo"},{"location":{"column":12,"line":12},"value":""},{"location":{"column":13,"line":12},"value":"boz"}]}]}],"locations":[{"column":9,"line":11}],"text":"a data table with an empty cell"},{"arguments":[{"rows":[{"cells":[{"location":{"column":9,"line":14},"value":"foo"},{"location":{"column":15,"line":14},"value":"bar"}]},{"cells":[{"location":{"column":9,"line":16},"value":"boz"},{"location":{"column":16,"line":16},"value":"boo"}]},{"cells":[{"location":{"column":9,"line":18},"value":"boz2"},{"location":{"column":16,"line":18},"value":"boo2"}]}]}],"locations":[{"column":9,"line":13}],"text":"a data table with comments and newlines inside"}],"tags":[]},"type":"pickle","uri":"testdata/good/datatables.feature"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"data":"Feature: DataTables\n\n Scenario: minimalistic\n Given a simple data table\n | foo | bar |\r\n | boz | boo |\n And a data table with a single cell\n | foo |\n And a data table with different fromatting\n | foo|bar| boz | \n And a data table with an empty cell\n |foo||boz|\n And a data table with comments and newlines inside\n | foo | bar |\r\n\r\n | boz | boo |\r\n # this is a comment\r\n | boz2 | boo2 |\n","media":{"encoding":"utf-8","type":"text/x.cucumber.gherkin+plain"},"type":"source","uri":"testdata/good/datatables.feature"}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
(1:1)FeatureLine:Feature/DataTables/
|
2
|
-
(2:1)Empty://
|
3
|
-
(3:3)ScenarioLine:Scenario/minimalistic/
|
4
|
-
(4:5)StepLine:Given /a simple data table/
|
5
|
-
(5:7)TableRow://9:foo,15:bar
|
6
|
-
(6:7)TableRow://9:boz,15:boo
|
7
|
-
(7:5)StepLine:And /a data table with a single cell/
|
8
|
-
(8:7)TableRow://9:foo
|
9
|
-
(9:5)StepLine:And /a data table with different fromatting/
|
10
|
-
(10:7)TableRow://11:foo,15:bar,23:boz
|
11
|
-
(11:5)StepLine:And /a data table with an empty cell/
|
12
|
-
(12:7)TableRow://8:foo,12:,13:boz
|
13
|
-
(13:5)StepLine:And /a data table with comments and newlines inside/
|
14
|
-
(14:7)TableRow://9:foo,15:bar
|
15
|
-
(15:1)Empty://
|
16
|
-
(16:7)TableRow://9:boz,16:boo
|
17
|
-
(17:1)Comment:/ # this is a comment/
|
18
|
-
(18:7)TableRow://9:boz2,16:boo2
|
19
|
-
EOF
|
@@ -1,52 +0,0 @@
|
|
1
|
-
Feature: Descriptions everywhere
|
2
|
-
This is a single line description
|
3
|
-
|
4
|
-
Scenario: two lines
|
5
|
-
This description
|
6
|
-
has two lines and indented with two spaces
|
7
|
-
Given the minimalism
|
8
|
-
|
9
|
-
Scenario: without indentation
|
10
|
-
This is a description without indentation
|
11
|
-
Given the minimalism
|
12
|
-
|
13
|
-
Scenario: empty lines in the middle
|
14
|
-
This description
|
15
|
-
|
16
|
-
has an empty line in the middle
|
17
|
-
Given the minimalism
|
18
|
-
|
19
|
-
Scenario: empty lines around
|
20
|
-
|
21
|
-
This description
|
22
|
-
has an empty lines around
|
23
|
-
|
24
|
-
Given the minimalism
|
25
|
-
|
26
|
-
Scenario: comment after description
|
27
|
-
This description
|
28
|
-
has a comment after
|
29
|
-
|
30
|
-
# this is a comment
|
31
|
-
Given the minimalism
|
32
|
-
|
33
|
-
Scenario: comment right after description
|
34
|
-
This description
|
35
|
-
has a comment right after
|
36
|
-
# this is another comment
|
37
|
-
|
38
|
-
Given the minimalism
|
39
|
-
|
40
|
-
Scenario: description with escaped docstring separator
|
41
|
-
This description has an \"\"\" (escaped docstring sparator)
|
42
|
-
|
43
|
-
Given the minimalism
|
44
|
-
|
45
|
-
Scenario Outline: scenario outline with a description
|
46
|
-
This is a scenario outline description
|
47
|
-
Given the minimalism
|
48
|
-
|
49
|
-
Examples: examples with description
|
50
|
-
This is an examples description
|
51
|
-
| foo |
|
52
|
-
| bar |
|
@@ -1 +0,0 @@
|
|
1
|
-
{"document":{"comments":[{"location":{"column":1,"line":30},"text":"# this is a comment","type":"Comment"},{"location":{"column":1,"line":36},"text":" # this is another comment","type":"Comment"}],"feature":{"children":[{"description":" This description\n has two lines and indented with two spaces","keyword":"Scenario","location":{"column":3,"line":4},"name":"two lines","steps":[{"keyword":"Given ","location":{"column":5,"line":7},"text":"the minimalism","type":"Step"}],"tags":[],"type":"Scenario"},{"description":"This is a description without indentation","keyword":"Scenario","location":{"column":1,"line":9},"name":"without indentation","steps":[{"keyword":"Given ","location":{"column":3,"line":11},"text":"the minimalism","type":"Step"}],"tags":[],"type":"Scenario"},{"description":" This description\n\n has an empty line in the middle","keyword":"Scenario","location":{"column":3,"line":13},"name":"empty lines in the middle","steps":[{"keyword":"Given ","location":{"column":5,"line":17},"text":"the minimalism","type":"Step"}],"tags":[],"type":"Scenario"},{"description":" This description\n has an empty lines around","keyword":"Scenario","location":{"column":3,"line":19},"name":"empty lines around","steps":[{"keyword":"Given ","location":{"column":5,"line":24},"text":"the minimalism","type":"Step"}],"tags":[],"type":"Scenario"},{"description":" This description\n has a comment after","keyword":"Scenario","location":{"column":3,"line":26},"name":"comment after description","steps":[{"keyword":"Given ","location":{"column":5,"line":31},"text":"the minimalism","type":"Step"}],"tags":[],"type":"Scenario"},{"description":" This description\n has a comment right after","keyword":"Scenario","location":{"column":3,"line":33},"name":"comment right after description","steps":[{"keyword":"Given ","location":{"column":5,"line":38},"text":"the minimalism","type":"Step"}],"tags":[],"type":"Scenario"},{"description":" This description has an \\\"\\\"\\\" (escaped docstring sparator)","keyword":"Scenario","location":{"column":3,"line":40},"name":"description with escaped docstring separator","steps":[{"keyword":"Given ","location":{"column":5,"line":43},"text":"the minimalism","type":"Step"}],"tags":[],"type":"Scenario"},{"description":"This is a scenario outline description","examples":[{"description":"This is an examples description","keyword":"Examples","location":{"column":3,"line":49},"name":"examples with description","tableBody":[{"cells":[{"location":{"column":7,"line":52},"type":"TableCell","value":"bar"}],"location":{"column":5,"line":52},"type":"TableRow"}],"tableHeader":{"cells":[{"location":{"column":7,"line":51},"type":"TableCell","value":"foo"}],"location":{"column":5,"line":51},"type":"TableRow"},"tags":[],"type":"Examples"}],"keyword":"Scenario Outline","location":{"column":3,"line":45},"name":"scenario outline with a description","steps":[{"keyword":"Given ","location":{"column":5,"line":47},"text":"the minimalism","type":"Step"}],"tags":[],"type":"ScenarioOutline"}],"description":" This is a single line description","keyword":"Feature","language":"en","location":{"column":1,"line":1},"name":"Descriptions everywhere","tags":[],"type":"Feature"},"type":"GherkinDocument"},"type":"gherkin-document","uri":"testdata/good/descriptions.feature"}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
{"pickle":{"language":"en","locations":[{"column":3,"line":4}],"name":"two lines","steps":[{"arguments":[],"locations":[{"column":11,"line":7}],"text":"the minimalism"}],"tags":[]},"type":"pickle","uri":"testdata/good/descriptions.feature"}
|
2
|
-
{"pickle":{"language":"en","locations":[{"column":1,"line":9}],"name":"without indentation","steps":[{"arguments":[],"locations":[{"column":9,"line":11}],"text":"the minimalism"}],"tags":[]},"type":"pickle","uri":"testdata/good/descriptions.feature"}
|
3
|
-
{"pickle":{"language":"en","locations":[{"column":3,"line":13}],"name":"empty lines in the middle","steps":[{"arguments":[],"locations":[{"column":11,"line":17}],"text":"the minimalism"}],"tags":[]},"type":"pickle","uri":"testdata/good/descriptions.feature"}
|
4
|
-
{"pickle":{"language":"en","locations":[{"column":3,"line":19}],"name":"empty lines around","steps":[{"arguments":[],"locations":[{"column":11,"line":24}],"text":"the minimalism"}],"tags":[]},"type":"pickle","uri":"testdata/good/descriptions.feature"}
|
5
|
-
{"pickle":{"language":"en","locations":[{"column":3,"line":26}],"name":"comment after description","steps":[{"arguments":[],"locations":[{"column":11,"line":31}],"text":"the minimalism"}],"tags":[]},"type":"pickle","uri":"testdata/good/descriptions.feature"}
|
6
|
-
{"pickle":{"language":"en","locations":[{"column":3,"line":33}],"name":"comment right after description","steps":[{"arguments":[],"locations":[{"column":11,"line":38}],"text":"the minimalism"}],"tags":[]},"type":"pickle","uri":"testdata/good/descriptions.feature"}
|
7
|
-
{"pickle":{"language":"en","locations":[{"column":3,"line":40}],"name":"description with escaped docstring separator","steps":[{"arguments":[],"locations":[{"column":11,"line":43}],"text":"the minimalism"}],"tags":[]},"type":"pickle","uri":"testdata/good/descriptions.feature"}
|
8
|
-
{"pickle":{"language":"en","locations":[{"column":5,"line":52},{"column":3,"line":45}],"name":"scenario outline with a description","steps":[{"arguments":[],"locations":[{"column":5,"line":52},{"column":11,"line":47}],"text":"the minimalism"}],"tags":[]},"type":"pickle","uri":"testdata/good/descriptions.feature"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"data":"Feature: Descriptions everywhere\n This is a single line description\n\n Scenario: two lines\n This description\n has two lines and indented with two spaces\n Given the minimalism\n\nScenario: without indentation\nThis is a description without indentation\n Given the minimalism\n\n Scenario: empty lines in the middle\n This description\n\n has an empty line in the middle\n Given the minimalism\n\n Scenario: empty lines around\n\n This description\n has an empty lines around\n\n Given the minimalism\n\n Scenario: comment after description\n This description\n has a comment after\n\n# this is a comment\n Given the minimalism\n\n Scenario: comment right after description\n This description\n has a comment right after\n # this is another comment\n\n Given the minimalism\n\n Scenario: description with escaped docstring separator\n This description has an \\\"\\\"\\\" (escaped docstring sparator)\n\n Given the minimalism\n\n Scenario Outline: scenario outline with a description\nThis is a scenario outline description\n Given the minimalism\n\n Examples: examples with description\nThis is an examples description\n | foo |\r\n | bar |\r\n","media":{"encoding":"utf-8","type":"text/x.cucumber.gherkin+plain"},"type":"source","uri":"testdata/good/descriptions.feature"}
|
@@ -1,53 +0,0 @@
|
|
1
|
-
(1:1)FeatureLine:Feature/Descriptions everywhere/
|
2
|
-
(2:1)Other:/ This is a single line description/
|
3
|
-
(3:1)Other://
|
4
|
-
(4:3)ScenarioLine:Scenario/two lines/
|
5
|
-
(5:1)Other:/ This description/
|
6
|
-
(6:1)Other:/ has two lines and indented with two spaces/
|
7
|
-
(7:5)StepLine:Given /the minimalism/
|
8
|
-
(8:1)Empty://
|
9
|
-
(9:1)ScenarioLine:Scenario/without indentation/
|
10
|
-
(10:1)Other:/This is a description without indentation/
|
11
|
-
(11:3)StepLine:Given /the minimalism/
|
12
|
-
(12:1)Empty://
|
13
|
-
(13:3)ScenarioLine:Scenario/empty lines in the middle/
|
14
|
-
(14:1)Other:/ This description/
|
15
|
-
(15:1)Other://
|
16
|
-
(16:1)Other:/ has an empty line in the middle/
|
17
|
-
(17:5)StepLine:Given /the minimalism/
|
18
|
-
(18:1)Empty://
|
19
|
-
(19:3)ScenarioLine:Scenario/empty lines around/
|
20
|
-
(20:1)Empty://
|
21
|
-
(21:1)Other:/ This description/
|
22
|
-
(22:1)Other:/ has an empty lines around/
|
23
|
-
(23:1)Other://
|
24
|
-
(24:5)StepLine:Given /the minimalism/
|
25
|
-
(25:1)Empty://
|
26
|
-
(26:3)ScenarioLine:Scenario/comment after description/
|
27
|
-
(27:1)Other:/ This description/
|
28
|
-
(28:1)Other:/ has a comment after/
|
29
|
-
(29:1)Other://
|
30
|
-
(30:1)Comment:/# this is a comment/
|
31
|
-
(31:5)StepLine:Given /the minimalism/
|
32
|
-
(32:1)Empty://
|
33
|
-
(33:3)ScenarioLine:Scenario/comment right after description/
|
34
|
-
(34:1)Other:/ This description/
|
35
|
-
(35:1)Other:/ has a comment right after/
|
36
|
-
(36:1)Comment:/ # this is another comment/
|
37
|
-
(37:1)Empty://
|
38
|
-
(38:5)StepLine:Given /the minimalism/
|
39
|
-
(39:1)Empty://
|
40
|
-
(40:3)ScenarioLine:Scenario/description with escaped docstring separator/
|
41
|
-
(41:1)Other:/ This description has an \"\"\" (escaped docstring sparator)/
|
42
|
-
(42:1)Other://
|
43
|
-
(43:5)StepLine:Given /the minimalism/
|
44
|
-
(44:1)Empty://
|
45
|
-
(45:3)ScenarioOutlineLine:Scenario Outline/scenario outline with a description/
|
46
|
-
(46:1)Other:/This is a scenario outline description/
|
47
|
-
(47:5)StepLine:Given /the minimalism/
|
48
|
-
(48:1)Empty://
|
49
|
-
(49:3)ExamplesLine:Examples/examples with description/
|
50
|
-
(50:1)Other:/This is an examples description/
|
51
|
-
(51:5)TableRow://7:foo
|
52
|
-
(52:5)TableRow://7:bar
|
53
|
-
EOF
|
@@ -1,43 +0,0 @@
|
|
1
|
-
Feature: DocString variations
|
2
|
-
|
3
|
-
Scenario: minimalistic
|
4
|
-
Given a simple DocString
|
5
|
-
"""
|
6
|
-
first line (no indent)
|
7
|
-
second line (indented with two spaces)
|
8
|
-
|
9
|
-
third line was empty
|
10
|
-
"""
|
11
|
-
Given a DocString with content type
|
12
|
-
"""xml
|
13
|
-
<foo>
|
14
|
-
<bar />
|
15
|
-
</foo>
|
16
|
-
"""
|
17
|
-
And a DocString with wrong indentation
|
18
|
-
"""
|
19
|
-
wrongly indented line
|
20
|
-
"""
|
21
|
-
And a DocString with alternative separator
|
22
|
-
```
|
23
|
-
first line
|
24
|
-
second line
|
25
|
-
```
|
26
|
-
And a DocString with normal separator inside
|
27
|
-
```
|
28
|
-
first line
|
29
|
-
"""
|
30
|
-
third line
|
31
|
-
```
|
32
|
-
And a DocString with alternative separator inside
|
33
|
-
"""
|
34
|
-
first line
|
35
|
-
```
|
36
|
-
third line
|
37
|
-
"""
|
38
|
-
And a DocString with escaped separator inside
|
39
|
-
"""
|
40
|
-
first line
|
41
|
-
\"\"\"
|
42
|
-
third line
|
43
|
-
"""
|
@@ -1 +0,0 @@
|
|
1
|
-
{"document":{"comments":[],"feature":{"children":[{"keyword":"Scenario","location":{"column":3,"line":3},"name":"minimalistic","steps":[{"argument":{"content":"first line (no indent)\n second line (indented with two spaces)\n\nthird line was empty","location":{"column":7,"line":5},"type":"DocString"},"keyword":"Given ","location":{"column":5,"line":4},"text":"a simple DocString","type":"Step"},{"argument":{"content":"<foo>\n <bar />\n</foo>","contentType":"xml","location":{"column":7,"line":12},"type":"DocString"},"keyword":"Given ","location":{"column":5,"line":11},"text":"a DocString with content type","type":"Step"},{"argument":{"content":"wrongly indented line","location":{"column":7,"line":18},"type":"DocString"},"keyword":"And ","location":{"column":5,"line":17},"text":"a DocString with wrong indentation","type":"Step"},{"argument":{"content":"first line\nsecond line","location":{"column":7,"line":22},"type":"DocString"},"keyword":"And ","location":{"column":5,"line":21},"text":"a DocString with alternative separator","type":"Step"},{"argument":{"content":"first line\n\"\"\"\nthird line","location":{"column":7,"line":27},"type":"DocString"},"keyword":"And ","location":{"column":5,"line":26},"text":"a DocString with normal separator inside","type":"Step"},{"argument":{"content":"first line\n```\nthird line","location":{"column":7,"line":33},"type":"DocString"},"keyword":"And ","location":{"column":5,"line":32},"text":"a DocString with alternative separator inside","type":"Step"},{"argument":{"content":"first line\n\"\"\"\nthird line","location":{"column":7,"line":39},"type":"DocString"},"keyword":"And ","location":{"column":5,"line":38},"text":"a DocString with escaped separator inside","type":"Step"}],"tags":[],"type":"Scenario"}],"keyword":"Feature","language":"en","location":{"column":1,"line":1},"name":"DocString variations","tags":[],"type":"Feature"},"type":"GherkinDocument"},"type":"gherkin-document","uri":"testdata/good/docstrings.feature"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"pickle":{"language":"en","locations":[{"column":3,"line":3}],"name":"minimalistic","steps":[{"arguments":[{"content":"first line (no indent)\n second line (indented with two spaces)\n\nthird line was empty","location":{"column":7,"line":5}}],"locations":[{"column":11,"line":4}],"text":"a simple DocString"},{"arguments":[{"content":"<foo>\n <bar />\n</foo>","location":{"column":7,"line":12}}],"locations":[{"column":11,"line":11}],"text":"a DocString with content type"},{"arguments":[{"content":"wrongly indented line","location":{"column":7,"line":18}}],"locations":[{"column":9,"line":17}],"text":"a DocString with wrong indentation"},{"arguments":[{"content":"first line\nsecond line","location":{"column":7,"line":22}}],"locations":[{"column":9,"line":21}],"text":"a DocString with alternative separator"},{"arguments":[{"content":"first line\n\"\"\"\nthird line","location":{"column":7,"line":27}}],"locations":[{"column":9,"line":26}],"text":"a DocString with normal separator inside"},{"arguments":[{"content":"first line\n```\nthird line","location":{"column":7,"line":33}}],"locations":[{"column":9,"line":32}],"text":"a DocString with alternative separator inside"},{"arguments":[{"content":"first line\n\"\"\"\nthird line","location":{"column":7,"line":39}}],"locations":[{"column":9,"line":38}],"text":"a DocString with escaped separator inside"}],"tags":[]},"type":"pickle","uri":"testdata/good/docstrings.feature"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"data":"Feature: DocString variations\n\n Scenario: minimalistic\n Given a simple DocString\n \"\"\"\n first line (no indent)\n second line (indented with two spaces)\n\n third line was empty\n \"\"\"\n Given a DocString with content type\n \"\"\"xml\n <foo>\n <bar />\n </foo>\n \"\"\"\n And a DocString with wrong indentation\n \"\"\"\n wrongly indented line\n \"\"\"\n And a DocString with alternative separator\n ```\n first line\n second line\n ```\n And a DocString with normal separator inside\n ```\n first line\n \"\"\"\n third line\n ```\n And a DocString with alternative separator inside\n \"\"\"\n first line\n ```\n third line\n \"\"\"\n And a DocString with escaped separator inside\n \"\"\"\n first line\n \\\"\\\"\\\"\n third line\n \"\"\"\n","media":{"encoding":"utf-8","type":"text/x.cucumber.gherkin+plain"},"type":"source","uri":"testdata/good/docstrings.feature"}
|
@@ -1,44 +0,0 @@
|
|
1
|
-
(1:1)FeatureLine:Feature/DocString variations/
|
2
|
-
(2:1)Empty://
|
3
|
-
(3:3)ScenarioLine:Scenario/minimalistic/
|
4
|
-
(4:5)StepLine:Given /a simple DocString/
|
5
|
-
(5:7)DocStringSeparator://
|
6
|
-
(6:1)Other:/first line (no indent)/
|
7
|
-
(7:1)Other:/ second line (indented with two spaces)/
|
8
|
-
(8:1)Other://
|
9
|
-
(9:1)Other:/third line was empty/
|
10
|
-
(10:7)DocStringSeparator://
|
11
|
-
(11:5)StepLine:Given /a DocString with content type/
|
12
|
-
(12:7)DocStringSeparator:/xml/
|
13
|
-
(13:1)Other:/<foo>/
|
14
|
-
(14:1)Other:/ <bar />/
|
15
|
-
(15:1)Other:/</foo>/
|
16
|
-
(16:7)DocStringSeparator://
|
17
|
-
(17:5)StepLine:And /a DocString with wrong indentation/
|
18
|
-
(18:7)DocStringSeparator://
|
19
|
-
(19:1)Other:/wrongly indented line/
|
20
|
-
(20:7)DocStringSeparator://
|
21
|
-
(21:5)StepLine:And /a DocString with alternative separator/
|
22
|
-
(22:7)DocStringSeparator://
|
23
|
-
(23:1)Other:/first line/
|
24
|
-
(24:1)Other:/second line/
|
25
|
-
(25:7)DocStringSeparator://
|
26
|
-
(26:5)StepLine:And /a DocString with normal separator inside/
|
27
|
-
(27:7)DocStringSeparator://
|
28
|
-
(28:1)Other:/first line/
|
29
|
-
(29:1)Other:/"""/
|
30
|
-
(30:1)Other:/third line/
|
31
|
-
(31:7)DocStringSeparator://
|
32
|
-
(32:5)StepLine:And /a DocString with alternative separator inside/
|
33
|
-
(33:7)DocStringSeparator://
|
34
|
-
(34:1)Other:/first line/
|
35
|
-
(35:1)Other:/```/
|
36
|
-
(36:1)Other:/third line/
|
37
|
-
(37:7)DocStringSeparator://
|
38
|
-
(38:5)StepLine:And /a DocString with escaped separator inside/
|
39
|
-
(39:7)DocStringSeparator://
|
40
|
-
(40:1)Other:/first line/
|
41
|
-
(41:1)Other:/"""/
|
42
|
-
(42:1)Other:/third line/
|
43
|
-
(43:7)DocStringSeparator://
|
44
|
-
EOF
|
data/testdata/good/empty.feature
DELETED
File without changes
|
@@ -1 +0,0 @@
|
|
1
|
-
{"document":{"comments":[],"type":"GherkinDocument"},"type":"gherkin-document","uri":"testdata/good/empty.feature"}
|
File without changes
|
@@ -1 +0,0 @@
|
|
1
|
-
{"data":"","media":{"encoding":"utf-8","type":"text/x.cucumber.gherkin+plain"},"type":"source","uri":"testdata/good/empty.feature"}
|
@@ -1 +0,0 @@
|
|
1
|
-
EOF
|
@@ -1,11 +0,0 @@
|
|
1
|
-
Feature: Escaped pipes
|
2
|
-
The \-character will be considered as an escape in table cell
|
3
|
-
iff it is followed by a |-character, a \-character or an n.
|
4
|
-
|
5
|
-
Scenario: They are the future
|
6
|
-
Given they have arrived
|
7
|
-
| æ | o |
|
8
|
-
| a | ø |
|
9
|
-
Given they have arrived
|
10
|
-
| \|æ\\n | \o\no\ |
|
11
|
-
| \\\|a\\\\n | ø\\\nø\\|
|
@@ -1 +0,0 @@
|
|
1
|
-
{"document":{"comments":[],"feature":{"children":[{"keyword":"Scenario","location":{"column":3,"line":5},"name":"They are the future","steps":[{"argument":{"location":{"column":7,"line":7},"rows":[{"cells":[{"location":{"column":9,"line":7},"type":"TableCell","value":"æ"},{"location":{"column":13,"line":7},"type":"TableCell","value":"o"}],"location":{"column":7,"line":7},"type":"TableRow"},{"cells":[{"location":{"column":9,"line":8},"type":"TableCell","value":"a"},{"location":{"column":13,"line":8},"type":"TableCell","value":"ø"}],"location":{"column":7,"line":8},"type":"TableRow"}],"type":"DataTable"},"keyword":"Given ","location":{"column":5,"line":6},"text":"they have arrived","type":"Step"},{"argument":{"location":{"column":7,"line":10},"rows":[{"cells":[{"location":{"column":9,"line":10},"type":"TableCell","value":"|æ\\n"},{"location":{"column":22,"line":10},"type":"TableCell","value":"\\o\no\\"}],"location":{"column":7,"line":10},"type":"TableRow"},{"cells":[{"location":{"column":9,"line":11},"type":"TableCell","value":"\\|a\\\\n"},{"location":{"column":22,"line":11},"type":"TableCell","value":"ø\\\nø\\"}],"location":{"column":7,"line":11},"type":"TableRow"}],"type":"DataTable"},"keyword":"Given ","location":{"column":5,"line":9},"text":"they have arrived","type":"Step"}],"tags":[],"type":"Scenario"}],"description":" The \\-character will be considered as an escape in table cell\n iff it is followed by a |-character, a \\-character or an n.","keyword":"Feature","language":"en","location":{"column":1,"line":1},"name":"Escaped pipes","tags":[],"type":"Feature"},"type":"GherkinDocument"},"type":"gherkin-document","uri":"testdata/good/escaped_pipes.feature"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"pickle":{"language":"en","locations":[{"column":3,"line":5}],"name":"They are the future","steps":[{"arguments":[{"rows":[{"cells":[{"location":{"column":9,"line":7},"value":"æ"},{"location":{"column":13,"line":7},"value":"o"}]},{"cells":[{"location":{"column":9,"line":8},"value":"a"},{"location":{"column":13,"line":8},"value":"ø"}]}]}],"locations":[{"column":11,"line":6}],"text":"they have arrived"},{"arguments":[{"rows":[{"cells":[{"location":{"column":9,"line":10},"value":"|æ\\n"},{"location":{"column":22,"line":10},"value":"\\o\no\\"}]},{"cells":[{"location":{"column":9,"line":11},"value":"\\|a\\\\n"},{"location":{"column":22,"line":11},"value":"ø\\\nø\\"}]}]}],"locations":[{"column":11,"line":9}],"text":"they have arrived"}],"tags":[]},"type":"pickle","uri":"testdata/good/escaped_pipes.feature"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"data":"Feature: Escaped pipes\n The \\-character will be considered as an escape in table cell\n iff it is followed by a |-character, a \\-character or an n.\n\n Scenario: They are the future\n Given they have arrived\n | æ | o |\n | a | ø |\n Given they have arrived\n | \\|æ\\\\n | \\o\\no\\ |\n | \\\\\\|a\\\\\\\\n | ø\\\\\\nø\\\\|\n","media":{"encoding":"utf-8","type":"text/x.cucumber.gherkin+plain"},"type":"source","uri":"testdata/good/escaped_pipes.feature"}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
(1:1)FeatureLine:Feature/Escaped pipes/
|
2
|
-
(2:1)Other:/ The \-character will be considered as an escape in table cell/
|
3
|
-
(3:1)Other:/ iff it is followed by a |-character, a \-character or an n./
|
4
|
-
(4:1)Other://
|
5
|
-
(5:3)ScenarioLine:Scenario/They are the future/
|
6
|
-
(6:5)StepLine:Given /they have arrived/
|
7
|
-
(7:7)TableRow://9:æ,13:o
|
8
|
-
(8:7)TableRow://9:a,13:ø
|
9
|
-
(9:5)StepLine:Given /they have arrived/
|
10
|
-
(10:7)TableRow://9:|æ\n,22:\o
|
11
|
-
o\
|
12
|
-
(11:7)TableRow://9:\|a\\n,22:ø\
|
13
|
-
ø\
|
14
|
-
EOF
|
@@ -1 +0,0 @@
|
|
1
|
-
{"document":{"comments":[],"feature":{"children":[{"examples":[{"keyword":"Examples","location":{"column":5,"line":6},"name":"","tableBody":[{"cells":[{"location":{"column":9,"line":8},"type":"TableCell","value":"usage"}],"location":{"column":7,"line":8},"type":"TableRow"}],"tableHeader":{"cells":[{"location":{"column":9,"line":7},"type":"TableCell","value":"what"}],"location":{"column":7,"line":7},"type":"TableRow"},"tags":[],"type":"Examples"}],"keyword":"Scenario Outline","location":{"column":3,"line":3},"name":"Token used twice in a single step","steps":[{"keyword":"Given ","location":{"column":5,"line":4},"text":"<what> <what>","type":"Step"}],"tags":[],"type":"ScenarioOutline"}],"keyword":"Feature","language":"en","location":{"column":1,"line":1},"name":"Example token used multiple times","tags":[],"type":"Feature"},"type":"GherkinDocument"},"type":"gherkin-document","uri":"testdata/good/example_token_multiple.feature"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"pickle":{"language":"en","locations":[{"column":7,"line":8},{"column":3,"line":3}],"name":"Token used twice in a single step","steps":[{"arguments":[],"locations":[{"column":7,"line":8},{"column":11,"line":4}],"text":"usage usage"}],"tags":[]},"type":"pickle","uri":"testdata/good/example_token_multiple.feature"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"data":"Feature: Example token used multiple times\n\n Scenario Outline: Token used twice in a single step\n Given <what> <what>\n\n Examples:\n | what |\n | usage |\n","media":{"encoding":"utf-8","type":"text/x.cucumber.gherkin+plain"},"type":"source","uri":"testdata/good/example_token_multiple.feature"}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
(1:1)FeatureLine:Feature/Example token used multiple times/
|
2
|
-
(2:1)Empty://
|
3
|
-
(3:3)ScenarioOutlineLine:Scenario Outline/Token used twice in a single step/
|
4
|
-
(4:5)StepLine:Given /<what> <what>/
|
5
|
-
(5:1)Empty://
|
6
|
-
(6:5)ExamplesLine:Examples//
|
7
|
-
(7:7)TableRow://9:what
|
8
|
-
(8:7)TableRow://9:usage
|
9
|
-
EOF
|
@@ -1,14 +0,0 @@
|
|
1
|
-
Feature: Example tokens everywhere
|
2
|
-
|
3
|
-
Scenario Outline: the <one>
|
4
|
-
Given the <two>:
|
5
|
-
"""
|
6
|
-
<three>
|
7
|
-
"""
|
8
|
-
Given the <four>:
|
9
|
-
| <five> |
|
10
|
-
|
11
|
-
Examples:
|
12
|
-
| one | two | three | four | five |
|
13
|
-
| un | deux | trois | quatre | cinq |
|
14
|
-
| uno | dos | tres | quatro | cinco |
|
@@ -1 +0,0 @@
|
|
1
|
-
{"document":{"comments":[],"feature":{"children":[{"examples":[{"keyword":"Examples","location":{"column":5,"line":11},"name":"","tableBody":[{"cells":[{"location":{"column":9,"line":13},"type":"TableCell","value":"un"},{"location":{"column":15,"line":13},"type":"TableCell","value":"deux"},{"location":{"column":22,"line":13},"type":"TableCell","value":"trois"},{"location":{"column":30,"line":13},"type":"TableCell","value":"quatre"},{"location":{"column":39,"line":13},"type":"TableCell","value":"cinq"}],"location":{"column":7,"line":13},"type":"TableRow"},{"cells":[{"location":{"column":9,"line":14},"type":"TableCell","value":"uno"},{"location":{"column":15,"line":14},"type":"TableCell","value":"dos"},{"location":{"column":22,"line":14},"type":"TableCell","value":"tres"},{"location":{"column":30,"line":14},"type":"TableCell","value":"quatro"},{"location":{"column":39,"line":14},"type":"TableCell","value":"cinco"}],"location":{"column":7,"line":14},"type":"TableRow"}],"tableHeader":{"cells":[{"location":{"column":9,"line":12},"type":"TableCell","value":"one"},{"location":{"column":15,"line":12},"type":"TableCell","value":"two"},{"location":{"column":22,"line":12},"type":"TableCell","value":"three"},{"location":{"column":30,"line":12},"type":"TableCell","value":"four"},{"location":{"column":39,"line":12},"type":"TableCell","value":"five"}],"location":{"column":7,"line":12},"type":"TableRow"},"tags":[],"type":"Examples"}],"keyword":"Scenario Outline","location":{"column":3,"line":3},"name":"the <one>","steps":[{"argument":{"content":"<three>","location":{"column":7,"line":5},"type":"DocString"},"keyword":"Given ","location":{"column":5,"line":4},"text":"the <two>:","type":"Step"},{"argument":{"location":{"column":7,"line":9},"rows":[{"cells":[{"location":{"column":9,"line":9},"type":"TableCell","value":"<five>"}],"location":{"column":7,"line":9},"type":"TableRow"}],"type":"DataTable"},"keyword":"Given ","location":{"column":5,"line":8},"text":"the <four>:","type":"Step"}],"tags":[],"type":"ScenarioOutline"}],"keyword":"Feature","language":"en","location":{"column":1,"line":1},"name":"Example tokens everywhere","tags":[],"type":"Feature"},"type":"GherkinDocument"},"type":"gherkin-document","uri":"testdata/good/example_tokens_everywhere.feature"}
|
@@ -1,2 +0,0 @@
|
|
1
|
-
{"pickle":{"language":"en","locations":[{"column":7,"line":13},{"column":3,"line":3}],"name":"the un","steps":[{"arguments":[{"content":"trois","location":{"column":7,"line":5}}],"locations":[{"column":7,"line":13},{"column":11,"line":4}],"text":"the deux:"},{"arguments":[{"rows":[{"cells":[{"location":{"column":9,"line":9},"value":"cinq"}]}]}],"locations":[{"column":7,"line":13},{"column":11,"line":8}],"text":"the quatre:"}],"tags":[]},"type":"pickle","uri":"testdata/good/example_tokens_everywhere.feature"}
|
2
|
-
{"pickle":{"language":"en","locations":[{"column":7,"line":14},{"column":3,"line":3}],"name":"the uno","steps":[{"arguments":[{"content":"tres","location":{"column":7,"line":5}}],"locations":[{"column":7,"line":14},{"column":11,"line":4}],"text":"the dos:"},{"arguments":[{"rows":[{"cells":[{"location":{"column":9,"line":9},"value":"cinco"}]}]}],"locations":[{"column":7,"line":14},{"column":11,"line":8}],"text":"the quatro:"}],"tags":[]},"type":"pickle","uri":"testdata/good/example_tokens_everywhere.feature"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"data":"Feature: Example tokens everywhere\n\n Scenario Outline: the <one>\n Given the <two>:\n \"\"\"\n <three>\n \"\"\"\n Given the <four>:\n | <five> |\n\n Examples:\n | one | two | three | four | five |\n | un | deux | trois | quatre | cinq |\n | uno | dos | tres | quatro | cinco |\n","media":{"encoding":"utf-8","type":"text/x.cucumber.gherkin+plain"},"type":"source","uri":"testdata/good/example_tokens_everywhere.feature"}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
(1:1)FeatureLine:Feature/Example tokens everywhere/
|
2
|
-
(2:1)Empty://
|
3
|
-
(3:3)ScenarioOutlineLine:Scenario Outline/the <one>/
|
4
|
-
(4:5)StepLine:Given /the <two>:/
|
5
|
-
(5:7)DocStringSeparator://
|
6
|
-
(6:1)Other:/<three>/
|
7
|
-
(7:7)DocStringSeparator://
|
8
|
-
(8:5)StepLine:Given /the <four>:/
|
9
|
-
(9:7)TableRow://9:<five>
|
10
|
-
(10:1)Empty://
|
11
|
-
(11:5)ExamplesLine:Examples//
|
12
|
-
(12:7)TableRow://9:one,15:two,22:three,30:four,39:five
|
13
|
-
(13:7)TableRow://9:un,15:deux,22:trois,30:quatre,39:cinq
|
14
|
-
(14:7)TableRow://9:uno,15:dos,22:tres,30:quatro,39:cinco
|
15
|
-
EOF
|
@@ -1 +0,0 @@
|
|
1
|
-
{"document":{"comments":[],"feature":{"children":[{"keyword":"📕","location":{"column":3,"line":4},"name":"💃","steps":[{"keyword":"😐","location":{"column":5,"line":5},"text":"🎸","type":"Step"}],"tags":[],"type":"Scenario"}],"keyword":"📚","language":"em","location":{"column":1,"line":2},"name":"🙈🙉🙊","tags":[],"type":"Feature"},"type":"GherkinDocument"},"type":"gherkin-document","uri":"testdata/good/i18n_emoji.feature"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"pickle":{"language":"em","locations":[{"column":3,"line":4}],"name":"💃","steps":[{"arguments":[],"locations":[{"column":6,"line":5}],"text":"🎸"}],"tags":[]},"type":"pickle","uri":"testdata/good/i18n_emoji.feature"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"data":"# language: em\n📚: 🙈🙉🙊\n\n 📕: 💃\n 😐🎸\n","media":{"encoding":"utf-8","type":"text/x.cucumber.gherkin+plain"},"type":"source","uri":"testdata/good/i18n_emoji.feature"}
|
@@ -1,63 +0,0 @@
|
|
1
|
-
#language:fr
|
2
|
-
Fonctionnalité: i18n support
|
3
|
-
|
4
|
-
Scénario: Support des caractères spéciaux
|
5
|
-
Soit un exemple de scénario en français
|
6
|
-
Quand j'ai 1 gâteau
|
7
|
-
Alors je suis heureux
|
8
|
-
|
9
|
-
Scénario: Support du mot-clef "Etant donné que "
|
10
|
-
Etant donné que j'aime les gâteaux
|
11
|
-
Lorsqu'on m'offre 1 gâteau
|
12
|
-
Alors je suis heureux
|
13
|
-
|
14
|
-
Scénario: Support du mot-clef "Etant donné qu'"
|
15
|
-
Etant donné qu'offrir un gâteau rend heureux
|
16
|
-
Lorsqu'on m'offre 1 gâteau
|
17
|
-
Alors je suis heureux
|
18
|
-
|
19
|
-
Scénario: Support du mot-clef "Étant donné que "
|
20
|
-
Étant donné que j'aime les gâteaux
|
21
|
-
Lorsqu'on m'offre 1 gâteau
|
22
|
-
Alors je suis heureux
|
23
|
-
|
24
|
-
Scénario: Support du mot-clef "Étant donné qu'"
|
25
|
-
Étant donné qu'offrir un gâteau rend heureux
|
26
|
-
Lorsqu'on m'offre 1 gâteau
|
27
|
-
Alors je suis heureux
|
28
|
-
|
29
|
-
Scénario: Support du mot-clef "Et que "
|
30
|
-
Soit un exemple de scénario en français
|
31
|
-
Lorsque j'ai 2 gâteaux
|
32
|
-
Et que quelqu'un m'offre 1 gâteau
|
33
|
-
Alors j'ai 3 gâteaux
|
34
|
-
|
35
|
-
Scénario: Support du mot-clef "Et qu'"
|
36
|
-
Soit un exemple de scénario en français
|
37
|
-
Lorsque j'ai 2 gâteaux
|
38
|
-
Et qu'on m'offre 1 gâteau
|
39
|
-
Alors j'ai 3 gâteaux
|
40
|
-
|
41
|
-
Scénario: Support du mot-clef "Et "
|
42
|
-
Soit un exemple de scénario en français
|
43
|
-
Quand j'ai 2 gâteaux
|
44
|
-
Et quelqu'un m'offre 1 gâteau
|
45
|
-
Alors j'ai 3 gâteaux
|
46
|
-
|
47
|
-
Scénario: Support du mot-clef "Mais que "
|
48
|
-
Soit un exemple de scénario en français
|
49
|
-
Lorsque j'ai 2 gâteaux
|
50
|
-
Mais que quelqu'un me vole 1 gâteau
|
51
|
-
Alors j'ai 1 gâteau
|
52
|
-
|
53
|
-
Scénario: Support du mot-clef "Mais qu'"
|
54
|
-
Soit un exemple de scénario en français
|
55
|
-
Lorsque j'ai 2 gâteaux
|
56
|
-
Mais qu'on me vole 1 gâteau
|
57
|
-
Alors j'ai 1 gâteau
|
58
|
-
|
59
|
-
Scénario: Support du mot-clef "Mais "
|
60
|
-
Soit un exemple de scénario en français
|
61
|
-
Quand j'ai 2 gâteaux
|
62
|
-
Mais quelqu'un me vole 1 gâteau
|
63
|
-
Alors j'ai 1 gâteau
|