cucumber-compatibility-kit 30.0.0 → 31.0.1
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 +4 -4
- data/features/all-statuses/all-statuses.feature +1 -1
- data/features/all-statuses/all-statuses.ndjson +2 -2
- data/features/ambiguous/ambiguous.feature +1 -0
- data/features/ambiguous/ambiguous.ndjson +4 -4
- data/features/attachments/attachments.feature +6 -4
- data/features/attachments/attachments.ndjson +12 -12
- data/features/backgrounds/backgrounds.feature +2 -1
- data/features/backgrounds/backgrounds.ndjson +5 -5
- data/features/cdata/cdata.feature +1 -0
- data/features/cdata/cdata.ndjson +4 -4
- data/features/data-tables/data-tables.feature +1 -0
- data/features/data-tables/data-tables.ndjson +4 -4
- data/features/data-tables-doc-strings/data-tables-doc-strings.feature +17 -0
- data/features/data-tables-doc-strings/data-tables-doc-strings.ndjson +19 -0
- data/features/data-tables-with-expression/data-tables-with-expression.feature +8 -0
- data/features/data-tables-with-expression/data-tables-with-expression.ndjson +12 -0
- data/features/doc-strings/doc-strings.feature +17 -13
- data/features/doc-strings/doc-strings.ndjson +6 -6
- data/features/doc-strings-with-expression/doc-strings-with-expression.feature +10 -0
- data/features/doc-strings-with-expression/doc-strings-with-expression.ndjson +12 -0
- data/features/empty/empty.feature +1 -0
- data/features/empty/empty.ndjson +4 -4
- data/features/examples-tables/examples-tables.feature +1 -0
- data/features/examples-tables/examples-tables.ndjson +12 -12
- data/features/examples-tables-attachment/examples-tables-attachment.feature +1 -0
- data/features/examples-tables-attachment/examples-tables-attachment.ndjson +5 -5
- data/features/examples-tables-undefined/examples-tables-undefined.feature +2 -1
- data/features/examples-tables-undefined/examples-tables-undefined.ndjson +6 -6
- data/features/examples-tables-undefined-multiple/examples-tables-undefined-multiple.feature +1 -0
- data/features/examples-tables-undefined-multiple/examples-tables-undefined-multiple.ndjson +7 -7
- data/features/failedish-combinations/failedish-combinations.feature +1 -0
- data/features/failedish-combinations/failedish-combinations.ndjson +14 -14
- data/features/global-hooks/global-hooks.feature +1 -0
- data/features/global-hooks/global-hooks.ndjson +6 -6
- data/features/global-hooks-afterall-error/global-hooks-afterall-error.feature +1 -0
- data/features/global-hooks-afterall-error/global-hooks-afterall-error.ndjson +4 -4
- data/features/global-hooks-attachments/global-hooks-attachments.feature +1 -0
- data/features/global-hooks-attachments/global-hooks-attachments.ndjson +4 -4
- data/features/global-hooks-beforeall-error/global-hooks-beforeall-error.feature +1 -0
- data/features/global-hooks-beforeall-error/global-hooks-beforeall-error.ndjson +4 -4
- data/features/hooks/hooks.feature +1 -0
- data/features/hooks/hooks.ndjson +6 -6
- data/features/hooks-attachment/hooks-attachment.feature +1 -0
- data/features/hooks-attachment/hooks-attachment.ndjson +4 -4
- data/features/hooks-conditional/hooks-conditional.feature +1 -0
- data/features/hooks-conditional/hooks-conditional.ndjson +8 -8
- data/features/hooks-named/hooks-named.feature +1 -0
- data/features/hooks-named/hooks-named.ndjson +4 -4
- data/features/hooks-skipped/hooks-skipped.feature +6 -6
- data/features/hooks-skipped/hooks-skipped.ndjson +3 -3
- data/features/hooks-undefined/hooks-undefined.feature +1 -0
- data/features/hooks-undefined/hooks-undefined.ndjson +4 -4
- data/features/markdown/markdown.ndjson +1 -1
- data/features/minimal/minimal.feature +3 -3
- data/features/minimal/minimal.ndjson +3 -3
- data/features/multiple-features/multiple-features-1.feature +1 -1
- data/features/multiple-features/multiple-features-2.feature +1 -1
- data/features/multiple-features/multiple-features-3.feature +1 -1
- data/features/multiple-features/multiple-features.ndjson +4 -4
- data/features/multiple-features-reversed/multiple-features-reversed-1.feature +1 -1
- data/features/multiple-features-reversed/multiple-features-reversed-2.feature +1 -1
- data/features/multiple-features-reversed/multiple-features-reversed-3.feature +1 -1
- data/features/multiple-features-reversed/multiple-features-reversed.ndjson +4 -4
- data/features/parameter-types/parameter-types.feature +1 -0
- data/features/parameter-types/parameter-types.ndjson +4 -4
- data/features/pending/pending.feature +1 -0
- data/features/pending/pending.ndjson +6 -6
- data/features/pending-exception/pending-exception.feature +1 -0
- data/features/pending-exception/pending-exception.ndjson +5 -5
- data/features/regular-expression/regular-expression.feature +2 -2
- data/features/regular-expression/regular-expression.ndjson +2 -2
- data/features/retry/retry.feature +1 -0
- data/features/retry/retry.ndjson +13 -13
- data/features/retry-ambiguous/retry-ambiguous.feature +1 -0
- data/features/retry-ambiguous/retry-ambiguous.ndjson +4 -4
- data/features/retry-pending/retry-pending.feature +1 -0
- data/features/retry-pending/retry-pending.ndjson +4 -4
- data/features/retry-undefined/retry-undefined.feature +1 -0
- data/features/retry-undefined/retry-undefined.ndjson +4 -4
- data/features/rules/rules.feature +3 -0
- data/features/rules/rules.ndjson +6 -6
- data/features/rules-backgrounds/rules-backgrounds.feature +3 -1
- data/features/rules-backgrounds/rules-backgrounds.ndjson +5 -5
- data/features/skipped/skipped.ndjson +1 -1
- data/features/skipped-exception/skipped-exception.ndjson +1 -1
- data/features/skipped-failing-hook/skipped-failing-hook.ndjson +1 -1
- data/features/stack-traces/stack-traces.feature +1 -0
- data/features/stack-traces/stack-traces.ndjson +5 -5
- data/features/test-run-exception/test-run-exception.feature +1 -1
- data/features/test-run-exception/test-run-exception.ndjson +2 -2
- data/features/undefined/undefined.ndjson +1 -1
- data/features/undefined-multiple/undefined-multiple.ndjson +1 -1
- data/features/unknown-parameter-type/unknown-parameter-type.feature +1 -0
- data/features/unknown-parameter-type/unknown-parameter-type.ndjson +4 -4
- data/features/unused-steps/unused-steps.feature +1 -0
- data/features/unused-steps/unused-steps.ndjson +4 -4
- metadata +12 -6
data/features/empty/empty.ndjson
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
{"meta":{"protocolVersion":"
|
|
2
|
-
{"source":{"data":"Feature: Empty Scenarios\n Sometimes we want to quickly jot down a new scenario without specifying any actual steps\n for what should be executed.\n\n In this instance we want to stipulate what should / shouldn't run and what the output is.\n\n Scenario: Blank Scenario\n","uri":"samples/empty/empty.feature","mediaType":"text/x.cucumber.gherkin+plain"}}
|
|
3
|
-
{"gherkinDocument":{"feature":{"tags":[],"location":{"line":1,"column":1},"language":"en","keyword":"Feature","name":"Empty Scenarios","description":" Sometimes we want to quickly jot down a new scenario without specifying any actual steps\n for what should be executed.\n\n In this instance we want to stipulate what should / shouldn't run and what the output is.","children":[{"scenario":{"id":"0","tags":[],"location":{"line":
|
|
4
|
-
{"pickle":{"id":"1","uri":"samples/empty/empty.feature","location":{"line":
|
|
1
|
+
{"meta":{"protocolVersion":"35.0.0","implementation":{"name":"fake-cucumber","version":"123.45.6"},"cpu":{"name":"arm64"},"os":{"name":"darwin","version":"24.5.0"},"runtime":{"name":"Node.js","version":"24.4.1"},"ci":{"name":"GitHub Actions","url":"https://github.com/cucumber-ltd/shouty.rb/actions/runs/154666429","buildNumber":"154666429","git":{"revision":"99684bcacf01d95875834d87903dcb072306c9ad","remote":"https://github.com/cucumber-ltd/shouty.rb.git","branch":"main"}}}}
|
|
2
|
+
{"source":{"data":"Feature: Empty Scenarios\n\n Sometimes we want to quickly jot down a new scenario without specifying any actual steps\n for what should be executed.\n\n In this instance we want to stipulate what should / shouldn't run and what the output is.\n\n Scenario: Blank Scenario\n","uri":"samples/empty/empty.feature","mediaType":"text/x.cucumber.gherkin+plain"}}
|
|
3
|
+
{"gherkinDocument":{"feature":{"tags":[],"location":{"line":1,"column":1},"language":"en","keyword":"Feature","name":"Empty Scenarios","description":" Sometimes we want to quickly jot down a new scenario without specifying any actual steps\n for what should be executed.\n\n In this instance we want to stipulate what should / shouldn't run and what the output is.","children":[{"scenario":{"id":"0","tags":[],"location":{"line":8,"column":3},"keyword":"Scenario","name":"Blank Scenario","description":"","steps":[],"examples":[]}}]},"comments":[],"uri":"samples/empty/empty.feature"}}
|
|
4
|
+
{"pickle":{"id":"1","uri":"samples/empty/empty.feature","location":{"line":8,"column":3},"astNodeIds":["0"],"tags":[],"name":"Blank Scenario","language":"en","steps":[]}}
|
|
5
5
|
{"testRunStarted":{"id":"2","timestamp":{"seconds":0,"nanos":0}}}
|
|
6
6
|
{"testCase":{"id":"3","pickleId":"1","testSteps":[],"testRunStartedId":"2"}}
|
|
7
7
|
{"testCaseStarted":{"id":"4","testCaseId":"3","timestamp":{"seconds":0,"nanos":1000000},"attempt":0}}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
{"meta":{"protocolVersion":"
|
|
2
|
-
{"source":{"data":"Feature: Examples Tables\n Sometimes it can be desirable to run the same scenario multiple times with\n different data each time - this can be done by placing an Examples table\n underneath a Scenario, and use <placeholders> in the Scenario which match the\n table headers.\n\n The Scenario Outline name can also be parameterized. The name of the resulting\n pickle will have the <placeholder> replaced with the value from the examples\n table.\n\n Scenario Outline: Eating cucumbers\n Given there are <start> cucumbers\n When I eat <eat> cucumbers\n Then I should have <left> cucumbers\n\n @passing\n Examples: These are passing\n | start | eat | left |\n | 12 | 5 | 7 |\n | 20 | 5 | 15 |\n\n @failing\n Examples: These are failing\n | start | eat | left |\n | 12 | 20 | 0 |\n | 0 | 1 | 0 |\n\n Scenario Outline: Eating cucumbers with <friends> friends\n Given there are <friends> friends\n And there are <start> cucumbers\n Then each person can eat <share> cucumbers\n\n Examples:\n | friends | start | share |\n | 11 | 12 | 1 |\n | 1 | 4 | 2 |\n | 0 | 4 | 4 |\n","uri":"samples/examples-tables/examples-tables.feature","mediaType":"text/x.cucumber.gherkin+plain"}}
|
|
3
|
-
{"gherkinDocument":{"feature":{"tags":[],"location":{"line":1,"column":1},"language":"en","keyword":"Feature","name":"Examples Tables","description":" Sometimes it can be desirable to run the same scenario multiple times with\n different data each time - this can be done by placing an Examples table\n underneath a Scenario, and use <placeholders> in the Scenario which match the\n table headers.\n\n The Scenario Outline name can also be parameterized. The name of the resulting\n pickle will have the <placeholder> replaced with the value from the examples\n table.","children":[{"scenario":{"id":"13","tags":[],"location":{"line":
|
|
4
|
-
{"pickle":{"id":"26","uri":"samples/examples-tables/examples-tables.feature","location":{"line":
|
|
5
|
-
{"pickle":{"id":"30","uri":"samples/examples-tables/examples-tables.feature","location":{"line":
|
|
6
|
-
{"pickle":{"id":"34","uri":"samples/examples-tables/examples-tables.feature","location":{"line":
|
|
7
|
-
{"pickle":{"id":"38","uri":"samples/examples-tables/examples-tables.feature","location":{"line":
|
|
8
|
-
{"pickle":{"id":"42","uri":"samples/examples-tables/examples-tables.feature","location":{"line":
|
|
9
|
-
{"pickle":{"id":"46","uri":"samples/examples-tables/examples-tables.feature","location":{"line":
|
|
10
|
-
{"pickle":{"id":"50","uri":"samples/examples-tables/examples-tables.feature","location":{"line":
|
|
1
|
+
{"meta":{"protocolVersion":"35.0.0","implementation":{"name":"fake-cucumber","version":"123.45.6"},"cpu":{"name":"arm64"},"os":{"name":"darwin","version":"24.5.0"},"runtime":{"name":"Node.js","version":"24.4.1"},"ci":{"name":"GitHub Actions","url":"https://github.com/cucumber-ltd/shouty.rb/actions/runs/154666429","buildNumber":"154666429","git":{"revision":"99684bcacf01d95875834d87903dcb072306c9ad","remote":"https://github.com/cucumber-ltd/shouty.rb.git","branch":"main"}}}}
|
|
2
|
+
{"source":{"data":"Feature: Examples Tables\n\n Sometimes it can be desirable to run the same scenario multiple times with\n different data each time - this can be done by placing an Examples table\n underneath a Scenario, and use <placeholders> in the Scenario which match the\n table headers.\n\n The Scenario Outline name can also be parameterized. The name of the resulting\n pickle will have the <placeholder> replaced with the value from the examples\n table.\n\n Scenario Outline: Eating cucumbers\n Given there are <start> cucumbers\n When I eat <eat> cucumbers\n Then I should have <left> cucumbers\n\n @passing\n Examples: These are passing\n | start | eat | left |\n | 12 | 5 | 7 |\n | 20 | 5 | 15 |\n\n @failing\n Examples: These are failing\n | start | eat | left |\n | 12 | 20 | 0 |\n | 0 | 1 | 0 |\n\n Scenario Outline: Eating cucumbers with <friends> friends\n Given there are <friends> friends\n And there are <start> cucumbers\n Then each person can eat <share> cucumbers\n\n Examples:\n | friends | start | share |\n | 11 | 12 | 1 |\n | 1 | 4 | 2 |\n | 0 | 4 | 4 |\n","uri":"samples/examples-tables/examples-tables.feature","mediaType":"text/x.cucumber.gherkin+plain"}}
|
|
3
|
+
{"gherkinDocument":{"feature":{"tags":[],"location":{"line":1,"column":1},"language":"en","keyword":"Feature","name":"Examples Tables","description":" Sometimes it can be desirable to run the same scenario multiple times with\n different data each time - this can be done by placing an Examples table\n underneath a Scenario, and use <placeholders> in the Scenario which match the\n table headers.\n\n The Scenario Outline name can also be parameterized. The name of the resulting\n pickle will have the <placeholder> replaced with the value from the examples\n table.","children":[{"scenario":{"id":"13","tags":[],"location":{"line":12,"column":3},"keyword":"Scenario Outline","name":"Eating cucumbers","description":"","steps":[{"id":"0","location":{"line":13,"column":5},"keyword":"Given ","keywordType":"Context","text":"there are <start> cucumbers"},{"id":"1","location":{"line":14,"column":5},"keyword":"When ","keywordType":"Action","text":"I eat <eat> cucumbers"},{"id":"2","location":{"line":15,"column":5},"keyword":"Then ","keywordType":"Outcome","text":"I should have <left> cucumbers"}],"examples":[{"id":"7","tags":[{"location":{"line":17,"column":5},"name":"@passing","id":"6"}],"location":{"line":18,"column":5},"keyword":"Examples","name":"These are passing","description":"","tableHeader":{"id":"3","location":{"line":19,"column":7},"cells":[{"location":{"line":19,"column":9},"value":"start"},{"location":{"line":19,"column":17},"value":"eat"},{"location":{"line":19,"column":23},"value":"left"}]},"tableBody":[{"id":"4","location":{"line":20,"column":7},"cells":[{"location":{"line":20,"column":12},"value":"12"},{"location":{"line":20,"column":19},"value":"5"},{"location":{"line":20,"column":26},"value":"7"}]},{"id":"5","location":{"line":21,"column":7},"cells":[{"location":{"line":21,"column":12},"value":"20"},{"location":{"line":21,"column":19},"value":"5"},{"location":{"line":21,"column":25},"value":"15"}]}]},{"id":"12","tags":[{"location":{"line":23,"column":5},"name":"@failing","id":"11"}],"location":{"line":24,"column":5},"keyword":"Examples","name":"These are failing","description":"","tableHeader":{"id":"8","location":{"line":25,"column":7},"cells":[{"location":{"line":25,"column":9},"value":"start"},{"location":{"line":25,"column":17},"value":"eat"},{"location":{"line":25,"column":23},"value":"left"}]},"tableBody":[{"id":"9","location":{"line":26,"column":7},"cells":[{"location":{"line":26,"column":12},"value":"12"},{"location":{"line":26,"column":18},"value":"20"},{"location":{"line":26,"column":26},"value":"0"}]},{"id":"10","location":{"line":27,"column":7},"cells":[{"location":{"line":27,"column":13},"value":"0"},{"location":{"line":27,"column":19},"value":"1"},{"location":{"line":27,"column":26},"value":"0"}]}]}]}},{"scenario":{"id":"22","tags":[],"location":{"line":29,"column":3},"keyword":"Scenario Outline","name":"Eating cucumbers with <friends> friends","description":"","steps":[{"id":"14","location":{"line":30,"column":5},"keyword":"Given ","keywordType":"Context","text":"there are <friends> friends"},{"id":"15","location":{"line":31,"column":5},"keyword":"And ","keywordType":"Conjunction","text":"there are <start> cucumbers"},{"id":"16","location":{"line":32,"column":5},"keyword":"Then ","keywordType":"Outcome","text":"each person can eat <share> cucumbers"}],"examples":[{"id":"21","tags":[],"location":{"line":34,"column":5},"keyword":"Examples","name":"","description":"","tableHeader":{"id":"17","location":{"line":35,"column":7},"cells":[{"location":{"line":35,"column":9},"value":"friends"},{"location":{"line":35,"column":19},"value":"start"},{"location":{"line":35,"column":27},"value":"share"}]},"tableBody":[{"id":"18","location":{"line":36,"column":7},"cells":[{"location":{"line":36,"column":14},"value":"11"},{"location":{"line":36,"column":22},"value":"12"},{"location":{"line":36,"column":31},"value":"1"}]},{"id":"19","location":{"line":37,"column":7},"cells":[{"location":{"line":37,"column":15},"value":"1"},{"location":{"line":37,"column":23},"value":"4"},{"location":{"line":37,"column":31},"value":"2"}]},{"id":"20","location":{"line":38,"column":7},"cells":[{"location":{"line":38,"column":15},"value":"0"},{"location":{"line":38,"column":23},"value":"4"},{"location":{"line":38,"column":31},"value":"4"}]}]}]}}]},"comments":[],"uri":"samples/examples-tables/examples-tables.feature"}}
|
|
4
|
+
{"pickle":{"id":"26","uri":"samples/examples-tables/examples-tables.feature","location":{"line":20,"column":7},"astNodeIds":["13","4"],"name":"Eating cucumbers","language":"en","steps":[{"id":"23","text":"there are 12 cucumbers","type":"Context","astNodeIds":["0","4"]},{"id":"24","text":"I eat 5 cucumbers","type":"Action","astNodeIds":["1","4"]},{"id":"25","text":"I should have 7 cucumbers","type":"Outcome","astNodeIds":["2","4"]}],"tags":[{"name":"@passing","astNodeId":"6"}]}}
|
|
5
|
+
{"pickle":{"id":"30","uri":"samples/examples-tables/examples-tables.feature","location":{"line":21,"column":7},"astNodeIds":["13","5"],"name":"Eating cucumbers","language":"en","steps":[{"id":"27","text":"there are 20 cucumbers","type":"Context","astNodeIds":["0","5"]},{"id":"28","text":"I eat 5 cucumbers","type":"Action","astNodeIds":["1","5"]},{"id":"29","text":"I should have 15 cucumbers","type":"Outcome","astNodeIds":["2","5"]}],"tags":[{"name":"@passing","astNodeId":"6"}]}}
|
|
6
|
+
{"pickle":{"id":"34","uri":"samples/examples-tables/examples-tables.feature","location":{"line":26,"column":7},"astNodeIds":["13","9"],"name":"Eating cucumbers","language":"en","steps":[{"id":"31","text":"there are 12 cucumbers","type":"Context","astNodeIds":["0","9"]},{"id":"32","text":"I eat 20 cucumbers","type":"Action","astNodeIds":["1","9"]},{"id":"33","text":"I should have 0 cucumbers","type":"Outcome","astNodeIds":["2","9"]}],"tags":[{"name":"@failing","astNodeId":"11"}]}}
|
|
7
|
+
{"pickle":{"id":"38","uri":"samples/examples-tables/examples-tables.feature","location":{"line":27,"column":7},"astNodeIds":["13","10"],"name":"Eating cucumbers","language":"en","steps":[{"id":"35","text":"there are 0 cucumbers","type":"Context","astNodeIds":["0","10"]},{"id":"36","text":"I eat 1 cucumbers","type":"Action","astNodeIds":["1","10"]},{"id":"37","text":"I should have 0 cucumbers","type":"Outcome","astNodeIds":["2","10"]}],"tags":[{"name":"@failing","astNodeId":"11"}]}}
|
|
8
|
+
{"pickle":{"id":"42","uri":"samples/examples-tables/examples-tables.feature","location":{"line":36,"column":7},"astNodeIds":["22","18"],"name":"Eating cucumbers with 11 friends","language":"en","steps":[{"id":"39","text":"there are 11 friends","type":"Context","astNodeIds":["14","18"]},{"id":"40","text":"there are 12 cucumbers","type":"Context","astNodeIds":["15","18"]},{"id":"41","text":"each person can eat 1 cucumbers","type":"Outcome","astNodeIds":["16","18"]}],"tags":[]}}
|
|
9
|
+
{"pickle":{"id":"46","uri":"samples/examples-tables/examples-tables.feature","location":{"line":37,"column":7},"astNodeIds":["22","19"],"name":"Eating cucumbers with 1 friends","language":"en","steps":[{"id":"43","text":"there are 1 friends","type":"Context","astNodeIds":["14","19"]},{"id":"44","text":"there are 4 cucumbers","type":"Context","astNodeIds":["15","19"]},{"id":"45","text":"each person can eat 2 cucumbers","type":"Outcome","astNodeIds":["16","19"]}],"tags":[]}}
|
|
10
|
+
{"pickle":{"id":"50","uri":"samples/examples-tables/examples-tables.feature","location":{"line":38,"column":7},"astNodeIds":["22","20"],"name":"Eating cucumbers with 0 friends","language":"en","steps":[{"id":"47","text":"there are 0 friends","type":"Context","astNodeIds":["14","20"]},{"id":"48","text":"there are 4 cucumbers","type":"Context","astNodeIds":["15","20"]},{"id":"49","text":"each person can eat 4 cucumbers","type":"Outcome","astNodeIds":["16","20"]}],"tags":[]}}
|
|
11
11
|
{"stepDefinition":{"id":"51","pattern":{"type":"CUCUMBER_EXPRESSION","source":"there are {int} cucumbers"},"sourceReference":{"uri":"samples/examples-tables/examples-tables.ts","location":{"line":4}}}}
|
|
12
12
|
{"stepDefinition":{"id":"52","pattern":{"type":"CUCUMBER_EXPRESSION","source":"there are {int} friends"},"sourceReference":{"uri":"samples/examples-tables/examples-tables.ts","location":{"line":8}}}}
|
|
13
13
|
{"stepDefinition":{"id":"53","pattern":{"type":"CUCUMBER_EXPRESSION","source":"I eat {int} cucumbers"},"sourceReference":{"uri":"samples/examples-tables/examples-tables.ts","location":{"line":12}}}}
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
{"testStepStarted":{"testCaseStartedId":"87","testStepId":"67","timestamp":{"seconds":0,"nanos":20000000}}}
|
|
44
44
|
{"testStepFinished":{"testCaseStartedId":"87","testStepId":"67","testStepResult":{"status":"PASSED","duration":{"seconds":0,"nanos":1000000}},"timestamp":{"seconds":0,"nanos":21000000}}}
|
|
45
45
|
{"testStepStarted":{"testCaseStartedId":"87","testStepId":"68","timestamp":{"seconds":0,"nanos":22000000}}}
|
|
46
|
-
{"testStepFinished":{"testCaseStartedId":"87","testStepId":"68","testStepResult":{"message":"Expected values to be strictly equal:\n\n-8 !== 0\n","exception":{"type":"AssertionError","message":"Expected values to be strictly equal:\n\n-8 !== 0\n","stackTrace":"AssertionError: Expected values to be strictly equal:\n\n-8 !== 0\n\nsamples/examples-tables/examples-tables.feature:
|
|
46
|
+
{"testStepFinished":{"testCaseStartedId":"87","testStepId":"68","testStepResult":{"message":"Expected values to be strictly equal:\n\n-8 !== 0\n","exception":{"type":"AssertionError","message":"Expected values to be strictly equal:\n\n-8 !== 0\n","stackTrace":"AssertionError: Expected values to be strictly equal:\n\n-8 !== 0\n\nsamples/examples-tables/examples-tables.feature:15"},"status":"FAILED","duration":{"seconds":0,"nanos":1000000}},"timestamp":{"seconds":0,"nanos":23000000}}}
|
|
47
47
|
{"testCaseFinished":{"testCaseStartedId":"87","timestamp":{"seconds":0,"nanos":24000000},"willBeRetried":false}}
|
|
48
48
|
{"testCaseStarted":{"id":"88","testCaseId":"69","timestamp":{"seconds":0,"nanos":25000000},"attempt":0}}
|
|
49
49
|
{"testStepStarted":{"testCaseStartedId":"88","testStepId":"70","timestamp":{"seconds":0,"nanos":26000000}}}
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
{"testStepStarted":{"testCaseStartedId":"88","testStepId":"71","timestamp":{"seconds":0,"nanos":28000000}}}
|
|
52
52
|
{"testStepFinished":{"testCaseStartedId":"88","testStepId":"71","testStepResult":{"status":"PASSED","duration":{"seconds":0,"nanos":1000000}},"timestamp":{"seconds":0,"nanos":29000000}}}
|
|
53
53
|
{"testStepStarted":{"testCaseStartedId":"88","testStepId":"72","timestamp":{"seconds":0,"nanos":30000000}}}
|
|
54
|
-
{"testStepFinished":{"testCaseStartedId":"88","testStepId":"72","testStepResult":{"message":"Expected values to be strictly equal:\n\n-1 !== 0\n","exception":{"type":"AssertionError","message":"Expected values to be strictly equal:\n\n-1 !== 0\n","stackTrace":"AssertionError: Expected values to be strictly equal:\n\n-1 !== 0\n\nsamples/examples-tables/examples-tables.feature:
|
|
54
|
+
{"testStepFinished":{"testCaseStartedId":"88","testStepId":"72","testStepResult":{"message":"Expected values to be strictly equal:\n\n-1 !== 0\n","exception":{"type":"AssertionError","message":"Expected values to be strictly equal:\n\n-1 !== 0\n","stackTrace":"AssertionError: Expected values to be strictly equal:\n\n-1 !== 0\n\nsamples/examples-tables/examples-tables.feature:15"},"status":"FAILED","duration":{"seconds":0,"nanos":1000000}},"timestamp":{"seconds":0,"nanos":31000000}}}
|
|
55
55
|
{"testCaseFinished":{"testCaseStartedId":"88","timestamp":{"seconds":0,"nanos":32000000},"willBeRetried":false}}
|
|
56
56
|
{"testCaseStarted":{"id":"89","testCaseId":"73","timestamp":{"seconds":0,"nanos":33000000},"attempt":0}}
|
|
57
57
|
{"testStepStarted":{"testCaseStartedId":"89","testStepId":"74","timestamp":{"seconds":0,"nanos":34000000}}}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
{"meta":{"protocolVersion":"
|
|
2
|
-
{"source":{"data":"Feature: Examples Tables - With attachments\n It is sometimes useful to take a screenshot while a scenario runs or capture some logs.\n\n Scenario Outline: Attaching images in an examples table\n When a <type> image is attached\n\n Examples:\n | type |\n | JPEG |\n | PNG |\n","uri":"samples/examples-tables-attachment/examples-tables-attachment.feature","mediaType":"text/x.cucumber.gherkin+plain"}}
|
|
3
|
-
{"gherkinDocument":{"feature":{"tags":[],"location":{"line":1,"column":1},"language":"en","keyword":"Feature","name":"Examples Tables - With attachments","description":" It is sometimes useful to take a screenshot while a scenario runs or capture some logs.","children":[{"scenario":{"id":"5","tags":[],"location":{"line":
|
|
4
|
-
{"pickle":{"id":"7","uri":"samples/examples-tables-attachment/examples-tables-attachment.feature","location":{"line":
|
|
5
|
-
{"pickle":{"id":"9","uri":"samples/examples-tables-attachment/examples-tables-attachment.feature","location":{"line":
|
|
1
|
+
{"meta":{"protocolVersion":"35.0.0","implementation":{"name":"fake-cucumber","version":"123.45.6"},"cpu":{"name":"arm64"},"os":{"name":"darwin","version":"24.5.0"},"runtime":{"name":"Node.js","version":"24.4.1"},"ci":{"name":"GitHub Actions","url":"https://github.com/cucumber-ltd/shouty.rb/actions/runs/154666429","buildNumber":"154666429","git":{"revision":"99684bcacf01d95875834d87903dcb072306c9ad","remote":"https://github.com/cucumber-ltd/shouty.rb.git","branch":"main"}}}}
|
|
2
|
+
{"source":{"data":"Feature: Examples Tables - With attachments\n\n It is sometimes useful to take a screenshot while a scenario runs or capture some logs.\n\n Scenario Outline: Attaching images in an examples table\n When a <type> image is attached\n\n Examples:\n | type |\n | JPEG |\n | PNG |\n","uri":"samples/examples-tables-attachment/examples-tables-attachment.feature","mediaType":"text/x.cucumber.gherkin+plain"}}
|
|
3
|
+
{"gherkinDocument":{"feature":{"tags":[],"location":{"line":1,"column":1},"language":"en","keyword":"Feature","name":"Examples Tables - With attachments","description":" It is sometimes useful to take a screenshot while a scenario runs or capture some logs.","children":[{"scenario":{"id":"5","tags":[],"location":{"line":5,"column":3},"keyword":"Scenario Outline","name":"Attaching images in an examples table","description":"","steps":[{"id":"0","location":{"line":6,"column":5},"keyword":"When ","keywordType":"Action","text":"a <type> image is attached"}],"examples":[{"id":"4","tags":[],"location":{"line":8,"column":5},"keyword":"Examples","name":"","description":"","tableHeader":{"id":"1","location":{"line":9,"column":7},"cells":[{"location":{"line":9,"column":9},"value":"type"}]},"tableBody":[{"id":"2","location":{"line":10,"column":7},"cells":[{"location":{"line":10,"column":9},"value":"JPEG"}]},{"id":"3","location":{"line":11,"column":7},"cells":[{"location":{"line":11,"column":9},"value":"PNG"}]}]}]}}]},"comments":[],"uri":"samples/examples-tables-attachment/examples-tables-attachment.feature"}}
|
|
4
|
+
{"pickle":{"id":"7","uri":"samples/examples-tables-attachment/examples-tables-attachment.feature","location":{"line":10,"column":7},"astNodeIds":["5","2"],"name":"Attaching images in an examples table","language":"en","steps":[{"id":"6","text":"a JPEG image is attached","type":"Action","astNodeIds":["0","2"]}],"tags":[]}}
|
|
5
|
+
{"pickle":{"id":"9","uri":"samples/examples-tables-attachment/examples-tables-attachment.feature","location":{"line":11,"column":7},"astNodeIds":["5","3"],"name":"Attaching images in an examples table","language":"en","steps":[{"id":"8","text":"a PNG image is attached","type":"Action","astNodeIds":["0","3"]}],"tags":[]}}
|
|
6
6
|
{"stepDefinition":{"id":"10","pattern":{"type":"CUCUMBER_EXPRESSION","source":"a JPEG image is attached"},"sourceReference":{"uri":"samples/examples-tables-attachment/examples-tables-attachment.ts","location":{"line":4}}}}
|
|
7
7
|
{"stepDefinition":{"id":"11","pattern":{"type":"CUCUMBER_EXPRESSION","source":"a PNG image is attached"},"sourceReference":{"uri":"samples/examples-tables-attachment/examples-tables-attachment.ts","location":{"line":8}}}}
|
|
8
8
|
{"testRunStarted":{"id":"12","timestamp":{"seconds":0,"nanos":0}}}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
Feature: Examples Tables - With Undefined Steps
|
|
2
|
+
|
|
2
3
|
The replacement pattern used in scenario outlines does not influence how steps
|
|
3
4
|
are matched. The replacement pattern is replaced, and step definitions are
|
|
4
5
|
matched against that text. Because of that the following results in one
|
|
5
|
-
undefined step for each example and a suggested snippet to implement it.
|
|
6
|
+
undefined step for each example and a suggested snippet to implement it.
|
|
6
7
|
|
|
7
8
|
Scenario Outline: Eating cucumbers
|
|
8
9
|
Given there are <start> cucumbers
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
{"meta":{"protocolVersion":"
|
|
2
|
-
{"source":{"data":"Feature: Examples Tables - With Undefined Steps\n The replacement pattern used in scenario outlines does not influence how steps\n are matched. The replacement pattern is replaced, and step definitions are\n matched against that text. Because of that the following results in one\n undefined step for each example and a suggested snippet to implement it
|
|
3
|
-
{"gherkinDocument":{"feature":{"tags":[],"location":{"line":1,"column":1},"language":"en","keyword":"Feature","name":"Examples Tables - With Undefined Steps","description":" The replacement pattern used in scenario outlines does not influence how steps\n are matched. The replacement pattern is replaced, and step definitions are\n matched against that text. Because of that the following results in one\n undefined step for each example and a suggested snippet to implement it.
|
|
4
|
-
{"pickle":{"id":"13","uri":"samples/examples-tables-undefined/examples-tables-undefined.feature","location":{"line":
|
|
5
|
-
{"pickle":{"id":"17","uri":"samples/examples-tables-undefined/examples-tables-undefined.feature","location":{"line":
|
|
6
|
-
{"pickle":{"id":"21","uri":"samples/examples-tables-undefined/examples-tables-undefined.feature","location":{"line":
|
|
1
|
+
{"meta":{"protocolVersion":"35.0.0","implementation":{"name":"fake-cucumber","version":"123.45.6"},"cpu":{"name":"arm64"},"os":{"name":"darwin","version":"24.5.0"},"runtime":{"name":"Node.js","version":"24.4.1"},"ci":{"name":"GitHub Actions","url":"https://github.com/cucumber-ltd/shouty.rb/actions/runs/154666429","buildNumber":"154666429","git":{"revision":"99684bcacf01d95875834d87903dcb072306c9ad","remote":"https://github.com/cucumber-ltd/shouty.rb.git","branch":"main"}}}}
|
|
2
|
+
{"source":{"data":"Feature: Examples Tables - With Undefined Steps\n\n The replacement pattern used in scenario outlines does not influence how steps\n are matched. The replacement pattern is replaced, and step definitions are\n matched against that text. Because of that the following results in one\n undefined step for each example and a suggested snippet to implement it.\n\n Scenario Outline: Eating cucumbers\n Given there are <start> cucumbers\n When I eat <eat> cucumbers\n Then I should have <left> cucumbers\n\n @undefined\n Examples: These are undefined because the value is not an {int}\n | start | eat | left |\n | pear | 1 | 12 |\n | 12 | banana | 12 |\n | 0 | 1 | apple |\n","uri":"samples/examples-tables-undefined/examples-tables-undefined.feature","mediaType":"text/x.cucumber.gherkin+plain"}}
|
|
3
|
+
{"gherkinDocument":{"feature":{"tags":[],"location":{"line":1,"column":1},"language":"en","keyword":"Feature","name":"Examples Tables - With Undefined Steps","description":" The replacement pattern used in scenario outlines does not influence how steps\n are matched. The replacement pattern is replaced, and step definitions are\n matched against that text. Because of that the following results in one\n undefined step for each example and a suggested snippet to implement it.","children":[{"scenario":{"id":"9","tags":[],"location":{"line":8,"column":3},"keyword":"Scenario Outline","name":"Eating cucumbers","description":"","steps":[{"id":"0","location":{"line":9,"column":5},"keyword":"Given ","keywordType":"Context","text":"there are <start> cucumbers"},{"id":"1","location":{"line":10,"column":5},"keyword":"When ","keywordType":"Action","text":"I eat <eat> cucumbers"},{"id":"2","location":{"line":11,"column":5},"keyword":"Then ","keywordType":"Outcome","text":"I should have <left> cucumbers"}],"examples":[{"id":"8","tags":[{"location":{"line":13,"column":5},"name":"@undefined","id":"7"}],"location":{"line":14,"column":5},"keyword":"Examples","name":"These are undefined because the value is not an {int}","description":"","tableHeader":{"id":"3","location":{"line":15,"column":7},"cells":[{"location":{"line":15,"column":9},"value":"start"},{"location":{"line":15,"column":17},"value":"eat"},{"location":{"line":15,"column":26},"value":"left"}]},"tableBody":[{"id":"4","location":{"line":16,"column":7},"cells":[{"location":{"line":16,"column":9},"value":"pear"},{"location":{"line":16,"column":17},"value":"1"},{"location":{"line":16,"column":26},"value":"12"}]},{"id":"5","location":{"line":17,"column":7},"cells":[{"location":{"line":17,"column":9},"value":"12"},{"location":{"line":17,"column":17},"value":"banana"},{"location":{"line":17,"column":26},"value":"12"}]},{"id":"6","location":{"line":18,"column":7},"cells":[{"location":{"line":18,"column":9},"value":"0"},{"location":{"line":18,"column":17},"value":"1"},{"location":{"line":18,"column":26},"value":"apple"}]}]}]}}]},"comments":[],"uri":"samples/examples-tables-undefined/examples-tables-undefined.feature"}}
|
|
4
|
+
{"pickle":{"id":"13","uri":"samples/examples-tables-undefined/examples-tables-undefined.feature","location":{"line":16,"column":7},"astNodeIds":["9","4"],"name":"Eating cucumbers","language":"en","steps":[{"id":"10","text":"there are pear cucumbers","type":"Context","astNodeIds":["0","4"]},{"id":"11","text":"I eat 1 cucumbers","type":"Action","astNodeIds":["1","4"]},{"id":"12","text":"I should have 12 cucumbers","type":"Outcome","astNodeIds":["2","4"]}],"tags":[{"name":"@undefined","astNodeId":"7"}]}}
|
|
5
|
+
{"pickle":{"id":"17","uri":"samples/examples-tables-undefined/examples-tables-undefined.feature","location":{"line":17,"column":7},"astNodeIds":["9","5"],"name":"Eating cucumbers","language":"en","steps":[{"id":"14","text":"there are 12 cucumbers","type":"Context","astNodeIds":["0","5"]},{"id":"15","text":"I eat banana cucumbers","type":"Action","astNodeIds":["1","5"]},{"id":"16","text":"I should have 12 cucumbers","type":"Outcome","astNodeIds":["2","5"]}],"tags":[{"name":"@undefined","astNodeId":"7"}]}}
|
|
6
|
+
{"pickle":{"id":"21","uri":"samples/examples-tables-undefined/examples-tables-undefined.feature","location":{"line":18,"column":7},"astNodeIds":["9","6"],"name":"Eating cucumbers","language":"en","steps":[{"id":"18","text":"there are 0 cucumbers","type":"Context","astNodeIds":["0","6"]},{"id":"19","text":"I eat 1 cucumbers","type":"Action","astNodeIds":["1","6"]},{"id":"20","text":"I should have apple cucumbers","type":"Outcome","astNodeIds":["2","6"]}],"tags":[{"name":"@undefined","astNodeId":"7"}]}}
|
|
7
7
|
{"stepDefinition":{"id":"22","pattern":{"type":"CUCUMBER_EXPRESSION","source":"there are {int} cucumbers"},"sourceReference":{"uri":"samples/examples-tables-undefined/examples-tables-undefined.ts","location":{"line":4}}}}
|
|
8
8
|
{"stepDefinition":{"id":"23","pattern":{"type":"CUCUMBER_EXPRESSION","source":"I eat {int} cucumbers"},"sourceReference":{"uri":"samples/examples-tables-undefined/examples-tables-undefined.ts","location":{"line":8}}}}
|
|
9
9
|
{"stepDefinition":{"id":"24","pattern":{"type":"CUCUMBER_EXPRESSION","source":"I should have {int} cucumbers"},"sourceReference":{"uri":"samples/examples-tables-undefined/examples-tables-undefined.ts","location":{"line":12}}}}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
Feature: Examples Tables - With Many Undefined Steps
|
|
2
|
+
|
|
2
3
|
The replacement pattern used in scenario outlines does not influence how steps
|
|
3
4
|
are matched. The replacement pattern is replaced, and step definitions are
|
|
4
5
|
matched against that text. Because of that the following results in several
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
{"meta":{"protocolVersion":"
|
|
2
|
-
{"source":{"data":"Feature: Examples Tables - With Many Undefined Steps\n The replacement pattern used in scenario outlines does not influence how steps\n are matched. The replacement pattern is replaced, and step definitions are\n matched against that text. Because of that the following results in several\n undefined steps for each example and suggested snippets to implement them.\n\n Scenario Outline: Eating cucumbers\n Given there are <start> cucumbers\n When I eat <eat> cucumbers\n Then I should have <left> cucumbers\n\n @undefined\n Examples: These are undefined because many of the values are not an {int}\n | start | eat | left |\n | pear | 1 | apple |\n | pear | banana | 12 |\n | 0 | banana | apple |\n | pear | banana | apple |\n","uri":"samples/examples-tables-undefined-multiple/examples-tables-undefined-multiple.feature","mediaType":"text/x.cucumber.gherkin+plain"}}
|
|
3
|
-
{"gherkinDocument":{"feature":{"tags":[],"location":{"line":1,"column":1},"language":"en","keyword":"Feature","name":"Examples Tables - With Many Undefined Steps","description":" The replacement pattern used in scenario outlines does not influence how steps\n are matched. The replacement pattern is replaced, and step definitions are\n matched against that text. Because of that the following results in several\n undefined steps for each example and suggested snippets to implement them.","children":[{"scenario":{"id":"10","tags":[],"location":{"line":
|
|
4
|
-
{"pickle":{"id":"14","uri":"samples/examples-tables-undefined-multiple/examples-tables-undefined-multiple.feature","location":{"line":
|
|
5
|
-
{"pickle":{"id":"18","uri":"samples/examples-tables-undefined-multiple/examples-tables-undefined-multiple.feature","location":{"line":
|
|
6
|
-
{"pickle":{"id":"22","uri":"samples/examples-tables-undefined-multiple/examples-tables-undefined-multiple.feature","location":{"line":
|
|
7
|
-
{"pickle":{"id":"26","uri":"samples/examples-tables-undefined-multiple/examples-tables-undefined-multiple.feature","location":{"line":
|
|
1
|
+
{"meta":{"protocolVersion":"35.0.0","implementation":{"name":"fake-cucumber","version":"123.45.6"},"cpu":{"name":"arm64"},"os":{"name":"darwin","version":"24.5.0"},"runtime":{"name":"Node.js","version":"24.4.1"},"ci":{"name":"GitHub Actions","url":"https://github.com/cucumber-ltd/shouty.rb/actions/runs/154666429","buildNumber":"154666429","git":{"revision":"99684bcacf01d95875834d87903dcb072306c9ad","remote":"https://github.com/cucumber-ltd/shouty.rb.git","branch":"main"}}}}
|
|
2
|
+
{"source":{"data":"Feature: Examples Tables - With Many Undefined Steps\n\n The replacement pattern used in scenario outlines does not influence how steps\n are matched. The replacement pattern is replaced, and step definitions are\n matched against that text. Because of that the following results in several\n undefined steps for each example and suggested snippets to implement them.\n\n Scenario Outline: Eating cucumbers\n Given there are <start> cucumbers\n When I eat <eat> cucumbers\n Then I should have <left> cucumbers\n\n @undefined\n Examples: These are undefined because many of the values are not an {int}\n | start | eat | left |\n | pear | 1 | apple |\n | pear | banana | 12 |\n | 0 | banana | apple |\n | pear | banana | apple |\n","uri":"samples/examples-tables-undefined-multiple/examples-tables-undefined-multiple.feature","mediaType":"text/x.cucumber.gherkin+plain"}}
|
|
3
|
+
{"gherkinDocument":{"feature":{"tags":[],"location":{"line":1,"column":1},"language":"en","keyword":"Feature","name":"Examples Tables - With Many Undefined Steps","description":" The replacement pattern used in scenario outlines does not influence how steps\n are matched. The replacement pattern is replaced, and step definitions are\n matched against that text. Because of that the following results in several\n undefined steps for each example and suggested snippets to implement them.","children":[{"scenario":{"id":"10","tags":[],"location":{"line":8,"column":3},"keyword":"Scenario Outline","name":"Eating cucumbers","description":"","steps":[{"id":"0","location":{"line":9,"column":5},"keyword":"Given ","keywordType":"Context","text":"there are <start> cucumbers"},{"id":"1","location":{"line":10,"column":5},"keyword":"When ","keywordType":"Action","text":"I eat <eat> cucumbers"},{"id":"2","location":{"line":11,"column":5},"keyword":"Then ","keywordType":"Outcome","text":"I should have <left> cucumbers"}],"examples":[{"id":"9","tags":[{"location":{"line":13,"column":5},"name":"@undefined","id":"8"}],"location":{"line":14,"column":5},"keyword":"Examples","name":"These are undefined because many of the values are not an {int}","description":"","tableHeader":{"id":"3","location":{"line":15,"column":7},"cells":[{"location":{"line":15,"column":9},"value":"start"},{"location":{"line":15,"column":17},"value":"eat"},{"location":{"line":15,"column":26},"value":"left"}]},"tableBody":[{"id":"4","location":{"line":16,"column":7},"cells":[{"location":{"line":16,"column":9},"value":"pear"},{"location":{"line":16,"column":17},"value":"1"},{"location":{"line":16,"column":26},"value":"apple"}]},{"id":"5","location":{"line":17,"column":7},"cells":[{"location":{"line":17,"column":9},"value":"pear"},{"location":{"line":17,"column":17},"value":"banana"},{"location":{"line":17,"column":26},"value":"12"}]},{"id":"6","location":{"line":18,"column":7},"cells":[{"location":{"line":18,"column":9},"value":"0"},{"location":{"line":18,"column":17},"value":"banana"},{"location":{"line":18,"column":26},"value":"apple"}]},{"id":"7","location":{"line":19,"column":7},"cells":[{"location":{"line":19,"column":9},"value":"pear"},{"location":{"line":19,"column":17},"value":"banana"},{"location":{"line":19,"column":26},"value":"apple"}]}]}]}}]},"comments":[],"uri":"samples/examples-tables-undefined-multiple/examples-tables-undefined-multiple.feature"}}
|
|
4
|
+
{"pickle":{"id":"14","uri":"samples/examples-tables-undefined-multiple/examples-tables-undefined-multiple.feature","location":{"line":16,"column":7},"astNodeIds":["10","4"],"name":"Eating cucumbers","language":"en","steps":[{"id":"11","text":"there are pear cucumbers","type":"Context","astNodeIds":["0","4"]},{"id":"12","text":"I eat 1 cucumbers","type":"Action","astNodeIds":["1","4"]},{"id":"13","text":"I should have apple cucumbers","type":"Outcome","astNodeIds":["2","4"]}],"tags":[{"name":"@undefined","astNodeId":"8"}]}}
|
|
5
|
+
{"pickle":{"id":"18","uri":"samples/examples-tables-undefined-multiple/examples-tables-undefined-multiple.feature","location":{"line":17,"column":7},"astNodeIds":["10","5"],"name":"Eating cucumbers","language":"en","steps":[{"id":"15","text":"there are pear cucumbers","type":"Context","astNodeIds":["0","5"]},{"id":"16","text":"I eat banana cucumbers","type":"Action","astNodeIds":["1","5"]},{"id":"17","text":"I should have 12 cucumbers","type":"Outcome","astNodeIds":["2","5"]}],"tags":[{"name":"@undefined","astNodeId":"8"}]}}
|
|
6
|
+
{"pickle":{"id":"22","uri":"samples/examples-tables-undefined-multiple/examples-tables-undefined-multiple.feature","location":{"line":18,"column":7},"astNodeIds":["10","6"],"name":"Eating cucumbers","language":"en","steps":[{"id":"19","text":"there are 0 cucumbers","type":"Context","astNodeIds":["0","6"]},{"id":"20","text":"I eat banana cucumbers","type":"Action","astNodeIds":["1","6"]},{"id":"21","text":"I should have apple cucumbers","type":"Outcome","astNodeIds":["2","6"]}],"tags":[{"name":"@undefined","astNodeId":"8"}]}}
|
|
7
|
+
{"pickle":{"id":"26","uri":"samples/examples-tables-undefined-multiple/examples-tables-undefined-multiple.feature","location":{"line":19,"column":7},"astNodeIds":["10","7"],"name":"Eating cucumbers","language":"en","steps":[{"id":"23","text":"there are pear cucumbers","type":"Context","astNodeIds":["0","7"]},{"id":"24","text":"I eat banana cucumbers","type":"Action","astNodeIds":["1","7"]},{"id":"25","text":"I should have apple cucumbers","type":"Outcome","astNodeIds":["2","7"]}],"tags":[{"name":"@undefined","astNodeId":"8"}]}}
|
|
8
8
|
{"stepDefinition":{"id":"27","pattern":{"type":"CUCUMBER_EXPRESSION","source":"there are {int} cucumbers"},"sourceReference":{"uri":"samples/examples-tables-undefined-multiple/examples-tables-undefined-multiple.ts","location":{"line":4}}}}
|
|
9
9
|
{"stepDefinition":{"id":"28","pattern":{"type":"CUCUMBER_EXPRESSION","source":"I eat {int} cucumbers"},"sourceReference":{"uri":"samples/examples-tables-undefined-multiple/examples-tables-undefined-multiple.ts","location":{"line":8}}}}
|
|
10
10
|
{"stepDefinition":{"id":"29","pattern":{"type":"CUCUMBER_EXPRESSION","source":"I should have {int} cucumbers"},"sourceReference":{"uri":"samples/examples-tables-undefined-multiple/examples-tables-undefined-multiple.ts","location":{"line":12}}}}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
{"meta":{"protocolVersion":"
|
|
2
|
-
{"source":{"data":"Feature: Failed-ish combinations\n Sometimes the first failed-ish (not passed or skipped) step's status\n is not the only one.\n\n Rule: Undefined and ambiguous steps can follow a failed-ish step\n\n Scenario: Pending as the first failed-ish step\n Given a pending step\n And an undefined step\n And an ambiguous step\n\n Scenario: Undefined as the first failed-ish step\n Given an undefined step\n And an undefined step\n And an ambiguous step\n\n Scenario: Ambiguous as the first failed-ish step\n Given an ambiguous step\n And an undefined step\n And an ambiguous step\n\n Scenario: Failed as the first failed-ish step\n Given a failing step\n And an undefined step\n And an ambiguous step\n\n Rule: Failed and pending steps do not follow a failed-ish step\n\n Scenario: Pending as the first failed-ish step\n Given a pending step\n And a pending step\n And a failing step\n\n Scenario: Undefined as the first failed-ish step\n Given an undefined step\n And a pending step\n And a failing step\n\n Scenario: Ambiguous as the first failed-ish step\n Given an ambiguous step\n And a pending step\n And a failing step\n\n Scenario: Failed as the first failed-ish step\n Given a failing step\n And a pending step\n And a failing step\n\n Rule: No pickle steps follow a skipped step\n\n Scenario: Step marks itself skipped\n Given a skipped step\n And an undefined step\n And an ambiguous step\n","uri":"samples/failedish-combinations/failedish-combinations.feature","mediaType":"text/x.cucumber.gherkin+plain"}}
|
|
3
|
-
{"gherkinDocument":{"feature":{"tags":[],"location":{"line":1,"column":1},"language":"en","keyword":"Feature","name":"Failed-ish combinations","description":" Sometimes the first failed-ish (not passed or skipped) step's status\n is not the only one.","children":[{"rule":{"id":"16","location":{"line":
|
|
4
|
-
{"pickle":{"id":"42","uri":"samples/failedish-combinations/failedish-combinations.feature","location":{"line":
|
|
5
|
-
{"pickle":{"id":"46","uri":"samples/failedish-combinations/failedish-combinations.feature","location":{"line":
|
|
6
|
-
{"pickle":{"id":"50","uri":"samples/failedish-combinations/failedish-combinations.feature","location":{"line":
|
|
7
|
-
{"pickle":{"id":"54","uri":"samples/failedish-combinations/failedish-combinations.feature","location":{"line":
|
|
8
|
-
{"pickle":{"id":"58","uri":"samples/failedish-combinations/failedish-combinations.feature","location":{"line":
|
|
9
|
-
{"pickle":{"id":"62","uri":"samples/failedish-combinations/failedish-combinations.feature","location":{"line":
|
|
10
|
-
{"pickle":{"id":"66","uri":"samples/failedish-combinations/failedish-combinations.feature","location":{"line":
|
|
11
|
-
{"pickle":{"id":"70","uri":"samples/failedish-combinations/failedish-combinations.feature","location":{"line":
|
|
12
|
-
{"pickle":{"id":"74","uri":"samples/failedish-combinations/failedish-combinations.feature","location":{"line":
|
|
1
|
+
{"meta":{"protocolVersion":"35.0.0","implementation":{"name":"fake-cucumber","version":"123.45.6"},"cpu":{"name":"arm64"},"os":{"name":"darwin","version":"24.5.0"},"runtime":{"name":"Node.js","version":"24.4.1"},"ci":{"name":"GitHub Actions","url":"https://github.com/cucumber-ltd/shouty.rb/actions/runs/154666429","buildNumber":"154666429","git":{"revision":"99684bcacf01d95875834d87903dcb072306c9ad","remote":"https://github.com/cucumber-ltd/shouty.rb.git","branch":"main"}}}}
|
|
2
|
+
{"source":{"data":"Feature: Failed-ish combinations\n\n Sometimes the first failed-ish (not passed or skipped) step's status\n is not the only one.\n\n Rule: Undefined and ambiguous steps can follow a failed-ish step\n\n Scenario: Pending as the first failed-ish step\n Given a pending step\n And an undefined step\n And an ambiguous step\n\n Scenario: Undefined as the first failed-ish step\n Given an undefined step\n And an undefined step\n And an ambiguous step\n\n Scenario: Ambiguous as the first failed-ish step\n Given an ambiguous step\n And an undefined step\n And an ambiguous step\n\n Scenario: Failed as the first failed-ish step\n Given a failing step\n And an undefined step\n And an ambiguous step\n\n Rule: Failed and pending steps do not follow a failed-ish step\n\n Scenario: Pending as the first failed-ish step\n Given a pending step\n And a pending step\n And a failing step\n\n Scenario: Undefined as the first failed-ish step\n Given an undefined step\n And a pending step\n And a failing step\n\n Scenario: Ambiguous as the first failed-ish step\n Given an ambiguous step\n And a pending step\n And a failing step\n\n Scenario: Failed as the first failed-ish step\n Given a failing step\n And a pending step\n And a failing step\n\n Rule: No pickle steps follow a skipped step\n\n Scenario: Step marks itself skipped\n Given a skipped step\n And an undefined step\n And an ambiguous step\n","uri":"samples/failedish-combinations/failedish-combinations.feature","mediaType":"text/x.cucumber.gherkin+plain"}}
|
|
3
|
+
{"gherkinDocument":{"feature":{"tags":[],"location":{"line":1,"column":1},"language":"en","keyword":"Feature","name":"Failed-ish combinations","description":" Sometimes the first failed-ish (not passed or skipped) step's status\n is not the only one.","children":[{"rule":{"id":"16","location":{"line":6,"column":3},"keyword":"Rule","name":"Undefined and ambiguous steps can follow a failed-ish step","description":"","children":[{"scenario":{"id":"3","tags":[],"location":{"line":8,"column":5},"keyword":"Scenario","name":"Pending as the first failed-ish step","description":"","steps":[{"id":"0","location":{"line":9,"column":7},"keyword":"Given ","keywordType":"Context","text":"a pending step"},{"id":"1","location":{"line":10,"column":7},"keyword":"And ","keywordType":"Conjunction","text":"an undefined step"},{"id":"2","location":{"line":11,"column":7},"keyword":"And ","keywordType":"Conjunction","text":"an ambiguous step"}],"examples":[]}},{"scenario":{"id":"7","tags":[],"location":{"line":13,"column":5},"keyword":"Scenario","name":"Undefined as the first failed-ish step","description":"","steps":[{"id":"4","location":{"line":14,"column":7},"keyword":"Given ","keywordType":"Context","text":"an undefined step"},{"id":"5","location":{"line":15,"column":7},"keyword":"And ","keywordType":"Conjunction","text":"an undefined step"},{"id":"6","location":{"line":16,"column":7},"keyword":"And ","keywordType":"Conjunction","text":"an ambiguous step"}],"examples":[]}},{"scenario":{"id":"11","tags":[],"location":{"line":18,"column":5},"keyword":"Scenario","name":"Ambiguous as the first failed-ish step","description":"","steps":[{"id":"8","location":{"line":19,"column":7},"keyword":"Given ","keywordType":"Context","text":"an ambiguous step"},{"id":"9","location":{"line":20,"column":7},"keyword":"And ","keywordType":"Conjunction","text":"an undefined step"},{"id":"10","location":{"line":21,"column":7},"keyword":"And ","keywordType":"Conjunction","text":"an ambiguous step"}],"examples":[]}},{"scenario":{"id":"15","tags":[],"location":{"line":23,"column":5},"keyword":"Scenario","name":"Failed as the first failed-ish step","description":"","steps":[{"id":"12","location":{"line":24,"column":7},"keyword":"Given ","keywordType":"Context","text":"a failing step"},{"id":"13","location":{"line":25,"column":7},"keyword":"And ","keywordType":"Conjunction","text":"an undefined step"},{"id":"14","location":{"line":26,"column":7},"keyword":"And ","keywordType":"Conjunction","text":"an ambiguous step"}],"examples":[]}}],"tags":[]}},{"rule":{"id":"33","location":{"line":28,"column":3},"keyword":"Rule","name":"Failed and pending steps do not follow a failed-ish step","description":"","children":[{"scenario":{"id":"20","tags":[],"location":{"line":30,"column":5},"keyword":"Scenario","name":"Pending as the first failed-ish step","description":"","steps":[{"id":"17","location":{"line":31,"column":7},"keyword":"Given ","keywordType":"Context","text":"a pending step"},{"id":"18","location":{"line":32,"column":7},"keyword":"And ","keywordType":"Conjunction","text":"a pending step"},{"id":"19","location":{"line":33,"column":7},"keyword":"And ","keywordType":"Conjunction","text":"a failing step"}],"examples":[]}},{"scenario":{"id":"24","tags":[],"location":{"line":35,"column":5},"keyword":"Scenario","name":"Undefined as the first failed-ish step","description":"","steps":[{"id":"21","location":{"line":36,"column":7},"keyword":"Given ","keywordType":"Context","text":"an undefined step"},{"id":"22","location":{"line":37,"column":7},"keyword":"And ","keywordType":"Conjunction","text":"a pending step"},{"id":"23","location":{"line":38,"column":7},"keyword":"And ","keywordType":"Conjunction","text":"a failing step"}],"examples":[]}},{"scenario":{"id":"28","tags":[],"location":{"line":40,"column":5},"keyword":"Scenario","name":"Ambiguous as the first failed-ish step","description":"","steps":[{"id":"25","location":{"line":41,"column":7},"keyword":"Given ","keywordType":"Context","text":"an ambiguous step"},{"id":"26","location":{"line":42,"column":7},"keyword":"And ","keywordType":"Conjunction","text":"a pending step"},{"id":"27","location":{"line":43,"column":7},"keyword":"And ","keywordType":"Conjunction","text":"a failing step"}],"examples":[]}},{"scenario":{"id":"32","tags":[],"location":{"line":45,"column":5},"keyword":"Scenario","name":"Failed as the first failed-ish step","description":"","steps":[{"id":"29","location":{"line":46,"column":7},"keyword":"Given ","keywordType":"Context","text":"a failing step"},{"id":"30","location":{"line":47,"column":7},"keyword":"And ","keywordType":"Conjunction","text":"a pending step"},{"id":"31","location":{"line":48,"column":7},"keyword":"And ","keywordType":"Conjunction","text":"a failing step"}],"examples":[]}}],"tags":[]}},{"rule":{"id":"38","location":{"line":50,"column":3},"keyword":"Rule","name":"No pickle steps follow a skipped step","description":"","children":[{"scenario":{"id":"37","tags":[],"location":{"line":52,"column":5},"keyword":"Scenario","name":"Step marks itself skipped","description":"","steps":[{"id":"34","location":{"line":53,"column":7},"keyword":"Given ","keywordType":"Context","text":"a skipped step"},{"id":"35","location":{"line":54,"column":7},"keyword":"And ","keywordType":"Conjunction","text":"an undefined step"},{"id":"36","location":{"line":55,"column":7},"keyword":"And ","keywordType":"Conjunction","text":"an ambiguous step"}],"examples":[]}}],"tags":[]}}]},"comments":[],"uri":"samples/failedish-combinations/failedish-combinations.feature"}}
|
|
4
|
+
{"pickle":{"id":"42","uri":"samples/failedish-combinations/failedish-combinations.feature","location":{"line":8,"column":5},"astNodeIds":["3"],"tags":[],"name":"Pending as the first failed-ish step","language":"en","steps":[{"id":"39","text":"a pending step","type":"Context","astNodeIds":["0"]},{"id":"40","text":"an undefined step","type":"Context","astNodeIds":["1"]},{"id":"41","text":"an ambiguous step","type":"Context","astNodeIds":["2"]}]}}
|
|
5
|
+
{"pickle":{"id":"46","uri":"samples/failedish-combinations/failedish-combinations.feature","location":{"line":13,"column":5},"astNodeIds":["7"],"tags":[],"name":"Undefined as the first failed-ish step","language":"en","steps":[{"id":"43","text":"an undefined step","type":"Context","astNodeIds":["4"]},{"id":"44","text":"an undefined step","type":"Context","astNodeIds":["5"]},{"id":"45","text":"an ambiguous step","type":"Context","astNodeIds":["6"]}]}}
|
|
6
|
+
{"pickle":{"id":"50","uri":"samples/failedish-combinations/failedish-combinations.feature","location":{"line":18,"column":5},"astNodeIds":["11"],"tags":[],"name":"Ambiguous as the first failed-ish step","language":"en","steps":[{"id":"47","text":"an ambiguous step","type":"Context","astNodeIds":["8"]},{"id":"48","text":"an undefined step","type":"Context","astNodeIds":["9"]},{"id":"49","text":"an ambiguous step","type":"Context","astNodeIds":["10"]}]}}
|
|
7
|
+
{"pickle":{"id":"54","uri":"samples/failedish-combinations/failedish-combinations.feature","location":{"line":23,"column":5},"astNodeIds":["15"],"tags":[],"name":"Failed as the first failed-ish step","language":"en","steps":[{"id":"51","text":"a failing step","type":"Context","astNodeIds":["12"]},{"id":"52","text":"an undefined step","type":"Context","astNodeIds":["13"]},{"id":"53","text":"an ambiguous step","type":"Context","astNodeIds":["14"]}]}}
|
|
8
|
+
{"pickle":{"id":"58","uri":"samples/failedish-combinations/failedish-combinations.feature","location":{"line":30,"column":5},"astNodeIds":["20"],"tags":[],"name":"Pending as the first failed-ish step","language":"en","steps":[{"id":"55","text":"a pending step","type":"Context","astNodeIds":["17"]},{"id":"56","text":"a pending step","type":"Context","astNodeIds":["18"]},{"id":"57","text":"a failing step","type":"Context","astNodeIds":["19"]}]}}
|
|
9
|
+
{"pickle":{"id":"62","uri":"samples/failedish-combinations/failedish-combinations.feature","location":{"line":35,"column":5},"astNodeIds":["24"],"tags":[],"name":"Undefined as the first failed-ish step","language":"en","steps":[{"id":"59","text":"an undefined step","type":"Context","astNodeIds":["21"]},{"id":"60","text":"a pending step","type":"Context","astNodeIds":["22"]},{"id":"61","text":"a failing step","type":"Context","astNodeIds":["23"]}]}}
|
|
10
|
+
{"pickle":{"id":"66","uri":"samples/failedish-combinations/failedish-combinations.feature","location":{"line":40,"column":5},"astNodeIds":["28"],"tags":[],"name":"Ambiguous as the first failed-ish step","language":"en","steps":[{"id":"63","text":"an ambiguous step","type":"Context","astNodeIds":["25"]},{"id":"64","text":"a pending step","type":"Context","astNodeIds":["26"]},{"id":"65","text":"a failing step","type":"Context","astNodeIds":["27"]}]}}
|
|
11
|
+
{"pickle":{"id":"70","uri":"samples/failedish-combinations/failedish-combinations.feature","location":{"line":45,"column":5},"astNodeIds":["32"],"tags":[],"name":"Failed as the first failed-ish step","language":"en","steps":[{"id":"67","text":"a failing step","type":"Context","astNodeIds":["29"]},{"id":"68","text":"a pending step","type":"Context","astNodeIds":["30"]},{"id":"69","text":"a failing step","type":"Context","astNodeIds":["31"]}]}}
|
|
12
|
+
{"pickle":{"id":"74","uri":"samples/failedish-combinations/failedish-combinations.feature","location":{"line":52,"column":5},"astNodeIds":["37"],"tags":[],"name":"Step marks itself skipped","language":"en","steps":[{"id":"71","text":"a skipped step","type":"Context","astNodeIds":["34"]},{"id":"72","text":"an undefined step","type":"Context","astNodeIds":["35"]},{"id":"73","text":"an ambiguous step","type":"Context","astNodeIds":["36"]}]}}
|
|
13
13
|
{"stepDefinition":{"id":"75","pattern":{"type":"REGULAR_EXPRESSION","source":"^a step$"},"sourceReference":{"uri":"samples/failedish-combinations/failedish-combinations.ts","location":{"line":3}}}}
|
|
14
14
|
{"stepDefinition":{"id":"76","pattern":{"type":"REGULAR_EXPRESSION","source":"^a skipped step$"},"sourceReference":{"uri":"samples/failedish-combinations/failedish-combinations.ts","location":{"line":7}}}}
|
|
15
15
|
{"stepDefinition":{"id":"77","pattern":{"type":"REGULAR_EXPRESSION","source":"^a pending step$"},"sourceReference":{"uri":"samples/failedish-combinations/failedish-combinations.ts","location":{"line":11}}}}
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
{"testCaseFinished":{"testCaseStartedId":"123","timestamp":{"seconds":0,"nanos":24000000},"willBeRetried":false}}
|
|
57
57
|
{"testCaseStarted":{"id":"125","testCaseId":"94","timestamp":{"seconds":0,"nanos":25000000},"attempt":0}}
|
|
58
58
|
{"testStepStarted":{"testCaseStartedId":"125","testStepId":"95","timestamp":{"seconds":0,"nanos":26000000}}}
|
|
59
|
-
{"testStepFinished":{"testCaseStartedId":"125","testStepId":"95","testStepResult":{"message":"whoops","exception":{"type":"Error","message":"whoops","stackTrace":"Error: whoops\nsamples/failedish-combinations/failedish-combinations.feature:
|
|
59
|
+
{"testStepFinished":{"testCaseStartedId":"125","testStepId":"95","testStepResult":{"message":"whoops","exception":{"type":"Error","message":"whoops","stackTrace":"Error: whoops\nsamples/failedish-combinations/failedish-combinations.feature:24"},"status":"FAILED","duration":{"seconds":0,"nanos":1000000}},"timestamp":{"seconds":0,"nanos":27000000}}}
|
|
60
60
|
{"testStepStarted":{"testCaseStartedId":"125","testStepId":"96","timestamp":{"seconds":0,"nanos":28000000}}}
|
|
61
61
|
{"suggestion":{"id":"126","pickleStepId":"52","snippets":[{"language":"typescript","code":"Given(\"an undefined step\", () => {\n return \"pending\"\n})"}]}}
|
|
62
62
|
{"testStepFinished":{"testCaseStartedId":"125","testStepId":"96","testStepResult":{"status":"UNDEFINED","duration":{"seconds":0,"nanos":0}},"timestamp":{"seconds":0,"nanos":29000000}}}
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
{"testCaseFinished":{"testCaseStartedId":"130","timestamp":{"seconds":0,"nanos":56000000},"willBeRetried":false}}
|
|
91
91
|
{"testCaseStarted":{"id":"131","testCaseId":"110","timestamp":{"seconds":0,"nanos":57000000},"attempt":0}}
|
|
92
92
|
{"testStepStarted":{"testCaseStartedId":"131","testStepId":"111","timestamp":{"seconds":0,"nanos":58000000}}}
|
|
93
|
-
{"testStepFinished":{"testCaseStartedId":"131","testStepId":"111","testStepResult":{"message":"whoops","exception":{"type":"Error","message":"whoops","stackTrace":"Error: whoops\nsamples/failedish-combinations/failedish-combinations.feature:
|
|
93
|
+
{"testStepFinished":{"testCaseStartedId":"131","testStepId":"111","testStepResult":{"message":"whoops","exception":{"type":"Error","message":"whoops","stackTrace":"Error: whoops\nsamples/failedish-combinations/failedish-combinations.feature:46"},"status":"FAILED","duration":{"seconds":0,"nanos":1000000}},"timestamp":{"seconds":0,"nanos":59000000}}}
|
|
94
94
|
{"testStepStarted":{"testCaseStartedId":"131","testStepId":"112","timestamp":{"seconds":0,"nanos":60000000}}}
|
|
95
95
|
{"testStepFinished":{"testCaseStartedId":"131","testStepId":"112","testStepResult":{"status":"SKIPPED","duration":{"seconds":0,"nanos":0}},"timestamp":{"seconds":0,"nanos":61000000}}}
|
|
96
96
|
{"testStepStarted":{"testCaseStartedId":"131","testStepId":"113","timestamp":{"seconds":0,"nanos":62000000}}}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
{"meta":{"protocolVersion":"
|
|
2
|
-
{"source":{"data":"Feature: Global hooks\n Hooks can be at the test run level, so they run once before or after all test cases.\n\n AfterAll hooks are executed in reverse order of definition.\n\n Scenario: A passing scenario\n When a step passes\n\n Scenario: A failing scenario\n When a step fails\n","uri":"samples/global-hooks/global-hooks.feature","mediaType":"text/x.cucumber.gherkin+plain"}}
|
|
3
|
-
{"gherkinDocument":{"feature":{"tags":[],"location":{"line":1,"column":1},"language":"en","keyword":"Feature","name":"Global hooks","description":" Hooks can be at the test run level, so they run once before or after all test cases.\n\n AfterAll hooks are executed in reverse order of definition.","children":[{"scenario":{"id":"1","tags":[],"location":{"line":
|
|
4
|
-
{"pickle":{"id":"5","uri":"samples/global-hooks/global-hooks.feature","location":{"line":
|
|
5
|
-
{"pickle":{"id":"7","uri":"samples/global-hooks/global-hooks.feature","location":{"line":
|
|
1
|
+
{"meta":{"protocolVersion":"35.0.0","implementation":{"name":"fake-cucumber","version":"123.45.6"},"cpu":{"name":"arm64"},"os":{"name":"darwin","version":"24.5.0"},"runtime":{"name":"Node.js","version":"24.4.1"},"ci":{"name":"GitHub Actions","url":"https://github.com/cucumber-ltd/shouty.rb/actions/runs/154666429","buildNumber":"154666429","git":{"revision":"99684bcacf01d95875834d87903dcb072306c9ad","remote":"https://github.com/cucumber-ltd/shouty.rb.git","branch":"main"}}}}
|
|
2
|
+
{"source":{"data":"Feature: Global hooks\n\n Hooks can be at the test run level, so they run once before or after all test cases.\n\n AfterAll hooks are executed in reverse order of definition.\n\n Scenario: A passing scenario\n When a step passes\n\n Scenario: A failing scenario\n When a step fails\n","uri":"samples/global-hooks/global-hooks.feature","mediaType":"text/x.cucumber.gherkin+plain"}}
|
|
3
|
+
{"gherkinDocument":{"feature":{"tags":[],"location":{"line":1,"column":1},"language":"en","keyword":"Feature","name":"Global hooks","description":" Hooks can be at the test run level, so they run once before or after all test cases.\n\n AfterAll hooks are executed in reverse order of definition.","children":[{"scenario":{"id":"1","tags":[],"location":{"line":7,"column":3},"keyword":"Scenario","name":"A passing scenario","description":"","steps":[{"id":"0","location":{"line":8,"column":5},"keyword":"When ","keywordType":"Action","text":"a step passes"}],"examples":[]}},{"scenario":{"id":"3","tags":[],"location":{"line":10,"column":3},"keyword":"Scenario","name":"A failing scenario","description":"","steps":[{"id":"2","location":{"line":11,"column":5},"keyword":"When ","keywordType":"Action","text":"a step fails"}],"examples":[]}}]},"comments":[],"uri":"samples/global-hooks/global-hooks.feature"}}
|
|
4
|
+
{"pickle":{"id":"5","uri":"samples/global-hooks/global-hooks.feature","location":{"line":7,"column":3},"astNodeIds":["1"],"tags":[],"name":"A passing scenario","language":"en","steps":[{"id":"4","text":"a step passes","type":"Action","astNodeIds":["0"]}]}}
|
|
5
|
+
{"pickle":{"id":"7","uri":"samples/global-hooks/global-hooks.feature","location":{"line":10,"column":3},"astNodeIds":["3"],"tags":[],"name":"A failing scenario","language":"en","steps":[{"id":"6","text":"a step fails","type":"Action","astNodeIds":["2"]}]}}
|
|
6
6
|
{"hook":{"id":"8","type":"BEFORE_TEST_RUN","sourceReference":{"uri":"samples/global-hooks/global-hooks.ts","location":{"line":3}}}}
|
|
7
7
|
{"hook":{"id":"9","type":"BEFORE_TEST_RUN","sourceReference":{"uri":"samples/global-hooks/global-hooks.ts","location":{"line":7}}}}
|
|
8
8
|
{"stepDefinition":{"id":"10","pattern":{"type":"CUCUMBER_EXPRESSION","source":"a step passes"},"sourceReference":{"uri":"samples/global-hooks/global-hooks.ts","location":{"line":11}}}}
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
{"testCaseFinished":{"testCaseStartedId":"21","timestamp":{"seconds":0,"nanos":8000000},"willBeRetried":false}}
|
|
23
23
|
{"testCaseStarted":{"id":"22","testCaseId":"19","timestamp":{"seconds":0,"nanos":9000000},"attempt":0}}
|
|
24
24
|
{"testStepStarted":{"testCaseStartedId":"22","testStepId":"20","timestamp":{"seconds":0,"nanos":10000000}}}
|
|
25
|
-
{"testStepFinished":{"testCaseStartedId":"22","testStepId":"20","testStepResult":{"message":"Exception in step","exception":{"type":"Error","message":"Exception in step","stackTrace":"Error: Exception in step\nsamples/global-hooks/global-hooks.feature:
|
|
25
|
+
{"testStepFinished":{"testCaseStartedId":"22","testStepId":"20","testStepResult":{"message":"Exception in step","exception":{"type":"Error","message":"Exception in step","stackTrace":"Error: Exception in step\nsamples/global-hooks/global-hooks.feature:11"},"status":"FAILED","duration":{"seconds":0,"nanos":1000000}},"timestamp":{"seconds":0,"nanos":11000000}}}
|
|
26
26
|
{"testCaseFinished":{"testCaseStartedId":"22","timestamp":{"seconds":0,"nanos":12000000},"willBeRetried":false}}
|
|
27
27
|
{"testRunHookStarted":{"testRunStartedId":"14","id":"23","hookId":"13","timestamp":{"seconds":0,"nanos":13000000}}}
|
|
28
28
|
{"testRunHookFinished":{"testRunHookStartedId":"23","timestamp":{"seconds":0,"nanos":14000000},"result":{"status":"PASSED","duration":{"seconds":0,"nanos":1000000}}}}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
{"meta":{"protocolVersion":"
|
|
2
|
-
{"source":{"data":"Feature: Global hooks - AfterAll error\n Errors in AfterAll hooks cause the whole test run to fail. The remaining AfterAll hooks will still run, in an\n effort to clean up resources as well as possible.\n\n Scenario: A passing scenario\n When a step passes\n","uri":"samples/global-hooks-afterall-error/global-hooks-afterall-error.feature","mediaType":"text/x.cucumber.gherkin+plain"}}
|
|
3
|
-
{"gherkinDocument":{"feature":{"tags":[],"location":{"line":1,"column":1},"language":"en","keyword":"Feature","name":"Global hooks - AfterAll error","description":" Errors in AfterAll hooks cause the whole test run to fail. The remaining AfterAll hooks will still run, in an\n effort to clean up resources as well as possible.","children":[{"scenario":{"id":"1","tags":[],"location":{"line":
|
|
4
|
-
{"pickle":{"id":"3","uri":"samples/global-hooks-afterall-error/global-hooks-afterall-error.feature","location":{"line":
|
|
1
|
+
{"meta":{"protocolVersion":"35.0.0","implementation":{"name":"fake-cucumber","version":"123.45.6"},"cpu":{"name":"arm64"},"os":{"name":"darwin","version":"24.5.0"},"runtime":{"name":"Node.js","version":"24.4.1"},"ci":{"name":"GitHub Actions","url":"https://github.com/cucumber-ltd/shouty.rb/actions/runs/154666429","buildNumber":"154666429","git":{"revision":"99684bcacf01d95875834d87903dcb072306c9ad","remote":"https://github.com/cucumber-ltd/shouty.rb.git","branch":"main"}}}}
|
|
2
|
+
{"source":{"data":"Feature: Global hooks - AfterAll error\n\n Errors in AfterAll hooks cause the whole test run to fail. The remaining AfterAll hooks will still run, in an\n effort to clean up resources as well as possible.\n\n Scenario: A passing scenario\n When a step passes\n","uri":"samples/global-hooks-afterall-error/global-hooks-afterall-error.feature","mediaType":"text/x.cucumber.gherkin+plain"}}
|
|
3
|
+
{"gherkinDocument":{"feature":{"tags":[],"location":{"line":1,"column":1},"language":"en","keyword":"Feature","name":"Global hooks - AfterAll error","description":" Errors in AfterAll hooks cause the whole test run to fail. The remaining AfterAll hooks will still run, in an\n effort to clean up resources as well as possible.","children":[{"scenario":{"id":"1","tags":[],"location":{"line":6,"column":3},"keyword":"Scenario","name":"A passing scenario","description":"","steps":[{"id":"0","location":{"line":7,"column":5},"keyword":"When ","keywordType":"Action","text":"a step passes"}],"examples":[]}}]},"comments":[],"uri":"samples/global-hooks-afterall-error/global-hooks-afterall-error.feature"}}
|
|
4
|
+
{"pickle":{"id":"3","uri":"samples/global-hooks-afterall-error/global-hooks-afterall-error.feature","location":{"line":6,"column":3},"astNodeIds":["1"],"tags":[],"name":"A passing scenario","language":"en","steps":[{"id":"2","text":"a step passes","type":"Action","astNodeIds":["0"]}]}}
|
|
5
5
|
{"hook":{"id":"4","type":"BEFORE_TEST_RUN","sourceReference":{"uri":"samples/global-hooks-afterall-error/global-hooks-afterall-error.ts","location":{"line":3}}}}
|
|
6
6
|
{"hook":{"id":"5","type":"BEFORE_TEST_RUN","sourceReference":{"uri":"samples/global-hooks-afterall-error/global-hooks-afterall-error.ts","location":{"line":7}}}}
|
|
7
7
|
{"stepDefinition":{"id":"6","pattern":{"type":"CUCUMBER_EXPRESSION","source":"a step passes"},"sourceReference":{"uri":"samples/global-hooks-afterall-error/global-hooks-afterall-error.ts","location":{"line":11}}}}
|