Skip to content

Commit c396ec7

Browse files
chore(deps): update dependency @cucumber/compatibility-kit to v20 (#92)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: David Goss <[email protected]>
1 parent 23b3066 commit c396ec7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+904
-904
lines changed

java/src/test/java/io/cucumber/query/QueryAcceptanceTest.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ public class QueryAcceptanceTest {
5353
static List<TestCase> acceptance() {
5454

5555
return Stream.of(
56-
Paths.get("../testdata/attachments.feature.ndjson"),
57-
Paths.get("../testdata/empty.feature.ndjson"),
58-
Paths.get("../testdata/hooks.feature.ndjson"),
59-
Paths.get("../testdata/minimal.feature.ndjson"),
60-
Paths.get("../testdata/rules.feature.ndjson"),
61-
Paths.get("../testdata/examples-tables.feature.ndjson")
56+
Paths.get("../testdata/attachments.ndjson"),
57+
Paths.get("../testdata/empty.ndjson"),
58+
Paths.get("../testdata/hooks.ndjson"),
59+
Paths.get("../testdata/minimal.ndjson"),
60+
Paths.get("../testdata/rules.ndjson"),
61+
Paths.get("../testdata/examples-tables.ndjson")
6262
)
6363
.map(TestCase::new)
6464
.sorted(Comparator.comparing(testCase -> testCase.source))

javascript/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

javascript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
},
2727
"homepage": "https://github.com/cucumber/query#readme",
2828
"devDependencies": {
29-
"@cucumber/compatibility-kit": "^19.0.0",
29+
"@cucumber/compatibility-kit": "^20.0.0",
3030
"@cucumber/fake-cucumber": "^18.0.0",
3131
"@cucumber/gherkin": "^33.0.0",
3232
"@cucumber/gherkin-streams": "^5.0.1",

testdata/attachments.feature.ndjson

Lines changed: 0 additions & 61 deletions
This file was deleted.

testdata/attachments.ndjson

Lines changed: 61 additions & 0 deletions
Large diffs are not rendered by default.

testdata/attachments.feature.query-results.json renamed to testdata/attachments.query-results.json

Lines changed: 63 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -29,43 +29,43 @@
2929
],
3030
"findAttachmentsBy" : [
3131
[
32-
"36",
32+
"37",
3333
"50",
3434
"application/octet-stream",
3535
"IDENTITY"
3636
],
3737
[
38-
"38",
38+
"39",
3939
"51",
4040
"text/x.cucumber.log+plain",
4141
"IDENTITY"
4242
],
4343
[
44-
"40",
44+
"41",
4545
"52",
4646
"text/x.cucumber.log+plain",
4747
"IDENTITY"
4848
],
4949
[
50-
"42",
50+
"43",
5151
"53",
5252
"application/json",
5353
"IDENTITY"
5454
],
5555
[
56-
"44",
56+
"45",
5757
"54",
5858
"text/plain",
5959
"BASE64"
6060
],
6161
[
62-
"46",
62+
"47",
6363
"55",
6464
"application/pdf",
6565
"BASE64"
6666
],
6767
[
68-
"48",
68+
"49",
6969
"56",
7070
"text/uri-list",
7171
"IDENTITY"
@@ -196,44 +196,44 @@
196196
],
197197
"findStepDefinitionsBy" : [
198198
[
199-
"0"
199+
"28"
200200
],
201201
[
202-
"1"
202+
"29"
203203
],
204204
[
205-
"2"
205+
"30"
206206
],
207207
[
208-
"3"
208+
"31"
209209
],
210210
[
211-
"4"
211+
"32"
212212
],
213213
[
214-
"5"
214+
"33"
215215
],
216216
[
217-
"6"
217+
"34"
218218
]
219219
],
220220
"findUnambiguousStepDefinitionBy" : [
221-
"0",
222-
"1",
223-
"2",
224-
"3",
225-
"4",
226-
"5",
227-
"6"
221+
"28",
222+
"29",
223+
"30",
224+
"31",
225+
"32",
226+
"33",
227+
"34"
228228
],
229229
"findTestCaseBy" : [
230-
"37",
231-
"39",
232-
"41",
233-
"43",
234-
"45",
235-
"47",
236-
"49"
230+
"36",
231+
"38",
232+
"40",
233+
"42",
234+
"44",
235+
"46",
236+
"48"
237237
],
238238
"findTestCaseDurationBy" : [
239239
{
@@ -294,74 +294,74 @@
294294
"id" : "35"
295295
},
296296
"findTestStepByTestStepStarted" : [
297-
"36",
298-
"38",
299-
"40",
300-
"42",
301-
"44",
302-
"46",
303-
"48"
297+
"37",
298+
"39",
299+
"41",
300+
"43",
301+
"45",
302+
"47",
303+
"49"
304304
],
305305
"findTestStepByTestStepFinished" : [
306-
"36",
307-
"38",
308-
"40",
309-
"42",
310-
"44",
311-
"46",
312-
"48"
306+
"37",
307+
"39",
308+
"41",
309+
"43",
310+
"45",
311+
"47",
312+
"49"
313313
],
314314
"findTestStepsFinishedBy" : [
315315
[
316-
"36"
316+
"37"
317317
],
318318
[
319-
"38"
319+
"39"
320320
],
321321
[
322-
"40"
322+
"41"
323323
],
324324
[
325-
"42"
325+
"43"
326326
],
327327
[
328-
"44"
328+
"45"
329329
],
330330
[
331-
"46"
331+
"47"
332332
],
333333
[
334-
"48"
334+
"49"
335335
]
336336
],
337337
"findTestStepFinishedAndTestStepBy" : [
338338
[
339-
"36",
340-
"36"
339+
"37",
340+
"37"
341341
],
342342
[
343-
"38",
344-
"38"
343+
"39",
344+
"39"
345345
],
346346
[
347-
"40",
348-
"40"
347+
"41",
348+
"41"
349349
],
350350
[
351-
"42",
352-
"42"
351+
"43",
352+
"43"
353353
],
354354
[
355-
"44",
356-
"44"
355+
"45",
356+
"45"
357357
],
358358
[
359-
"46",
360-
"46"
359+
"47",
360+
"47"
361361
],
362362
[
363-
"48",
364-
"48"
363+
"49",
364+
"49"
365365
]
366366
]
367367
}

testdata/cdata.feature.ndjson

Lines changed: 0 additions & 12 deletions
This file was deleted.

testdata/cdata.ndjson

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{"meta":{"protocolVersion":"28.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: cdata\n Cucumber xml formatters should be able to handle xml cdata elements.\n\n Scenario: cdata\n Given I have 42 <![CDATA[cukes]]> in my belly\n","uri":"samples/cdata/cdata.feature","mediaType":"text/x.cucumber.gherkin+plain"}}
3+
{"gherkinDocument":{"feature":{"tags":[],"location":{"line":1,"column":1},"language":"en","keyword":"Feature","name":"cdata","description":" Cucumber xml formatters should be able to handle xml cdata elements.","children":[{"scenario":{"id":"1","tags":[],"location":{"line":4,"column":3},"keyword":"Scenario","name":"cdata","description":"","steps":[{"id":"0","location":{"line":5,"column":5},"keyword":"Given ","keywordType":"Context","text":"I have 42 <![CDATA[cukes]]> in my belly"}],"examples":[]}}]},"comments":[],"uri":"samples/cdata/cdata.feature"}}
4+
{"pickle":{"id":"3","uri":"samples/cdata/cdata.feature","astNodeIds":["1"],"tags":[],"name":"cdata","language":"en","steps":[{"id":"2","text":"I have 42 <![CDATA[cukes]]> in my belly","type":"Context","astNodeIds":["0"]}]}}
5+
{"stepDefinition":{"id":"4","pattern":{"type":"CUCUMBER_EXPRESSION","source":"I have {int} <![CDATA[cukes]]> in my belly"},"sourceReference":{"uri":"samples/cdata/cdata.ts","location":{"line":3}}}}
6+
{"testRunStarted":{"id":"5","timestamp":{"seconds":0,"nanos":0}}}
7+
{"testCase":{"id":"6","pickleId":"3","testSteps":[{"id":"7","pickleStepId":"2","stepDefinitionIds":["4"],"stepMatchArgumentsLists":[{"stepMatchArguments":[{"group":{"start":7,"value":"42","children":[]},"parameterTypeName":"int"}]}]}],"testRunStartedId":"5"}}
8+
{"testCaseStarted":{"id":"8","testCaseId":"6","timestamp":{"seconds":0,"nanos":1000000},"attempt":0}}
9+
{"testStepStarted":{"testCaseStartedId":"8","testStepId":"7","timestamp":{"seconds":0,"nanos":2000000}}}
10+
{"testStepFinished":{"testCaseStartedId":"8","testStepId":"7","testStepResult":{"status":"PASSED","duration":{"seconds":0,"nanos":1000000}},"timestamp":{"seconds":0,"nanos":3000000}}}
11+
{"testCaseFinished":{"testCaseStartedId":"8","timestamp":{"seconds":0,"nanos":4000000},"willBeRetried":false}}
12+
{"testRunFinished":{"testRunStartedId":"5","timestamp":{"seconds":0,"nanos":5000000},"success":true}}

testdata/data-tables.feature.ndjson

Lines changed: 0 additions & 15 deletions
This file was deleted.

testdata/data-tables.ndjson

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{"meta":{"protocolVersion":"28.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: Data Tables\n Data Tables can be placed underneath a step and will be passed as the last\n argument to the step definition.\n\n They can be used to represent richer data structures, and can be transformed to other data-types.\n\n Scenario: transposed table\n When the following table is transposed:\n | a | b |\n | 1 | 2 |\n Then it should be:\n | a | 1 |\n | b | 2 |\n","uri":"samples/data-tables/data-tables.feature","mediaType":"text/x.cucumber.gherkin+plain"}}
3+
{"gherkinDocument":{"feature":{"tags":[],"location":{"line":1,"column":1},"language":"en","keyword":"Feature","name":"Data Tables","description":" Data Tables can be placed underneath a step and will be passed as the last\n argument to the step definition.\n\n They can be used to represent richer data structures, and can be transformed to other data-types.","children":[{"scenario":{"id":"6","tags":[],"location":{"line":7,"column":3},"keyword":"Scenario","name":"transposed table","description":"","steps":[{"id":"2","location":{"line":8,"column":5},"keyword":"When ","keywordType":"Action","text":"the following table is transposed:","dataTable":{"location":{"line":9,"column":7},"rows":[{"id":"0","location":{"line":9,"column":7},"cells":[{"location":{"line":9,"column":9},"value":"a"},{"location":{"line":9,"column":13},"value":"b"}]},{"id":"1","location":{"line":10,"column":7},"cells":[{"location":{"line":10,"column":9},"value":"1"},{"location":{"line":10,"column":13},"value":"2"}]}]}},{"id":"5","location":{"line":11,"column":5},"keyword":"Then ","keywordType":"Outcome","text":"it should be:","dataTable":{"location":{"line":12,"column":7},"rows":[{"id":"3","location":{"line":12,"column":7},"cells":[{"location":{"line":12,"column":9},"value":"a"},{"location":{"line":12,"column":13},"value":"1"}]},{"id":"4","location":{"line":13,"column":7},"cells":[{"location":{"line":13,"column":9},"value":"b"},{"location":{"line":13,"column":13},"value":"2"}]}]}}],"examples":[]}}]},"comments":[],"uri":"samples/data-tables/data-tables.feature"}}
4+
{"pickle":{"id":"9","uri":"samples/data-tables/data-tables.feature","astNodeIds":["6"],"tags":[],"name":"transposed table","language":"en","steps":[{"id":"7","text":"the following table is transposed:","type":"Action","argument":{"dataTable":{"rows":[{"cells":[{"value":"a"},{"value":"b"}]},{"cells":[{"value":"1"},{"value":"2"}]}]}},"astNodeIds":["2"]},{"id":"8","text":"it should be:","type":"Outcome","argument":{"dataTable":{"rows":[{"cells":[{"value":"a"},{"value":"1"}]},{"cells":[{"value":"b"},{"value":"2"}]}]}},"astNodeIds":["5"]}]}}
5+
{"stepDefinition":{"id":"10","pattern":{"type":"CUCUMBER_EXPRESSION","source":"the following table is transposed:"},"sourceReference":{"uri":"samples/data-tables/data-tables.ts","location":{"line":4}}}}
6+
{"stepDefinition":{"id":"11","pattern":{"type":"CUCUMBER_EXPRESSION","source":"it should be:"},"sourceReference":{"uri":"samples/data-tables/data-tables.ts","location":{"line":8}}}}
7+
{"testRunStarted":{"id":"12","timestamp":{"seconds":0,"nanos":0}}}
8+
{"testCase":{"id":"13","pickleId":"9","testSteps":[{"id":"14","pickleStepId":"7","stepDefinitionIds":["10"],"stepMatchArgumentsLists":[{"stepMatchArguments":[]}]},{"id":"15","pickleStepId":"8","stepDefinitionIds":["11"],"stepMatchArgumentsLists":[{"stepMatchArguments":[]}]}],"testRunStartedId":"12"}}
9+
{"testCaseStarted":{"id":"16","testCaseId":"13","timestamp":{"seconds":0,"nanos":1000000},"attempt":0}}
10+
{"testStepStarted":{"testCaseStartedId":"16","testStepId":"14","timestamp":{"seconds":0,"nanos":2000000}}}
11+
{"testStepFinished":{"testCaseStartedId":"16","testStepId":"14","testStepResult":{"status":"PASSED","duration":{"seconds":0,"nanos":1000000}},"timestamp":{"seconds":0,"nanos":3000000}}}
12+
{"testStepStarted":{"testCaseStartedId":"16","testStepId":"15","timestamp":{"seconds":0,"nanos":4000000}}}
13+
{"testStepFinished":{"testCaseStartedId":"16","testStepId":"15","testStepResult":{"status":"PASSED","duration":{"seconds":0,"nanos":1000000}},"timestamp":{"seconds":0,"nanos":5000000}}}
14+
{"testCaseFinished":{"testCaseStartedId":"16","timestamp":{"seconds":0,"nanos":6000000},"willBeRetried":false}}
15+
{"testRunFinished":{"testRunStartedId":"12","timestamp":{"seconds":0,"nanos":7000000},"success":true}}

0 commit comments

Comments
 (0)