cucumber-compatibility-kit 15.0.0 → 15.2.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae89c57310cfab3725f9c3ba48a0a214cf99e71f0b7e5ed66dd4eb6ca6f6cf14
|
4
|
+
data.tar.gz: 65aa3fb4a874c3bdb2e01dcf5beecdd34b86eab4306459b4b22575a6d84241b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5465eefc812b0f85662cc1e12d6b7fd399879a1ba3c5d7a45528e502c91c40b24755d08c54274e92991f43fe1183a039485e586b15993084fc44c2efb398235d
|
7
|
+
data.tar.gz: 93ec9539fac6fc543cc57b588c0d0c3e224207029651f0e6ca36db99fcd89867964a9168a2621287acf9aecb699ef6b037140f826aaf438c972085207abf8f88
|
@@ -1,7 +1,12 @@
|
|
1
1
|
Feature: Examples Tables
|
2
2
|
Sometimes it can be desirable to run the same scenario multiple times with
|
3
|
-
different data each time - this can be done by placing an Examples table
|
4
|
-
a Scenario, and use <placeholders> in the Scenario which match the
|
3
|
+
different data each time - this can be done by placing an Examples table
|
4
|
+
underneath a Scenario, and use <placeholders> in the Scenario which match the
|
5
|
+
table headers.
|
6
|
+
|
7
|
+
The Scenario Outline name can also be parameterized. The name of the resulting
|
8
|
+
pickle will have the <placeholder> replaced with the value from the examples
|
9
|
+
table.
|
5
10
|
|
6
11
|
Scenario Outline: Eating cucumbers
|
7
12
|
Given there are <start> cucumbers
|
@@ -25,3 +30,14 @@ Feature: Examples Tables
|
|
25
30
|
| start | eat | left |
|
26
31
|
| 12 | banana | 12 |
|
27
32
|
| 0 | 1 | apple |
|
33
|
+
|
34
|
+
Scenario Outline: Eating cucumbers with <friends> friends
|
35
|
+
Given there are <friends> friends
|
36
|
+
When there are <start> cucumbers
|
37
|
+
Then each person can eat <share> cucumbers
|
38
|
+
|
39
|
+
Examples:
|
40
|
+
| start | friends | share |
|
41
|
+
| 12 | 11 | 1 |
|
42
|
+
| 4 | 1 | 2 |
|
43
|
+
| 4 | 0 | 4 |
|
@@ -1,68 +1,100 @@
|
|
1
|
-
{"meta":{"ci":{"buildNumber":"154666429","git":{"remote":"https://github.com/cucumber-ltd/shouty.rb.git","revision":"99684bcacf01d95875834d87903dcb072306c9ad"},"name":"GitHub Actions","url":"https://github.com/cucumber-ltd/shouty.rb/actions/runs/154666429"},"cpu":{"name":"x64"},"implementation":{"name":"fake-cucumber","version":"16.4.0"},"os":{"name":"
|
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
|
3
|
-
{"gherkinDocument":{"comments":[],"feature":{"children":[{"scenario":{"description":"","examples":[{"description":"","id":"
|
4
|
-
{"pickle":{"astNodeIds":["
|
5
|
-
{"pickle":{"astNodeIds":["
|
6
|
-
{"pickle":{"astNodeIds":["
|
7
|
-
{"pickle":{"astNodeIds":["
|
8
|
-
{"pickle":{"astNodeIds":["
|
9
|
-
{"pickle":{"astNodeIds":["
|
1
|
+
{"meta":{"ci":{"buildNumber":"154666429","git":{"remote":"https://github.com/cucumber-ltd/shouty.rb.git","revision":"99684bcacf01d95875834d87903dcb072306c9ad"},"name":"GitHub Actions","url":"https://github.com/cucumber-ltd/shouty.rb/actions/runs/154666429"},"cpu":{"name":"x64"},"implementation":{"name":"fake-cucumber","version":"16.4.0"},"os":{"name":"linux","version":"6.5.0-35-generic"},"protocolVersion":"24.0.0","runtime":{"name":"node.js","version":"18.20.2"}}}
|
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 @undefined\n Examples: These are undefined because the value is not an {int}\n | start | eat | left |\n | 12 | banana | 12 |\n | 0 | 1 | apple |\n\n Scenario Outline: Eating cucumbers with <friends> friends\n Given there are <friends> friends\n When there are <start> cucumbers\n Then each person can eat <share> cucumbers\n\n Examples:\n | start | friends | share |\n | 12 | 11 | 1 |\n | 4 | 1 | 2 |\n | 4 | 0 | 4 |","mediaType":"text/x.cucumber.gherkin+plain","uri":"samples/examples-tables/examples-tables.feature"}}
|
3
|
+
{"gherkinDocument":{"comments":[],"feature":{"children":[{"scenario":{"description":"","examples":[{"description":"","id":"12","keyword":"Examples","location":{"column":5,"line":17},"name":"These are passing","tableBody":[{"cells":[{"location":{"column":12,"line":19},"value":"12"},{"location":{"column":19,"line":19},"value":"5"},{"location":{"column":26,"line":19},"value":"7"}],"id":"9","location":{"column":7,"line":19}},{"cells":[{"location":{"column":12,"line":20},"value":"20"},{"location":{"column":19,"line":20},"value":"5"},{"location":{"column":25,"line":20},"value":"15"}],"id":"10","location":{"column":7,"line":20}}],"tableHeader":{"cells":[{"location":{"column":9,"line":18},"value":"start"},{"location":{"column":17,"line":18},"value":"eat"},{"location":{"column":23,"line":18},"value":"left"}],"id":"8","location":{"column":7,"line":18}},"tags":[{"id":"11","location":{"column":5,"line":16},"name":"@passing"}]},{"description":"","id":"17","keyword":"Examples","location":{"column":5,"line":23},"name":"These are failing","tableBody":[{"cells":[{"location":{"column":12,"line":25},"value":"12"},{"location":{"column":18,"line":25},"value":"20"},{"location":{"column":26,"line":25},"value":"0"}],"id":"14","location":{"column":7,"line":25}},{"cells":[{"location":{"column":13,"line":26},"value":"0"},{"location":{"column":19,"line":26},"value":"1"},{"location":{"column":26,"line":26},"value":"0"}],"id":"15","location":{"column":7,"line":26}}],"tableHeader":{"cells":[{"location":{"column":9,"line":24},"value":"start"},{"location":{"column":17,"line":24},"value":"eat"},{"location":{"column":23,"line":24},"value":"left"}],"id":"13","location":{"column":7,"line":24}},"tags":[{"id":"16","location":{"column":5,"line":22},"name":"@failing"}]},{"description":"","id":"22","keyword":"Examples","location":{"column":5,"line":29},"name":"These are undefined because the value is not an {int}","tableBody":[{"cells":[{"location":{"column":12,"line":31},"value":"12"},{"location":{"column":17,"line":31},"value":"banana"},{"location":{"column":29,"line":31},"value":"12"}],"id":"19","location":{"column":7,"line":31}},{"cells":[{"location":{"column":13,"line":32},"value":"0"},{"location":{"column":22,"line":32},"value":"1"},{"location":{"column":26,"line":32},"value":"apple"}],"id":"20","location":{"column":7,"line":32}}],"tableHeader":{"cells":[{"location":{"column":9,"line":30},"value":"start"},{"location":{"column":17,"line":30},"value":"eat"},{"location":{"column":26,"line":30},"value":"left"}],"id":"18","location":{"column":7,"line":30}},"tags":[{"id":"21","location":{"column":5,"line":28},"name":"@undefined"}]}],"id":"23","keyword":"Scenario Outline","location":{"column":3,"line":11},"name":"Eating cucumbers","steps":[{"id":"5","keyword":"Given ","keywordType":"Context","location":{"column":5,"line":12},"text":"there are <start> cucumbers"},{"id":"6","keyword":"When ","keywordType":"Action","location":{"column":5,"line":13},"text":"I eat <eat> cucumbers"},{"id":"7","keyword":"Then ","keywordType":"Outcome","location":{"column":5,"line":14},"text":"I should have <left> cucumbers"}],"tags":[]}},{"scenario":{"description":"","examples":[{"description":"","id":"31","keyword":"Examples","location":{"column":5,"line":39},"name":"","tableBody":[{"cells":[{"location":{"column":12,"line":41},"value":"12"},{"location":{"column":22,"line":41},"value":"11"},{"location":{"column":31,"line":41},"value":"1"}],"id":"28","location":{"column":7,"line":41}},{"cells":[{"location":{"column":13,"line":42},"value":"4"},{"location":{"column":23,"line":42},"value":"1"},{"location":{"column":31,"line":42},"value":"2"}],"id":"29","location":{"column":7,"line":42}},{"cells":[{"location":{"column":13,"line":43},"value":"4"},{"location":{"column":23,"line":43},"value":"0"},{"location":{"column":31,"line":43},"value":"4"}],"id":"30","location":{"column":7,"line":43}}],"tableHeader":{"cells":[{"location":{"column":9,"line":40},"value":"start"},{"location":{"column":17,"line":40},"value":"friends"},{"location":{"column":27,"line":40},"value":"share"}],"id":"27","location":{"column":7,"line":40}},"tags":[]}],"id":"32","keyword":"Scenario Outline","location":{"column":3,"line":34},"name":"Eating cucumbers with <friends> friends","steps":[{"id":"24","keyword":"Given ","keywordType":"Context","location":{"column":5,"line":35},"text":"there are <friends> friends"},{"id":"25","keyword":"When ","keywordType":"Action","location":{"column":5,"line":36},"text":"there are <start> cucumbers"},{"id":"26","keyword":"Then ","keywordType":"Outcome","location":{"column":5,"line":37},"text":"each person can eat <share> cucumbers"}],"tags":[]}}],"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.","keyword":"Feature","language":"en","location":{"column":1,"line":1},"name":"Examples Tables","tags":[]},"uri":"samples/examples-tables/examples-tables.feature"}}
|
4
|
+
{"pickle":{"astNodeIds":["23","9"],"id":"36","language":"en","name":"Eating cucumbers","steps":[{"astNodeIds":["5","9"],"id":"33","text":"there are 12 cucumbers","type":"Context"},{"astNodeIds":["6","9"],"id":"34","text":"I eat 5 cucumbers","type":"Action"},{"astNodeIds":["7","9"],"id":"35","text":"I should have 7 cucumbers","type":"Outcome"}],"tags":[{"astNodeId":"11","name":"@passing"}],"uri":"samples/examples-tables/examples-tables.feature"}}
|
5
|
+
{"pickle":{"astNodeIds":["23","10"],"id":"40","language":"en","name":"Eating cucumbers","steps":[{"astNodeIds":["5","10"],"id":"37","text":"there are 20 cucumbers","type":"Context"},{"astNodeIds":["6","10"],"id":"38","text":"I eat 5 cucumbers","type":"Action"},{"astNodeIds":["7","10"],"id":"39","text":"I should have 15 cucumbers","type":"Outcome"}],"tags":[{"astNodeId":"11","name":"@passing"}],"uri":"samples/examples-tables/examples-tables.feature"}}
|
6
|
+
{"pickle":{"astNodeIds":["23","14"],"id":"44","language":"en","name":"Eating cucumbers","steps":[{"astNodeIds":["5","14"],"id":"41","text":"there are 12 cucumbers","type":"Context"},{"astNodeIds":["6","14"],"id":"42","text":"I eat 20 cucumbers","type":"Action"},{"astNodeIds":["7","14"],"id":"43","text":"I should have 0 cucumbers","type":"Outcome"}],"tags":[{"astNodeId":"16","name":"@failing"}],"uri":"samples/examples-tables/examples-tables.feature"}}
|
7
|
+
{"pickle":{"astNodeIds":["23","15"],"id":"48","language":"en","name":"Eating cucumbers","steps":[{"astNodeIds":["5","15"],"id":"45","text":"there are 0 cucumbers","type":"Context"},{"astNodeIds":["6","15"],"id":"46","text":"I eat 1 cucumbers","type":"Action"},{"astNodeIds":["7","15"],"id":"47","text":"I should have 0 cucumbers","type":"Outcome"}],"tags":[{"astNodeId":"16","name":"@failing"}],"uri":"samples/examples-tables/examples-tables.feature"}}
|
8
|
+
{"pickle":{"astNodeIds":["23","19"],"id":"52","language":"en","name":"Eating cucumbers","steps":[{"astNodeIds":["5","19"],"id":"49","text":"there are 12 cucumbers","type":"Context"},{"astNodeIds":["6","19"],"id":"50","text":"I eat banana cucumbers","type":"Action"},{"astNodeIds":["7","19"],"id":"51","text":"I should have 12 cucumbers","type":"Outcome"}],"tags":[{"astNodeId":"21","name":"@undefined"}],"uri":"samples/examples-tables/examples-tables.feature"}}
|
9
|
+
{"pickle":{"astNodeIds":["23","20"],"id":"56","language":"en","name":"Eating cucumbers","steps":[{"astNodeIds":["5","20"],"id":"53","text":"there are 0 cucumbers","type":"Context"},{"astNodeIds":["6","20"],"id":"54","text":"I eat 1 cucumbers","type":"Action"},{"astNodeIds":["7","20"],"id":"55","text":"I should have apple cucumbers","type":"Outcome"}],"tags":[{"astNodeId":"21","name":"@undefined"}],"uri":"samples/examples-tables/examples-tables.feature"}}
|
10
|
+
{"pickle":{"astNodeIds":["32","28"],"id":"60","language":"en","name":"Eating cucumbers with 11 friends","steps":[{"astNodeIds":["24","28"],"id":"57","text":"there are 11 friends","type":"Context"},{"astNodeIds":["25","28"],"id":"58","text":"there are 12 cucumbers","type":"Action"},{"astNodeIds":["26","28"],"id":"59","text":"each person can eat 1 cucumbers","type":"Outcome"}],"tags":[],"uri":"samples/examples-tables/examples-tables.feature"}}
|
11
|
+
{"pickle":{"astNodeIds":["32","29"],"id":"64","language":"en","name":"Eating cucumbers with 1 friends","steps":[{"astNodeIds":["24","29"],"id":"61","text":"there are 1 friends","type":"Context"},{"astNodeIds":["25","29"],"id":"62","text":"there are 4 cucumbers","type":"Action"},{"astNodeIds":["26","29"],"id":"63","text":"each person can eat 2 cucumbers","type":"Outcome"}],"tags":[],"uri":"samples/examples-tables/examples-tables.feature"}}
|
12
|
+
{"pickle":{"astNodeIds":["32","30"],"id":"68","language":"en","name":"Eating cucumbers with 0 friends","steps":[{"astNodeIds":["24","30"],"id":"65","text":"there are 0 friends","type":"Context"},{"astNodeIds":["25","30"],"id":"66","text":"there are 4 cucumbers","type":"Action"},{"astNodeIds":["26","30"],"id":"67","text":"each person can eat 4 cucumbers","type":"Outcome"}],"tags":[],"uri":"samples/examples-tables/examples-tables.feature"}}
|
10
13
|
{"stepDefinition":{"id":"0","pattern":{"source":"there are {int} cucumbers","type":"CUCUMBER_EXPRESSION"},"sourceReference":{"location":{"line":4},"uri":"samples/examples-tables/examples-tables.feature.ts"}}}
|
11
14
|
{"stepDefinition":{"id":"1","pattern":{"source":"I eat {int} cucumbers","type":"CUCUMBER_EXPRESSION"},"sourceReference":{"location":{"line":8},"uri":"samples/examples-tables/examples-tables.feature.ts"}}}
|
12
15
|
{"stepDefinition":{"id":"2","pattern":{"source":"I should have {int} cucumbers","type":"CUCUMBER_EXPRESSION"},"sourceReference":{"location":{"line":12},"uri":"samples/examples-tables/examples-tables.feature.ts"}}}
|
16
|
+
{"stepDefinition":{"id":"3","pattern":{"source":"there are {int} friends","type":"CUCUMBER_EXPRESSION"},"sourceReference":{"location":{"line":16},"uri":"samples/examples-tables/examples-tables.feature.ts"}}}
|
17
|
+
{"stepDefinition":{"id":"4","pattern":{"source":"each person can eat {int} cucumbers","type":"CUCUMBER_EXPRESSION"},"sourceReference":{"location":{"line":20},"uri":"samples/examples-tables/examples-tables.feature.ts"}}}
|
13
18
|
{"testRunStarted":{"timestamp":{"nanos":0,"seconds":0}}}
|
14
|
-
{"testCase":{"id":"
|
15
|
-
{"testCase":{"id":"
|
16
|
-
{"testCase":{"id":"
|
17
|
-
{"testCase":{"id":"
|
18
|
-
{"testCase":{"id":"
|
19
|
-
{"testCase":{"id":"
|
20
|
-
{"
|
21
|
-
{"
|
22
|
-
{"
|
23
|
-
{"
|
24
|
-
{"
|
25
|
-
{"
|
26
|
-
{"
|
27
|
-
{"
|
28
|
-
{"
|
29
|
-
{"
|
30
|
-
{"
|
31
|
-
{"
|
32
|
-
{"
|
33
|
-
{"
|
34
|
-
{"
|
35
|
-
{"
|
36
|
-
{"
|
37
|
-
{"
|
38
|
-
{"
|
39
|
-
{"
|
40
|
-
{"
|
41
|
-
{"
|
42
|
-
{"
|
43
|
-
{"
|
44
|
-
{"
|
45
|
-
{"
|
46
|
-
{"
|
47
|
-
{"
|
48
|
-
{"
|
49
|
-
{"
|
50
|
-
{"
|
51
|
-
{"
|
52
|
-
{"
|
53
|
-
{"
|
54
|
-
{"
|
55
|
-
{"
|
56
|
-
{"
|
57
|
-
{"
|
58
|
-
{"
|
59
|
-
{"
|
60
|
-
{"
|
61
|
-
{"
|
62
|
-
{"
|
63
|
-
{"
|
64
|
-
{"
|
65
|
-
{"
|
66
|
-
{"
|
67
|
-
{"
|
68
|
-
{"
|
19
|
+
{"testCase":{"id":"72","pickleId":"36","testSteps":[{"id":"69","pickleStepId":"33","stepDefinitionIds":["0"],"stepMatchArgumentsLists":[{"stepMatchArguments":[{"group":{"children":[],"start":10,"value":"12"},"parameterTypeName":"int"}]}]},{"id":"70","pickleStepId":"34","stepDefinitionIds":["1"],"stepMatchArgumentsLists":[{"stepMatchArguments":[{"group":{"children":[],"start":6,"value":"5"},"parameterTypeName":"int"}]}]},{"id":"71","pickleStepId":"35","stepDefinitionIds":["2"],"stepMatchArgumentsLists":[{"stepMatchArguments":[{"group":{"children":[],"start":14,"value":"7"},"parameterTypeName":"int"}]}]}]}}
|
20
|
+
{"testCase":{"id":"76","pickleId":"40","testSteps":[{"id":"73","pickleStepId":"37","stepDefinitionIds":["0"],"stepMatchArgumentsLists":[{"stepMatchArguments":[{"group":{"children":[],"start":10,"value":"20"},"parameterTypeName":"int"}]}]},{"id":"74","pickleStepId":"38","stepDefinitionIds":["1"],"stepMatchArgumentsLists":[{"stepMatchArguments":[{"group":{"children":[],"start":6,"value":"5"},"parameterTypeName":"int"}]}]},{"id":"75","pickleStepId":"39","stepDefinitionIds":["2"],"stepMatchArgumentsLists":[{"stepMatchArguments":[{"group":{"children":[],"start":14,"value":"15"},"parameterTypeName":"int"}]}]}]}}
|
21
|
+
{"testCase":{"id":"80","pickleId":"44","testSteps":[{"id":"77","pickleStepId":"41","stepDefinitionIds":["0"],"stepMatchArgumentsLists":[{"stepMatchArguments":[{"group":{"children":[],"start":10,"value":"12"},"parameterTypeName":"int"}]}]},{"id":"78","pickleStepId":"42","stepDefinitionIds":["1"],"stepMatchArgumentsLists":[{"stepMatchArguments":[{"group":{"children":[],"start":6,"value":"20"},"parameterTypeName":"int"}]}]},{"id":"79","pickleStepId":"43","stepDefinitionIds":["2"],"stepMatchArgumentsLists":[{"stepMatchArguments":[{"group":{"children":[],"start":14,"value":"0"},"parameterTypeName":"int"}]}]}]}}
|
22
|
+
{"testCase":{"id":"84","pickleId":"48","testSteps":[{"id":"81","pickleStepId":"45","stepDefinitionIds":["0"],"stepMatchArgumentsLists":[{"stepMatchArguments":[{"group":{"children":[],"start":10,"value":"0"},"parameterTypeName":"int"}]}]},{"id":"82","pickleStepId":"46","stepDefinitionIds":["1"],"stepMatchArgumentsLists":[{"stepMatchArguments":[{"group":{"children":[],"start":6,"value":"1"},"parameterTypeName":"int"}]}]},{"id":"83","pickleStepId":"47","stepDefinitionIds":["2"],"stepMatchArgumentsLists":[{"stepMatchArguments":[{"group":{"children":[],"start":14,"value":"0"},"parameterTypeName":"int"}]}]}]}}
|
23
|
+
{"testCase":{"id":"88","pickleId":"52","testSteps":[{"id":"85","pickleStepId":"49","stepDefinitionIds":["0"],"stepMatchArgumentsLists":[{"stepMatchArguments":[{"group":{"children":[],"start":10,"value":"12"},"parameterTypeName":"int"}]}]},{"id":"86","pickleStepId":"50","stepDefinitionIds":[],"stepMatchArgumentsLists":[]},{"id":"87","pickleStepId":"51","stepDefinitionIds":["2"],"stepMatchArgumentsLists":[{"stepMatchArguments":[{"group":{"children":[],"start":14,"value":"12"},"parameterTypeName":"int"}]}]}]}}
|
24
|
+
{"testCase":{"id":"92","pickleId":"56","testSteps":[{"id":"89","pickleStepId":"53","stepDefinitionIds":["0"],"stepMatchArgumentsLists":[{"stepMatchArguments":[{"group":{"children":[],"start":10,"value":"0"},"parameterTypeName":"int"}]}]},{"id":"90","pickleStepId":"54","stepDefinitionIds":["1"],"stepMatchArgumentsLists":[{"stepMatchArguments":[{"group":{"children":[],"start":6,"value":"1"},"parameterTypeName":"int"}]}]},{"id":"91","pickleStepId":"55","stepDefinitionIds":[],"stepMatchArgumentsLists":[]}]}}
|
25
|
+
{"testCase":{"id":"96","pickleId":"60","testSteps":[{"id":"93","pickleStepId":"57","stepDefinitionIds":["3"],"stepMatchArgumentsLists":[{"stepMatchArguments":[{"group":{"children":[],"start":10,"value":"11"},"parameterTypeName":"int"}]}]},{"id":"94","pickleStepId":"58","stepDefinitionIds":["0"],"stepMatchArgumentsLists":[{"stepMatchArguments":[{"group":{"children":[],"start":10,"value":"12"},"parameterTypeName":"int"}]}]},{"id":"95","pickleStepId":"59","stepDefinitionIds":["4"],"stepMatchArgumentsLists":[{"stepMatchArguments":[{"group":{"children":[],"start":20,"value":"1"},"parameterTypeName":"int"}]}]}]}}
|
26
|
+
{"testCase":{"id":"100","pickleId":"64","testSteps":[{"id":"97","pickleStepId":"61","stepDefinitionIds":["3"],"stepMatchArgumentsLists":[{"stepMatchArguments":[{"group":{"children":[],"start":10,"value":"1"},"parameterTypeName":"int"}]}]},{"id":"98","pickleStepId":"62","stepDefinitionIds":["0"],"stepMatchArgumentsLists":[{"stepMatchArguments":[{"group":{"children":[],"start":10,"value":"4"},"parameterTypeName":"int"}]}]},{"id":"99","pickleStepId":"63","stepDefinitionIds":["4"],"stepMatchArgumentsLists":[{"stepMatchArguments":[{"group":{"children":[],"start":20,"value":"2"},"parameterTypeName":"int"}]}]}]}}
|
27
|
+
{"testCase":{"id":"104","pickleId":"68","testSteps":[{"id":"101","pickleStepId":"65","stepDefinitionIds":["3"],"stepMatchArgumentsLists":[{"stepMatchArguments":[{"group":{"children":[],"start":10,"value":"0"},"parameterTypeName":"int"}]}]},{"id":"102","pickleStepId":"66","stepDefinitionIds":["0"],"stepMatchArgumentsLists":[{"stepMatchArguments":[{"group":{"children":[],"start":10,"value":"4"},"parameterTypeName":"int"}]}]},{"id":"103","pickleStepId":"67","stepDefinitionIds":["4"],"stepMatchArgumentsLists":[{"stepMatchArguments":[{"group":{"children":[],"start":20,"value":"4"},"parameterTypeName":"int"}]}]}]}}
|
28
|
+
{"testCaseStarted":{"attempt":0,"id":"105","testCaseId":"72","timestamp":{"nanos":1000000,"seconds":0}}}
|
29
|
+
{"testStepStarted":{"testCaseStartedId":"105","testStepId":"69","timestamp":{"nanos":2000000,"seconds":0}}}
|
30
|
+
{"testStepFinished":{"testCaseStartedId":"105","testStepId":"69","testStepResult":{"duration":{"nanos":1000000,"seconds":0},"status":"PASSED"},"timestamp":{"nanos":3000000,"seconds":0}}}
|
31
|
+
{"testStepStarted":{"testCaseStartedId":"105","testStepId":"70","timestamp":{"nanos":4000000,"seconds":0}}}
|
32
|
+
{"testStepFinished":{"testCaseStartedId":"105","testStepId":"70","testStepResult":{"duration":{"nanos":1000000,"seconds":0},"status":"PASSED"},"timestamp":{"nanos":5000000,"seconds":0}}}
|
33
|
+
{"testStepStarted":{"testCaseStartedId":"105","testStepId":"71","timestamp":{"nanos":6000000,"seconds":0}}}
|
34
|
+
{"testStepFinished":{"testCaseStartedId":"105","testStepId":"71","testStepResult":{"duration":{"nanos":1000000,"seconds":0},"status":"PASSED"},"timestamp":{"nanos":7000000,"seconds":0}}}
|
35
|
+
{"testCaseFinished":{"testCaseStartedId":"105","timestamp":{"nanos":8000000,"seconds":0},"willBeRetried":false}}
|
36
|
+
{"testCaseStarted":{"attempt":0,"id":"106","testCaseId":"76","timestamp":{"nanos":9000000,"seconds":0}}}
|
37
|
+
{"testStepStarted":{"testCaseStartedId":"106","testStepId":"73","timestamp":{"nanos":10000000,"seconds":0}}}
|
38
|
+
{"testStepFinished":{"testCaseStartedId":"106","testStepId":"73","testStepResult":{"duration":{"nanos":1000000,"seconds":0},"status":"PASSED"},"timestamp":{"nanos":11000000,"seconds":0}}}
|
39
|
+
{"testStepStarted":{"testCaseStartedId":"106","testStepId":"74","timestamp":{"nanos":12000000,"seconds":0}}}
|
40
|
+
{"testStepFinished":{"testCaseStartedId":"106","testStepId":"74","testStepResult":{"duration":{"nanos":1000000,"seconds":0},"status":"PASSED"},"timestamp":{"nanos":13000000,"seconds":0}}}
|
41
|
+
{"testStepStarted":{"testCaseStartedId":"106","testStepId":"75","timestamp":{"nanos":14000000,"seconds":0}}}
|
42
|
+
{"testStepFinished":{"testCaseStartedId":"106","testStepId":"75","testStepResult":{"duration":{"nanos":1000000,"seconds":0},"status":"PASSED"},"timestamp":{"nanos":15000000,"seconds":0}}}
|
43
|
+
{"testCaseFinished":{"testCaseStartedId":"106","timestamp":{"nanos":16000000,"seconds":0},"willBeRetried":false}}
|
44
|
+
{"testCaseStarted":{"attempt":0,"id":"107","testCaseId":"80","timestamp":{"nanos":17000000,"seconds":0}}}
|
45
|
+
{"testStepStarted":{"testCaseStartedId":"107","testStepId":"77","timestamp":{"nanos":18000000,"seconds":0}}}
|
46
|
+
{"testStepFinished":{"testCaseStartedId":"107","testStepId":"77","testStepResult":{"duration":{"nanos":1000000,"seconds":0},"status":"PASSED"},"timestamp":{"nanos":19000000,"seconds":0}}}
|
47
|
+
{"testStepStarted":{"testCaseStartedId":"107","testStepId":"78","timestamp":{"nanos":20000000,"seconds":0}}}
|
48
|
+
{"testStepFinished":{"testCaseStartedId":"107","testStepId":"78","testStepResult":{"duration":{"nanos":1000000,"seconds":0},"status":"PASSED"},"timestamp":{"nanos":21000000,"seconds":0}}}
|
49
|
+
{"testStepStarted":{"testCaseStartedId":"107","testStepId":"79","timestamp":{"nanos":22000000,"seconds":0}}}
|
50
|
+
{"testStepFinished":{"testCaseStartedId":"107","testStepId":"79","testStepResult":{"duration":{"nanos":1000000,"seconds":0},"exception":{"message":"Expected values to be strictly equal:\n\n-8 !== 0\n","type":"AssertionError"},"message":"Expected values to be strictly equal:\n\n-8 !== 0\n\nsamples/examples-tables/examples-tables.feature:14\nsamples/examples-tables/examples-tables.feature:25","status":"FAILED"},"timestamp":{"nanos":23000000,"seconds":0}}}
|
51
|
+
{"testCaseFinished":{"testCaseStartedId":"107","timestamp":{"nanos":24000000,"seconds":0},"willBeRetried":false}}
|
52
|
+
{"testCaseStarted":{"attempt":0,"id":"108","testCaseId":"84","timestamp":{"nanos":25000000,"seconds":0}}}
|
53
|
+
{"testStepStarted":{"testCaseStartedId":"108","testStepId":"81","timestamp":{"nanos":26000000,"seconds":0}}}
|
54
|
+
{"testStepFinished":{"testCaseStartedId":"108","testStepId":"81","testStepResult":{"duration":{"nanos":1000000,"seconds":0},"status":"PASSED"},"timestamp":{"nanos":27000000,"seconds":0}}}
|
55
|
+
{"testStepStarted":{"testCaseStartedId":"108","testStepId":"82","timestamp":{"nanos":28000000,"seconds":0}}}
|
56
|
+
{"testStepFinished":{"testCaseStartedId":"108","testStepId":"82","testStepResult":{"duration":{"nanos":1000000,"seconds":0},"status":"PASSED"},"timestamp":{"nanos":29000000,"seconds":0}}}
|
57
|
+
{"testStepStarted":{"testCaseStartedId":"108","testStepId":"83","timestamp":{"nanos":30000000,"seconds":0}}}
|
58
|
+
{"testStepFinished":{"testCaseStartedId":"108","testStepId":"83","testStepResult":{"duration":{"nanos":1000000,"seconds":0},"exception":{"message":"Expected values to be strictly equal:\n\n-1 !== 0\n","type":"AssertionError"},"message":"Expected values to be strictly equal:\n\n-1 !== 0\n\nsamples/examples-tables/examples-tables.feature:14\nsamples/examples-tables/examples-tables.feature:26","status":"FAILED"},"timestamp":{"nanos":31000000,"seconds":0}}}
|
59
|
+
{"testCaseFinished":{"testCaseStartedId":"108","timestamp":{"nanos":32000000,"seconds":0},"willBeRetried":false}}
|
60
|
+
{"testCaseStarted":{"attempt":0,"id":"109","testCaseId":"88","timestamp":{"nanos":33000000,"seconds":0}}}
|
61
|
+
{"testStepStarted":{"testCaseStartedId":"109","testStepId":"85","timestamp":{"nanos":34000000,"seconds":0}}}
|
62
|
+
{"testStepFinished":{"testCaseStartedId":"109","testStepId":"85","testStepResult":{"duration":{"nanos":1000000,"seconds":0},"status":"PASSED"},"timestamp":{"nanos":35000000,"seconds":0}}}
|
63
|
+
{"testStepStarted":{"testCaseStartedId":"109","testStepId":"86","timestamp":{"nanos":36000000,"seconds":0}}}
|
64
|
+
{"testStepFinished":{"testCaseStartedId":"109","testStepId":"86","testStepResult":{"duration":{"nanos":0,"seconds":0},"status":"UNDEFINED"},"timestamp":{"nanos":37000000,"seconds":0}}}
|
65
|
+
{"testStepStarted":{"testCaseStartedId":"109","testStepId":"87","timestamp":{"nanos":38000000,"seconds":0}}}
|
66
|
+
{"testStepFinished":{"testCaseStartedId":"109","testStepId":"87","testStepResult":{"duration":{"nanos":0,"seconds":0},"status":"SKIPPED"},"timestamp":{"nanos":39000000,"seconds":0}}}
|
67
|
+
{"testCaseFinished":{"testCaseStartedId":"109","timestamp":{"nanos":40000000,"seconds":0},"willBeRetried":false}}
|
68
|
+
{"testCaseStarted":{"attempt":0,"id":"110","testCaseId":"92","timestamp":{"nanos":41000000,"seconds":0}}}
|
69
|
+
{"testStepStarted":{"testCaseStartedId":"110","testStepId":"89","timestamp":{"nanos":42000000,"seconds":0}}}
|
70
|
+
{"testStepFinished":{"testCaseStartedId":"110","testStepId":"89","testStepResult":{"duration":{"nanos":1000000,"seconds":0},"status":"PASSED"},"timestamp":{"nanos":43000000,"seconds":0}}}
|
71
|
+
{"testStepStarted":{"testCaseStartedId":"110","testStepId":"90","timestamp":{"nanos":44000000,"seconds":0}}}
|
72
|
+
{"testStepFinished":{"testCaseStartedId":"110","testStepId":"90","testStepResult":{"duration":{"nanos":1000000,"seconds":0},"status":"PASSED"},"timestamp":{"nanos":45000000,"seconds":0}}}
|
73
|
+
{"testStepStarted":{"testCaseStartedId":"110","testStepId":"91","timestamp":{"nanos":46000000,"seconds":0}}}
|
74
|
+
{"testStepFinished":{"testCaseStartedId":"110","testStepId":"91","testStepResult":{"duration":{"nanos":0,"seconds":0},"status":"UNDEFINED"},"timestamp":{"nanos":47000000,"seconds":0}}}
|
75
|
+
{"testCaseFinished":{"testCaseStartedId":"110","timestamp":{"nanos":48000000,"seconds":0},"willBeRetried":false}}
|
76
|
+
{"testCaseStarted":{"attempt":0,"id":"111","testCaseId":"96","timestamp":{"nanos":49000000,"seconds":0}}}
|
77
|
+
{"testStepStarted":{"testCaseStartedId":"111","testStepId":"93","timestamp":{"nanos":50000000,"seconds":0}}}
|
78
|
+
{"testStepFinished":{"testCaseStartedId":"111","testStepId":"93","testStepResult":{"duration":{"nanos":1000000,"seconds":0},"status":"PASSED"},"timestamp":{"nanos":51000000,"seconds":0}}}
|
79
|
+
{"testStepStarted":{"testCaseStartedId":"111","testStepId":"94","timestamp":{"nanos":52000000,"seconds":0}}}
|
80
|
+
{"testStepFinished":{"testCaseStartedId":"111","testStepId":"94","testStepResult":{"duration":{"nanos":1000000,"seconds":0},"status":"PASSED"},"timestamp":{"nanos":53000000,"seconds":0}}}
|
81
|
+
{"testStepStarted":{"testCaseStartedId":"111","testStepId":"95","timestamp":{"nanos":54000000,"seconds":0}}}
|
82
|
+
{"testStepFinished":{"testCaseStartedId":"111","testStepId":"95","testStepResult":{"duration":{"nanos":1000000,"seconds":0},"status":"PASSED"},"timestamp":{"nanos":55000000,"seconds":0}}}
|
83
|
+
{"testCaseFinished":{"testCaseStartedId":"111","timestamp":{"nanos":56000000,"seconds":0},"willBeRetried":false}}
|
84
|
+
{"testCaseStarted":{"attempt":0,"id":"112","testCaseId":"100","timestamp":{"nanos":57000000,"seconds":0}}}
|
85
|
+
{"testStepStarted":{"testCaseStartedId":"112","testStepId":"97","timestamp":{"nanos":58000000,"seconds":0}}}
|
86
|
+
{"testStepFinished":{"testCaseStartedId":"112","testStepId":"97","testStepResult":{"duration":{"nanos":1000000,"seconds":0},"status":"PASSED"},"timestamp":{"nanos":59000000,"seconds":0}}}
|
87
|
+
{"testStepStarted":{"testCaseStartedId":"112","testStepId":"98","timestamp":{"nanos":60000000,"seconds":0}}}
|
88
|
+
{"testStepFinished":{"testCaseStartedId":"112","testStepId":"98","testStepResult":{"duration":{"nanos":1000000,"seconds":0},"status":"PASSED"},"timestamp":{"nanos":61000000,"seconds":0}}}
|
89
|
+
{"testStepStarted":{"testCaseStartedId":"112","testStepId":"99","timestamp":{"nanos":62000000,"seconds":0}}}
|
90
|
+
{"testStepFinished":{"testCaseStartedId":"112","testStepId":"99","testStepResult":{"duration":{"nanos":1000000,"seconds":0},"status":"PASSED"},"timestamp":{"nanos":63000000,"seconds":0}}}
|
91
|
+
{"testCaseFinished":{"testCaseStartedId":"112","timestamp":{"nanos":64000000,"seconds":0},"willBeRetried":false}}
|
92
|
+
{"testCaseStarted":{"attempt":0,"id":"113","testCaseId":"104","timestamp":{"nanos":65000000,"seconds":0}}}
|
93
|
+
{"testStepStarted":{"testCaseStartedId":"113","testStepId":"101","timestamp":{"nanos":66000000,"seconds":0}}}
|
94
|
+
{"testStepFinished":{"testCaseStartedId":"113","testStepId":"101","testStepResult":{"duration":{"nanos":1000000,"seconds":0},"status":"PASSED"},"timestamp":{"nanos":67000000,"seconds":0}}}
|
95
|
+
{"testStepStarted":{"testCaseStartedId":"113","testStepId":"102","timestamp":{"nanos":68000000,"seconds":0}}}
|
96
|
+
{"testStepFinished":{"testCaseStartedId":"113","testStepId":"102","testStepResult":{"duration":{"nanos":1000000,"seconds":0},"status":"PASSED"},"timestamp":{"nanos":69000000,"seconds":0}}}
|
97
|
+
{"testStepStarted":{"testCaseStartedId":"113","testStepId":"103","timestamp":{"nanos":70000000,"seconds":0}}}
|
98
|
+
{"testStepFinished":{"testCaseStartedId":"113","testStepId":"103","testStepResult":{"duration":{"nanos":1000000,"seconds":0},"status":"PASSED"},"timestamp":{"nanos":71000000,"seconds":0}}}
|
99
|
+
{"testCaseFinished":{"testCaseStartedId":"113","timestamp":{"nanos":72000000,"seconds":0},"willBeRetried":false}}
|
100
|
+
{"testRunFinished":{"success":false,"timestamp":{"nanos":73000000,"seconds":0}}}
|
data/lib/cck/examples.rb
CHANGED
@@ -4,23 +4,23 @@ module CCK
|
|
4
4
|
module Examples
|
5
5
|
class << self
|
6
6
|
def gherkin
|
7
|
-
Dir.entries(
|
7
|
+
Dir.entries(cck_features_folder_location).select do |file_or_folder|
|
8
8
|
next if file_or_folder.start_with?('.')
|
9
9
|
|
10
|
-
gherkin_example?(File.join(
|
10
|
+
gherkin_example?(File.join(cck_features_folder_location, file_or_folder))
|
11
11
|
end
|
12
12
|
end
|
13
13
|
|
14
14
|
def markdown
|
15
|
-
Dir.entries(
|
15
|
+
Dir.entries(cck_features_folder_location).select do |file_or_folder|
|
16
16
|
next if file_or_folder.start_with?('.')
|
17
17
|
|
18
|
-
markdown_example?(File.join(
|
18
|
+
markdown_example?(File.join(cck_features_folder_location, file_or_folder))
|
19
19
|
end
|
20
20
|
end
|
21
21
|
|
22
22
|
def feature_code_for(example_name)
|
23
|
-
path = File.join(
|
23
|
+
path = File.join(cck_features_folder_location, example_name)
|
24
24
|
|
25
25
|
return path if File.directory?(path)
|
26
26
|
|
@@ -29,7 +29,7 @@ module CCK
|
|
29
29
|
|
30
30
|
private
|
31
31
|
|
32
|
-
def
|
32
|
+
def cck_features_folder_location
|
33
33
|
File.expand_path("#{File.dirname(__FILE__)}/../../features/")
|
34
34
|
end
|
35
35
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber-compatibility-kit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 15.
|
4
|
+
version: 15.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aurélien Reeves
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2024-
|
15
|
+
date: 2024-07-03 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: cucumber-messages
|
@@ -23,7 +23,7 @@ dependencies:
|
|
23
23
|
version: '20'
|
24
24
|
- - "<"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '26'
|
27
27
|
type: :runtime
|
28
28
|
prerelease: false
|
29
29
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -33,21 +33,21 @@ dependencies:
|
|
33
33
|
version: '20'
|
34
34
|
- - "<"
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version: '
|
36
|
+
version: '26'
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
38
|
name: rspec
|
39
39
|
requirement: !ruby/object:Gem::Requirement
|
40
40
|
requirements:
|
41
41
|
- - "~>"
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version: '3.
|
43
|
+
version: '3.13'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
46
|
version_requirements: !ruby/object:Gem::Requirement
|
47
47
|
requirements:
|
48
48
|
- - "~>"
|
49
49
|
- !ruby/object:Gem::Version
|
50
|
-
version: '3.
|
50
|
+
version: '3.13'
|
51
51
|
- !ruby/object:Gem::Dependency
|
52
52
|
name: rubocop
|
53
53
|
requirement: !ruby/object:Gem::Requirement
|
@@ -90,7 +90,7 @@ dependencies:
|
|
90
90
|
- - "~>"
|
91
91
|
- !ruby/object:Gem::Version
|
92
92
|
version: 2.20.0
|
93
|
-
description: Kit to check compatibility with official cucumber implementation
|
93
|
+
description: Kit to check compatibility with official cucumber ruby implementation
|
94
94
|
email: cukebot@cucumber.io
|
95
95
|
executables: []
|
96
96
|
extensions: []
|
@@ -159,8 +159,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
159
159
|
- !ruby/object:Gem::Version
|
160
160
|
version: 3.0.9
|
161
161
|
requirements: []
|
162
|
-
rubygems_version: 3.
|
162
|
+
rubygems_version: 3.5.11
|
163
163
|
signing_key:
|
164
164
|
specification_version: 4
|
165
|
-
summary: cucumber-compatibility-kit-15.
|
165
|
+
summary: cucumber-compatibility-kit-15.2.0
|
166
166
|
test_files: []
|