diff --git a/package-lock.json b/package-lock.json index 263d2977..eab6d5f4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,10 +9,10 @@ "version": "24.3.0", "license": "MIT", "dependencies": { - "@cucumber/gherkin-utils": "11.0.0", - "@cucumber/messages": "32.3.1", - "@cucumber/query": "15.0.1", - "@cucumber/tag-expressions": "9.1.0", + "@cucumber/gherkin-utils": "12.0.1", + "@cucumber/messages": "33.0.4", + "@cucumber/query": "16.0.1", + "@cucumber/tag-expressions": "10.0.0", "@fortawesome/fontawesome-svg-core": "7.2.0", "@fortawesome/free-solid-svg-icons": "7.2.0", "@fortawesome/react-fontawesome": "3.3.1", @@ -37,8 +37,8 @@ "@biomejs/biome": "^2.4.1", "@cucumber/biome-config": "cucumber/biome-config#v0.3.0", "@cucumber/compatibility-kit": "^29.0.0", - "@cucumber/gherkin": "^39.0.0", - "@cucumber/message-streams": "^4.0.1", + "@cucumber/gherkin": "^41.0.0", + "@cucumber/message-streams": "^5.0.1", "@ladle/react": "^5.0.3", "@testing-library/react": "16.3.2", "@testing-library/user-event": "14.6.1", @@ -853,72 +853,62 @@ "license": "MIT" }, "node_modules/@cucumber/gherkin": { - "version": "39.0.0", - "resolved": "https://registry.npmjs.org/@cucumber/gherkin/-/gherkin-39.0.0.tgz", - "integrity": "sha512-6tCR0ZIF0tVkd2iBqA3IcYUovwdpJM6oorACisgIdDJMsKufOq962qk9jncRUi5Bja1kEAAEKpxcRtvnp9k/dg==", - "dev": true, + "version": "41.0.0", + "resolved": "https://registry.npmjs.org/@cucumber/gherkin/-/gherkin-41.0.0.tgz", + "integrity": "sha512-pKGx1EzNjtWbpw74kEevKDMj71dF3ZSaFJpLYuWVvRZKe+Cwoq5iEkuMaELIg1jxIu8jH/A2HPMpMR8UBvdG0w==", "license": "MIT", "dependencies": { - "@cucumber/messages": ">=31.0.0 <33" + "@cucumber/messages": ">=31.0.0 <34" } }, "node_modules/@cucumber/gherkin-utils": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/@cucumber/gherkin-utils/-/gherkin-utils-11.0.0.tgz", - "integrity": "sha512-LJ+s4+TepHTgdKWDR4zbPyT7rQjmYIcukTwNbwNwgqr6i8Gjcmzf6NmtbYDA19m1ZFg6kWbFsmHnj37ZuX+kZA==", + "version": "12.0.1", + "resolved": "https://registry.npmjs.org/@cucumber/gherkin-utils/-/gherkin-utils-12.0.1.tgz", + "integrity": "sha512-vImHbmTzvGcZP4SFSbx7P6janHZN+BqGWXc3EIQ7UeYMeDzwV9ybSlRfpECV340pxKYZyMTtuSCP3CDXfuWCQw==", "license": "MIT", "dependencies": { - "@cucumber/gherkin": "^38.0.0", - "@cucumber/messages": "^32.0.0", + "@cucumber/gherkin": "^41.0.0", + "@cucumber/messages": "^33.0.0", "@teppeis/multimaps": "3.0.0", - "commander": "14.0.2", + "commander": "15.0.0", "source-map-support": "^0.5.21" }, "bin": { "gherkin-utils": "bin/gherkin-utils" } }, - "node_modules/@cucumber/gherkin-utils/node_modules/@cucumber/gherkin": { - "version": "38.0.0", - "resolved": "https://registry.npmjs.org/@cucumber/gherkin/-/gherkin-38.0.0.tgz", - "integrity": "sha512-duEXK+KDfQUzu3vsSzXjkxQ2tirF5PRsc1Xrts6THKHJO6mjw4RjM8RV+vliuDasmhhrmdLcOcM7d9nurNTJKw==", - "license": "MIT", - "dependencies": { - "@cucumber/messages": ">=31.0.0 <33" - } - }, "node_modules/@cucumber/gherkin-utils/node_modules/commander": { - "version": "14.0.2", - "resolved": "https://registry.npmjs.org/commander/-/commander-14.0.2.tgz", - "integrity": "sha512-TywoWNNRbhoD0BXs1P3ZEScW8W5iKrnbithIl0YH+uCmBd0QpPOA8yc82DS3BIE5Ma6FnBVUsJ7wVUDz4dvOWQ==", + "version": "15.0.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-15.0.0.tgz", + "integrity": "sha512-z67u4ZhzCL/Tydu1lJARtEZYWbWaN7oYLHbsuzocr6y4N6WZAagG3RQ4FW61V1/0+jImpj293XfrcYnd1qxtPg==", "license": "MIT", "engines": { - "node": ">=20" + "node": ">=22.12.0" } }, "node_modules/@cucumber/message-streams": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@cucumber/message-streams/-/message-streams-4.0.1.tgz", - "integrity": "sha512-Kxap9uP5jD8tHUZVjTWgzxemi/0uOsbGjd4LBOSxcJoOCRbESFwemUzilJuzNTB8pcTQUh8D5oudUyxfkJOKmA==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@cucumber/message-streams/-/message-streams-5.0.1.tgz", + "integrity": "sha512-MXsD7ZAWWAiWMrn3Lzq2nwu9DJpPbbvdqXj2ot1BSM2gXnoSvg8d0pc6PzS9pI02swMSn/KN11mTdF5ScE7X0Q==", "dev": true, + "license": "MIT", + "dependencies": { + "mime": "^4.0.0" + }, "peerDependencies": { "@cucumber/messages": ">=17.1.1" } }, "node_modules/@cucumber/messages": { - "version": "32.3.1", - "resolved": "https://registry.npmjs.org/@cucumber/messages/-/messages-32.3.1.tgz", - "integrity": "sha512-yNQq1KoXRYaEKrWMFmpUQX7TdeQuU9jeGgJAZ3dArTsC/T4NpJ6DnqaJIIgwPnz/wtQIQTNX7/h0rOuF5xY4qQ==", - "license": "MIT", - "dependencies": { - "class-transformer": "0.5.1", - "reflect-metadata": "0.2.2" - } + "version": "33.0.4", + "resolved": "https://registry.npmjs.org/@cucumber/messages/-/messages-33.0.4.tgz", + "integrity": "sha512-i6P1a0bnmhecOHfvIW0rhMxv/gMKfBKwDMxmD9/Uo1HSqpQ17ocHms1JwWW6uTMLAopqqWlcz7l6Pax+qUOTzg==", + "license": "MIT" }, "node_modules/@cucumber/query": { - "version": "15.0.1", - "resolved": "https://registry.npmjs.org/@cucumber/query/-/query-15.0.1.tgz", - "integrity": "sha512-FMfT3orJblRsOxvU2doECBvQmauizYlj+5JsM8atAKKPbnQTj7v2/OrnuykvQpfZNBf19DYbRq1e832vllRP/g==", + "version": "16.0.1", + "resolved": "https://registry.npmjs.org/@cucumber/query/-/query-16.0.1.tgz", + "integrity": "sha512-qZwCbL5WLhHGqBdYZvguA5zOTEdLauMTrQEDcDcILMk6eVyPwgtmkcH2/4s/jnT+f02cW0ZVbAaToIN3j6glXw==", "license": "MIT", "dependencies": { "@teppeis/multimaps": "3.0.0", @@ -929,9 +919,9 @@ } }, "node_modules/@cucumber/tag-expressions": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/@cucumber/tag-expressions/-/tag-expressions-9.1.0.tgz", - "integrity": "sha512-bvHjcRFZ+J1TqIa9eFNO1wGHqwx4V9ZKV3hYgkuK/VahHx73uiP4rKV3JVrvWSMrwrFvJG6C8aEwnCWSvbyFdQ==", + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@cucumber/tag-expressions/-/tag-expressions-10.0.0.tgz", + "integrity": "sha512-uap3XSQFxj5HYAHQIShGeS2zotMEnUmnEVjyuhp39j7tDUvaU64ArHzRkLPSWRavEI8ycdeNdwef1pcM/n6pSQ==", "license": "MIT" }, "node_modules/@esbuild/aix-ppc64": { @@ -6112,11 +6102,6 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/class-transformer": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/class-transformer/-/class-transformer-0.5.1.tgz", - "integrity": "sha512-SQa1Ws6hUbfC98vKGxZH3KFY0Y1lm5Zm0SY8XX9zbK7FJCyVEac3ATW0RIpwzW+oOfmHE5PMPufDG9hCfoEOMw==" - }, "node_modules/classnames": { "version": "2.5.1", "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.5.1.tgz", @@ -12289,12 +12274,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/reflect-metadata": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.2.2.tgz", - "integrity": "sha512-urBwgfrvVP/eAyXx4hluJivBKzuEbSQs9rKWCrCkbSxNv8mxPcUZKeuoF3Uy4mJl3Lwprp6yy5/39VWigZ4K6Q==", - "license": "Apache-2.0" - }, "node_modules/rehype-class-names": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/rehype-class-names/-/rehype-class-names-2.0.0.tgz", diff --git a/package.json b/package.json index 614146ee..f445ec17 100644 --- a/package.json +++ b/package.json @@ -26,10 +26,10 @@ "prepublishOnly": "npm run compile" }, "dependencies": { - "@cucumber/gherkin-utils": "11.0.0", - "@cucumber/messages": "32.3.1", - "@cucumber/query": "15.0.1", - "@cucumber/tag-expressions": "9.1.0", + "@cucumber/gherkin-utils": "12.0.1", + "@cucumber/messages": "33.0.4", + "@cucumber/query": "16.0.1", + "@cucumber/tag-expressions": "10.0.0", "@fortawesome/fontawesome-svg-core": "7.2.0", "@fortawesome/free-solid-svg-icons": "7.2.0", "@fortawesome/react-fontawesome": "3.3.1", @@ -58,8 +58,8 @@ "@biomejs/biome": "^2.4.1", "@cucumber/biome-config": "cucumber/biome-config#v0.3.0", "@cucumber/compatibility-kit": "^29.0.0", - "@cucumber/gherkin": "^39.0.0", - "@cucumber/message-streams": "^4.0.1", + "@cucumber/gherkin": "^41.0.0", + "@cucumber/message-streams": "^5.0.1", "@ladle/react": "^5.0.3", "@testing-library/react": "16.3.2", "@testing-library/user-event": "14.6.1", diff --git a/test/messages/hooks-jvm.ndjson b/test/messages/hooks-jvm.ndjson index a3732fc0..23b032d0 100644 --- a/test/messages/hooks-jvm.ndjson +++ b/test/messages/hooks-jvm.ndjson @@ -1,67 +1,67 @@ {"meta":{"protocolVersion":"13.0.1","implementation":{"name":"cucumber-jvm","version":"6.6.1-SNAPSHOT"},"runtime":{"name":"OpenJDK 64-Bit Server VM","version":"11.0.8+11"},"os":{"name":"Mac OS X"},"cpu":{"name":"x86_64"}}} -{"testRunStarted":{"timestamp":{"seconds":"1599042650","nanos":118359000}}} -{"source":{"uri":"file:///Users/Aslak.Hellesoy/git/cucumber/cucumber-jvm/compatibility/src/test/resources/features/hooks/hooks.feature","data":"Feature: Hooks\n Hooks are special steps that run before or after each scenario\u0027s steps.\n They can also conditionally target specific scenarios, using tag expressions\n\n Scenario: no tags, passed step\n When a step passes\n\n Scenario: no tags, failed step\n When a step throws an exception\n\n Scenario: no tags, undefined step\n When a step throws an exception\n\n @some-tag\n Scenario: with a tag, passed step\n When a step passes\n","mediaType":"text/x.cucumber.gherkin+plain"}} -{"gherkinDocument":{"uri":"file:///Users/Aslak.Hellesoy/git/cucumber/cucumber-jvm/compatibility/src/test/resources/features/hooks/hooks.feature","feature":{"location":{"line":1,"column":1},"language":"en","keyword":"Feature","name":"Hooks","description":" Hooks are special steps that run before or after each scenario\u0027s steps.\n They can also conditionally target specific scenarios, using tag expressions","children":[{"scenario":{"location":{"line":5,"column":3},"keyword":"Scenario","name":"no tags, passed step","steps":[{"location":{"line":6,"column":5},"keyword":"When ","text":"a step passes","id":"550cf1b7-9bd2-426f-a66b-dce11c977f10"}],"id":"830608d3-bcc3-440d-aa3c-613311355cab"}},{"scenario":{"location":{"line":8,"column":3},"keyword":"Scenario","name":"no tags, failed step","steps":[{"location":{"line":9,"column":5},"keyword":"When ","text":"a step throws an exception","id":"1eb3b3cf-d754-43ac-9a4e-04f5d11b0557"}],"id":"c751995c-ed16-43fb-a399-ddf6087e444b"}},{"scenario":{"location":{"line":11,"column":3},"keyword":"Scenario","name":"no tags, undefined step","steps":[{"location":{"line":12,"column":5},"keyword":"When ","text":"a step throws an exception","id":"f3430236-60e9-4275-ab71-3ea49a74fb4a"}],"id":"3b623a81-4e95-4d93-968d-a7e6da4fe456"}},{"scenario":{"location":{"line":15,"column":3},"tags":[{"location":{"line":14,"column":3},"name":"@some-tag","id":"a1e3ece6-3dfd-4b0c-b75e-7b72e21e356b"}],"keyword":"Scenario","name":"with a tag, passed step","steps":[{"location":{"line":16,"column":5},"keyword":"When ","text":"a step passes","id":"788bf903-d3ad-4240-a09d-d377943a0e18"}],"id":"2b2aa9aa-3e58-4b24-8d73-45a50636cd69"}}]}}} -{"pickle":{"id":"3d701a7e-e06d-45a9-be1f-b0c6a0f8ca1f","uri":"file:///Users/Aslak.Hellesoy/git/cucumber/cucumber-jvm/compatibility/src/test/resources/features/hooks/hooks.feature","name":"no tags, passed step","language":"en","steps":[{"text":"a step passes","id":"f173231a-0b45-4962-acab-f7e5fef14641","astNodeIds":["550cf1b7-9bd2-426f-a66b-dce11c977f10"]}],"astNodeIds":["830608d3-bcc3-440d-aa3c-613311355cab"]}} -{"pickle":{"id":"36b608b6-0d49-42c2-827b-e0303b0e6cd8","uri":"file:///Users/Aslak.Hellesoy/git/cucumber/cucumber-jvm/compatibility/src/test/resources/features/hooks/hooks.feature","name":"no tags, failed step","language":"en","steps":[{"text":"a step throws an exception","id":"fc28ebee-01de-43f6-aab6-390365d96e16","astNodeIds":["1eb3b3cf-d754-43ac-9a4e-04f5d11b0557"]}],"astNodeIds":["c751995c-ed16-43fb-a399-ddf6087e444b"]}} -{"pickle":{"id":"b1b23641-8dad-4146-95c3-e37569dcf3a5","uri":"file:///Users/Aslak.Hellesoy/git/cucumber/cucumber-jvm/compatibility/src/test/resources/features/hooks/hooks.feature","name":"no tags, undefined step","language":"en","steps":[{"text":"a step throws an exception","id":"b3a0786a-4242-41b7-9352-f4c13bc1addb","astNodeIds":["f3430236-60e9-4275-ab71-3ea49a74fb4a"]}],"astNodeIds":["3b623a81-4e95-4d93-968d-a7e6da4fe456"]}} +{"testRunStarted":{"timestamp":{"seconds":0,"nanos":118359000}}} +{"source":{"uri":"file:///Users/Aslak.Hellesoy/git/cucumber/cucumber-jvm/compatibility/src/test/resources/features/hooks/hooks.feature","data":"Feature: Hooks\n Hooks are special steps that run before or after each scenario's steps.\n They can also conditionally target specific scenarios, using tag expressions\n\n Scenario: no tags, passed step\n When a step passes\n\n Scenario: no tags, failed step\n When a step throws an exception\n\n Scenario: no tags, undefined step\n When a step throws an exception\n\n @some-tag\n Scenario: with a tag, passed step\n When a step passes\n","mediaType":"text/x.cucumber.gherkin+plain"}} +{"gherkinDocument":{"uri":"file:///Users/Aslak.Hellesoy/git/cucumber/cucumber-jvm/compatibility/src/test/resources/features/hooks/hooks.feature","feature":{"location":{"line":1,"column":1},"language":"en","keyword":"Feature","name":"Hooks","description":" Hooks are special steps that run before or after each scenario's steps.\n They can also conditionally target specific scenarios, using tag expressions","children":[{"scenario":{"location":{"line":5,"column":3},"keyword":"Scenario","name":"no tags, passed step","steps":[{"location":{"line":6,"column":5},"keyword":"When ","text":"a step passes","id":"550cf1b7-9bd2-426f-a66b-dce11c977f10"}],"id":"830608d3-bcc3-440d-aa3c-613311355cab","description":"","tags":[],"examples":[]}},{"scenario":{"location":{"line":8,"column":3},"keyword":"Scenario","name":"no tags, failed step","steps":[{"location":{"line":9,"column":5},"keyword":"When ","text":"a step throws an exception","id":"1eb3b3cf-d754-43ac-9a4e-04f5d11b0557"}],"id":"c751995c-ed16-43fb-a399-ddf6087e444b","description":"","tags":[],"examples":[]}},{"scenario":{"location":{"line":11,"column":3},"keyword":"Scenario","name":"no tags, undefined step","steps":[{"location":{"line":12,"column":5},"keyword":"When ","text":"a step throws an exception","id":"f3430236-60e9-4275-ab71-3ea49a74fb4a"}],"id":"3b623a81-4e95-4d93-968d-a7e6da4fe456","description":"","tags":[],"examples":[]}},{"scenario":{"location":{"line":15,"column":3},"tags":[{"location":{"line":14,"column":3},"name":"@some-tag","id":"a1e3ece6-3dfd-4b0c-b75e-7b72e21e356b"}],"keyword":"Scenario","name":"with a tag, passed step","steps":[{"location":{"line":16,"column":5},"keyword":"When ","text":"a step passes","id":"788bf903-d3ad-4240-a09d-d377943a0e18"}],"id":"2b2aa9aa-3e58-4b24-8d73-45a50636cd69","description":"","examples":[]}}],"tags":[]},"comments":[]}} +{"pickle":{"id":"3d701a7e-e06d-45a9-be1f-b0c6a0f8ca1f","uri":"file:///Users/Aslak.Hellesoy/git/cucumber/cucumber-jvm/compatibility/src/test/resources/features/hooks/hooks.feature","name":"no tags, passed step","language":"en","steps":[{"text":"a step passes","id":"f173231a-0b45-4962-acab-f7e5fef14641","astNodeIds":["550cf1b7-9bd2-426f-a66b-dce11c977f10"]}],"astNodeIds":["830608d3-bcc3-440d-aa3c-613311355cab"],"tags":[]}} +{"pickle":{"id":"36b608b6-0d49-42c2-827b-e0303b0e6cd8","uri":"file:///Users/Aslak.Hellesoy/git/cucumber/cucumber-jvm/compatibility/src/test/resources/features/hooks/hooks.feature","name":"no tags, failed step","language":"en","steps":[{"text":"a step throws an exception","id":"fc28ebee-01de-43f6-aab6-390365d96e16","astNodeIds":["1eb3b3cf-d754-43ac-9a4e-04f5d11b0557"]}],"astNodeIds":["c751995c-ed16-43fb-a399-ddf6087e444b"],"tags":[]}} +{"pickle":{"id":"b1b23641-8dad-4146-95c3-e37569dcf3a5","uri":"file:///Users/Aslak.Hellesoy/git/cucumber/cucumber-jvm/compatibility/src/test/resources/features/hooks/hooks.feature","name":"no tags, undefined step","language":"en","steps":[{"text":"a step throws an exception","id":"b3a0786a-4242-41b7-9352-f4c13bc1addb","astNodeIds":["f3430236-60e9-4275-ab71-3ea49a74fb4a"]}],"astNodeIds":["3b623a81-4e95-4d93-968d-a7e6da4fe456"],"tags":[]}} {"pickle":{"id":"368db5cf-be44-4516-b2a1-29ad1092c7c6","uri":"file:///Users/Aslak.Hellesoy/git/cucumber/cucumber-jvm/compatibility/src/test/resources/features/hooks/hooks.feature","name":"with a tag, passed step","language":"en","steps":[{"text":"a step passes","id":"5bc5974a-fefe-46ca-b88b-8885dee322aa","astNodeIds":["788bf903-d3ad-4240-a09d-d377943a0e18"]}],"tags":[{"name":"@some-tag","astNodeId":"a1e3ece6-3dfd-4b0c-b75e-7b72e21e356b"}],"astNodeIds":["2b2aa9aa-3e58-4b24-8d73-45a50636cd69"]}} -{"hook":{"id":"a5dd5af8-b696-4f82-a9d3-347741ed7d8a","sourceReference":{"javaMethod":{"className":"io.cucumber.compatibility.hooks.Hooks","methodName":"before"}}}} -{"stepDefinition":{"id":"b4845687-276c-49cd-a25e-656712b55989","pattern":{"source":"a step passes"},"sourceReference":{"javaMethod":{"className":"io.cucumber.compatibility.hooks.Hooks","methodName":"aStepPasses"}}}} -{"stepDefinition":{"id":"12afaea2-c093-417b-9f50-7d33ca9373d7","pattern":{"source":"a step throws an exception"},"sourceReference":{"javaMethod":{"className":"io.cucumber.compatibility.hooks.Hooks","methodName":"test"}}}} -{"hook":{"id":"1a24148a-7abd-4587-8380-115a722fed84","sourceReference":{"javaMethod":{"className":"io.cucumber.compatibility.hooks.Hooks","methodName":"afterWithException"}}}} -{"hook":{"id":"997b8d30-25fc-4257-a08b-f54e0575467c","tagExpression":"@some-tag or @some-other-tag","sourceReference":{"javaMethod":{"className":"io.cucumber.compatibility.hooks.Hooks","methodName":"taggedAfterWithException"}}}} -{"testCase":{"id":"f9b16c4d-9c4c-416c-bd9d-f4c505181e7d","pickleId":"3d701a7e-e06d-45a9-be1f-b0c6a0f8ca1f","testSteps":[{"id":"915b269a-fc4c-443f-bfb7-52d697a7c4e1","hookId":"a5dd5af8-b696-4f82-a9d3-347741ed7d8a"},{"id":"54635301-9579-48ff-ab70-a9017c794988","pickleStepId":"f173231a-0b45-4962-acab-f7e5fef14641","stepDefinitionIds":["b4845687-276c-49cd-a25e-656712b55989"],"stepMatchArgumentsLists":[{}]},{"id":"08291ef5-9624-4c43-a395-1d0909f90013","hookId":"1a24148a-7abd-4587-8380-115a722fed84"}]}} -{"testCaseStarted":{"timestamp":{"seconds":"1599042650","nanos":130931000},"testCaseId":"f9b16c4d-9c4c-416c-bd9d-f4c505181e7d","id":"48a72ce0-3448-4225-81b6-fb3b04416fe0"}} -{"testStepStarted":{"timestamp":{"seconds":"1599042650","nanos":132478000},"testStepId":"915b269a-fc4c-443f-bfb7-52d697a7c4e1","testCaseStartedId":"48a72ce0-3448-4225-81b6-fb3b04416fe0"}} -{"testStepFinished":{"testStepResult":{"status":"PASSED","duration":{"nanos":125000}},"timestamp":{"seconds":"1599042650","nanos":132603000},"testStepId":"915b269a-fc4c-443f-bfb7-52d697a7c4e1","testCaseStartedId":"48a72ce0-3448-4225-81b6-fb3b04416fe0"}} -{"testStepStarted":{"timestamp":{"seconds":"1599042650","nanos":132793000},"testStepId":"54635301-9579-48ff-ab70-a9017c794988","testCaseStartedId":"48a72ce0-3448-4225-81b6-fb3b04416fe0"}} -{"testStepFinished":{"testStepResult":{"status":"PASSED","duration":{"nanos":77000}},"timestamp":{"seconds":"1599042650","nanos":132870000},"testStepId":"54635301-9579-48ff-ab70-a9017c794988","testCaseStartedId":"48a72ce0-3448-4225-81b6-fb3b04416fe0"}} -{"testStepStarted":{"timestamp":{"seconds":"1599042650","nanos":133093000},"testStepId":"08291ef5-9624-4c43-a395-1d0909f90013","testCaseStartedId":"48a72ce0-3448-4225-81b6-fb3b04416fe0"}} -{"testStepFinished":{"testStepResult":{"status":"FAILED","message":"java.lang.Exception: Exception in hook\n\tat io.cucumber.compatibility.hooks.Hooks.afterWithException(Hooks.java:24)\n","duration":{"nanos":375000}},"timestamp":{"seconds":"1599042650","nanos":133468000},"testStepId":"08291ef5-9624-4c43-a395-1d0909f90013","testCaseStartedId":"48a72ce0-3448-4225-81b6-fb3b04416fe0"}} -{"testCaseFinished":{"timestamp":{"seconds":"1599042650","nanos":133835000},"testCaseStartedId":"48a72ce0-3448-4225-81b6-fb3b04416fe0"}} -{"hook":{"id":"a5dd5af8-b696-4f82-a9d3-347741ed7d8a","sourceReference":{"javaMethod":{"className":"io.cucumber.compatibility.hooks.Hooks","methodName":"before"}}}} -{"stepDefinition":{"id":"4c2060a2-ef72-46cf-aee2-656bc8b7edc1","pattern":{"source":"a step passes"},"sourceReference":{"javaMethod":{"className":"io.cucumber.compatibility.hooks.Hooks","methodName":"aStepPasses"}}}} -{"stepDefinition":{"id":"33758624-2727-4044-b014-f76a61a43578","pattern":{"source":"a step throws an exception"},"sourceReference":{"javaMethod":{"className":"io.cucumber.compatibility.hooks.Hooks","methodName":"test"}}}} -{"hook":{"id":"1a24148a-7abd-4587-8380-115a722fed84","sourceReference":{"javaMethod":{"className":"io.cucumber.compatibility.hooks.Hooks","methodName":"afterWithException"}}}} -{"hook":{"id":"997b8d30-25fc-4257-a08b-f54e0575467c","tagExpression":"@some-tag or @some-other-tag","sourceReference":{"javaMethod":{"className":"io.cucumber.compatibility.hooks.Hooks","methodName":"taggedAfterWithException"}}}} -{"testCase":{"id":"0b68abc4-2204-4e7e-a5c5-d8975ebb6211","pickleId":"36b608b6-0d49-42c2-827b-e0303b0e6cd8","testSteps":[{"id":"290e6639-d73f-4735-8114-171b413f8167","hookId":"a5dd5af8-b696-4f82-a9d3-347741ed7d8a"},{"id":"6a6bbbfa-9ce7-4b08-abb1-6cd350b191a9","pickleStepId":"fc28ebee-01de-43f6-aab6-390365d96e16","stepDefinitionIds":["33758624-2727-4044-b014-f76a61a43578"],"stepMatchArgumentsLists":[{}]},{"id":"00a2e5f1-64fe-4e6c-b0dd-fcff1b303547","hookId":"1a24148a-7abd-4587-8380-115a722fed84"}]}} -{"testCaseStarted":{"timestamp":{"seconds":"1599042650","nanos":135247000},"testCaseId":"0b68abc4-2204-4e7e-a5c5-d8975ebb6211","id":"e47dc8fd-4ba8-413a-b358-f481e51051e1"}} -{"testStepStarted":{"timestamp":{"seconds":"1599042650","nanos":135526000},"testStepId":"290e6639-d73f-4735-8114-171b413f8167","testCaseStartedId":"e47dc8fd-4ba8-413a-b358-f481e51051e1"}} -{"testStepFinished":{"testStepResult":{"status":"PASSED","duration":{"nanos":208000}},"timestamp":{"seconds":"1599042650","nanos":135734000},"testStepId":"290e6639-d73f-4735-8114-171b413f8167","testCaseStartedId":"e47dc8fd-4ba8-413a-b358-f481e51051e1"}} -{"testStepStarted":{"timestamp":{"seconds":"1599042650","nanos":135958000},"testStepId":"6a6bbbfa-9ce7-4b08-abb1-6cd350b191a9","testCaseStartedId":"e47dc8fd-4ba8-413a-b358-f481e51051e1"}} -{"testStepFinished":{"testStepResult":{"status":"FAILED","message":"java.lang.Exception: Boom\n\tat io.cucumber.compatibility.hooks.Hooks.test(Hooks.java:19)\n\tat ✽.a step throws an exception(file:///Users/Aslak.Hellesoy/git/cucumber/cucumber-jvm/compatibility/src/test/resources/features/hooks/hooks.feature:9)\n","duration":{"nanos":399000}},"timestamp":{"seconds":"1599042650","nanos":136357000},"testStepId":"6a6bbbfa-9ce7-4b08-abb1-6cd350b191a9","testCaseStartedId":"e47dc8fd-4ba8-413a-b358-f481e51051e1"}} -{"testStepStarted":{"timestamp":{"seconds":"1599042650","nanos":136899000},"testStepId":"00a2e5f1-64fe-4e6c-b0dd-fcff1b303547","testCaseStartedId":"e47dc8fd-4ba8-413a-b358-f481e51051e1"}} -{"testStepFinished":{"testStepResult":{"status":"FAILED","message":"java.lang.Exception: Exception in hook\n\tat io.cucumber.compatibility.hooks.Hooks.afterWithException(Hooks.java:24)\n","duration":{"nanos":327000}},"timestamp":{"seconds":"1599042650","nanos":137226000},"testStepId":"00a2e5f1-64fe-4e6c-b0dd-fcff1b303547","testCaseStartedId":"e47dc8fd-4ba8-413a-b358-f481e51051e1"}} -{"testCaseFinished":{"timestamp":{"seconds":"1599042650","nanos":137520000},"testCaseStartedId":"e47dc8fd-4ba8-413a-b358-f481e51051e1"}} -{"hook":{"id":"a5dd5af8-b696-4f82-a9d3-347741ed7d8a","sourceReference":{"javaMethod":{"className":"io.cucumber.compatibility.hooks.Hooks","methodName":"before"}}}} -{"stepDefinition":{"id":"850eb4b0-613d-4a91-9247-1bb38ffd99ed","pattern":{"source":"a step passes"},"sourceReference":{"javaMethod":{"className":"io.cucumber.compatibility.hooks.Hooks","methodName":"aStepPasses"}}}} -{"stepDefinition":{"id":"a7dd8dc0-f6f5-4f24-8d5f-6cf5bc96ff48","pattern":{"source":"a step throws an exception"},"sourceReference":{"javaMethod":{"className":"io.cucumber.compatibility.hooks.Hooks","methodName":"test"}}}} -{"hook":{"id":"1a24148a-7abd-4587-8380-115a722fed84","sourceReference":{"javaMethod":{"className":"io.cucumber.compatibility.hooks.Hooks","methodName":"afterWithException"}}}} -{"hook":{"id":"997b8d30-25fc-4257-a08b-f54e0575467c","tagExpression":"@some-tag or @some-other-tag","sourceReference":{"javaMethod":{"className":"io.cucumber.compatibility.hooks.Hooks","methodName":"taggedAfterWithException"}}}} -{"testCase":{"id":"e17b5c99-f026-46b9-abfc-38b58198b9ea","pickleId":"b1b23641-8dad-4146-95c3-e37569dcf3a5","testSteps":[{"id":"f3cf363e-85fb-47a2-bf83-903b4e9d9d20","hookId":"a5dd5af8-b696-4f82-a9d3-347741ed7d8a"},{"id":"af1245e1-7086-43ee-a824-921db38d05af","pickleStepId":"b3a0786a-4242-41b7-9352-f4c13bc1addb","stepDefinitionIds":["a7dd8dc0-f6f5-4f24-8d5f-6cf5bc96ff48"],"stepMatchArgumentsLists":[{}]},{"id":"22708cec-7127-493b-94cb-6165f03f8924","hookId":"1a24148a-7abd-4587-8380-115a722fed84"}]}} -{"testCaseStarted":{"timestamp":{"seconds":"1599042650","nanos":139825000},"testCaseId":"e17b5c99-f026-46b9-abfc-38b58198b9ea","id":"20d9009c-44d8-42e0-9d22-902963d341d8"}} -{"testStepStarted":{"timestamp":{"seconds":"1599042650","nanos":140835000},"testStepId":"f3cf363e-85fb-47a2-bf83-903b4e9d9d20","testCaseStartedId":"20d9009c-44d8-42e0-9d22-902963d341d8"}} -{"testStepFinished":{"testStepResult":{"status":"PASSED","duration":{"nanos":404000}},"timestamp":{"seconds":"1599042650","nanos":141239000},"testStepId":"f3cf363e-85fb-47a2-bf83-903b4e9d9d20","testCaseStartedId":"20d9009c-44d8-42e0-9d22-902963d341d8"}} -{"testStepStarted":{"timestamp":{"seconds":"1599042650","nanos":141580000},"testStepId":"af1245e1-7086-43ee-a824-921db38d05af","testCaseStartedId":"20d9009c-44d8-42e0-9d22-902963d341d8"}} -{"testStepFinished":{"testStepResult":{"status":"FAILED","message":"java.lang.Exception: Boom\n\tat io.cucumber.compatibility.hooks.Hooks.test(Hooks.java:19)\n\tat ✽.a step throws an exception(file:///Users/Aslak.Hellesoy/git/cucumber/cucumber-jvm/compatibility/src/test/resources/features/hooks/hooks.feature:12)\n","duration":{"nanos":981000}},"timestamp":{"seconds":"1599042650","nanos":142561000},"testStepId":"af1245e1-7086-43ee-a824-921db38d05af","testCaseStartedId":"20d9009c-44d8-42e0-9d22-902963d341d8"}} -{"testStepStarted":{"timestamp":{"seconds":"1599042650","nanos":143216000},"testStepId":"22708cec-7127-493b-94cb-6165f03f8924","testCaseStartedId":"20d9009c-44d8-42e0-9d22-902963d341d8"}} -{"testStepFinished":{"testStepResult":{"status":"FAILED","message":"java.lang.Exception: Exception in hook\n\tat io.cucumber.compatibility.hooks.Hooks.afterWithException(Hooks.java:24)\n","duration":{"nanos":313000}},"timestamp":{"seconds":"1599042650","nanos":143529000},"testStepId":"22708cec-7127-493b-94cb-6165f03f8924","testCaseStartedId":"20d9009c-44d8-42e0-9d22-902963d341d8"}} -{"testCaseFinished":{"timestamp":{"seconds":"1599042650","nanos":143809000},"testCaseStartedId":"20d9009c-44d8-42e0-9d22-902963d341d8"}} -{"hook":{"id":"a5dd5af8-b696-4f82-a9d3-347741ed7d8a","sourceReference":{"javaMethod":{"className":"io.cucumber.compatibility.hooks.Hooks","methodName":"before"}}}} -{"stepDefinition":{"id":"f9094414-cfe2-44ac-90d4-3a5b95b2e974","pattern":{"source":"a step passes"},"sourceReference":{"javaMethod":{"className":"io.cucumber.compatibility.hooks.Hooks","methodName":"aStepPasses"}}}} -{"stepDefinition":{"id":"1eb78876-7788-4ce0-8ac2-a935d60ec386","pattern":{"source":"a step throws an exception"},"sourceReference":{"javaMethod":{"className":"io.cucumber.compatibility.hooks.Hooks","methodName":"test"}}}} -{"hook":{"id":"1a24148a-7abd-4587-8380-115a722fed84","sourceReference":{"javaMethod":{"className":"io.cucumber.compatibility.hooks.Hooks","methodName":"afterWithException"}}}} -{"hook":{"id":"997b8d30-25fc-4257-a08b-f54e0575467c","tagExpression":"@some-tag or @some-other-tag","sourceReference":{"javaMethod":{"className":"io.cucumber.compatibility.hooks.Hooks","methodName":"taggedAfterWithException"}}}} -{"testCase":{"id":"bf1c0c7e-95d0-4fa5-a04d-41bc9f0232db","pickleId":"368db5cf-be44-4516-b2a1-29ad1092c7c6","testSteps":[{"id":"5d5decff-b9f1-4df6-ad28-c9f51b23b534","hookId":"a5dd5af8-b696-4f82-a9d3-347741ed7d8a"},{"id":"e23845a3-42f4-4c72-b943-20dfeaa8332d","pickleStepId":"5bc5974a-fefe-46ca-b88b-8885dee322aa","stepDefinitionIds":["f9094414-cfe2-44ac-90d4-3a5b95b2e974"],"stepMatchArgumentsLists":[{}]},{"id":"a1478b5d-24d5-422d-b726-e3c5880bde7b","hookId":"997b8d30-25fc-4257-a08b-f54e0575467c"},{"id":"a1dde710-3801-4fcb-a646-ec868dbc0825","hookId":"1a24148a-7abd-4587-8380-115a722fed84"}]}} -{"testCaseStarted":{"timestamp":{"seconds":"1599042650","nanos":145138000},"testCaseId":"bf1c0c7e-95d0-4fa5-a04d-41bc9f0232db","id":"bcaa81d4-691e-4192-a535-34ebc6baa98b"}} -{"testStepStarted":{"timestamp":{"seconds":"1599042650","nanos":145408000},"testStepId":"5d5decff-b9f1-4df6-ad28-c9f51b23b534","testCaseStartedId":"bcaa81d4-691e-4192-a535-34ebc6baa98b"}} -{"testStepFinished":{"testStepResult":{"status":"PASSED","duration":{"nanos":95000}},"timestamp":{"seconds":"1599042650","nanos":145503000},"testStepId":"5d5decff-b9f1-4df6-ad28-c9f51b23b534","testCaseStartedId":"bcaa81d4-691e-4192-a535-34ebc6baa98b"}} -{"testStepStarted":{"timestamp":{"seconds":"1599042650","nanos":145601000},"testStepId":"e23845a3-42f4-4c72-b943-20dfeaa8332d","testCaseStartedId":"bcaa81d4-691e-4192-a535-34ebc6baa98b"}} -{"testStepFinished":{"testStepResult":{"status":"PASSED","duration":{"nanos":95000}},"timestamp":{"seconds":"1599042650","nanos":145696000},"testStepId":"e23845a3-42f4-4c72-b943-20dfeaa8332d","testCaseStartedId":"bcaa81d4-691e-4192-a535-34ebc6baa98b"}} -{"testStepStarted":{"timestamp":{"seconds":"1599042650","nanos":145812000},"testStepId":"a1478b5d-24d5-422d-b726-e3c5880bde7b","testCaseStartedId":"bcaa81d4-691e-4192-a535-34ebc6baa98b"}} -{"testStepFinished":{"testStepResult":{"status":"FAILED","message":"java.lang.Exception: Exception in conditional hook\n\tat io.cucumber.compatibility.hooks.Hooks.taggedAfterWithException(Hooks.java:29)\n","duration":{"nanos":311000}},"timestamp":{"seconds":"1599042650","nanos":146123000},"testStepId":"a1478b5d-24d5-422d-b726-e3c5880bde7b","testCaseStartedId":"bcaa81d4-691e-4192-a535-34ebc6baa98b"}} -{"testStepStarted":{"timestamp":{"seconds":"1599042650","nanos":146639000},"testStepId":"a1dde710-3801-4fcb-a646-ec868dbc0825","testCaseStartedId":"bcaa81d4-691e-4192-a535-34ebc6baa98b"}} -{"testStepFinished":{"testStepResult":{"status":"FAILED","message":"java.lang.Exception: Exception in hook\n\tat io.cucumber.compatibility.hooks.Hooks.afterWithException(Hooks.java:24)\n","duration":{"nanos":306000}},"timestamp":{"seconds":"1599042650","nanos":146945000},"testStepId":"a1dde710-3801-4fcb-a646-ec868dbc0825","testCaseStartedId":"bcaa81d4-691e-4192-a535-34ebc6baa98b"}} -{"testCaseFinished":{"timestamp":{"seconds":"1599042650","nanos":147302000},"testCaseStartedId":"bcaa81d4-691e-4192-a535-34ebc6baa98b"}} -{"testRunFinished":{"timestamp":{"seconds":"1599042650","nanos":147456000}}} +{"hook":{"id":"a5dd5af8-b696-4f82-a9d3-347741ed7d8a","sourceReference":{"javaMethod":{"className":"io.cucumber.compatibility.hooks.Hooks","methodName":"before","methodParameterTypes":[]}}}} +{"stepDefinition":{"id":"b4845687-276c-49cd-a25e-656712b55989","pattern":{"source":"a step passes","type":"CUCUMBER_EXPRESSION"},"sourceReference":{"javaMethod":{"className":"io.cucumber.compatibility.hooks.Hooks","methodName":"aStepPasses","methodParameterTypes":[]}}}} +{"stepDefinition":{"id":"12afaea2-c093-417b-9f50-7d33ca9373d7","pattern":{"source":"a step throws an exception","type":"CUCUMBER_EXPRESSION"},"sourceReference":{"javaMethod":{"className":"io.cucumber.compatibility.hooks.Hooks","methodName":"test","methodParameterTypes":[]}}}} +{"hook":{"id":"1a24148a-7abd-4587-8380-115a722fed84","sourceReference":{"javaMethod":{"className":"io.cucumber.compatibility.hooks.Hooks","methodName":"afterWithException","methodParameterTypes":[]}}}} +{"hook":{"id":"997b8d30-25fc-4257-a08b-f54e0575467c","tagExpression":"@some-tag or @some-other-tag","sourceReference":{"javaMethod":{"className":"io.cucumber.compatibility.hooks.Hooks","methodName":"taggedAfterWithException","methodParameterTypes":[]}}}} +{"testCase":{"id":"f9b16c4d-9c4c-416c-bd9d-f4c505181e7d","pickleId":"3d701a7e-e06d-45a9-be1f-b0c6a0f8ca1f","testSteps":[{"id":"915b269a-fc4c-443f-bfb7-52d697a7c4e1","hookId":"a5dd5af8-b696-4f82-a9d3-347741ed7d8a"},{"id":"54635301-9579-48ff-ab70-a9017c794988","pickleStepId":"f173231a-0b45-4962-acab-f7e5fef14641","stepDefinitionIds":["b4845687-276c-49cd-a25e-656712b55989"],"stepMatchArgumentsLists":[{"stepMatchArguments":[]}]},{"id":"08291ef5-9624-4c43-a395-1d0909f90013","hookId":"1a24148a-7abd-4587-8380-115a722fed84"}]}} +{"testCaseStarted":{"timestamp":{"seconds":0,"nanos":130931000},"testCaseId":"f9b16c4d-9c4c-416c-bd9d-f4c505181e7d","id":"48a72ce0-3448-4225-81b6-fb3b04416fe0","attempt":0}} +{"testStepStarted":{"timestamp":{"seconds":0,"nanos":132478000},"testStepId":"915b269a-fc4c-443f-bfb7-52d697a7c4e1","testCaseStartedId":"48a72ce0-3448-4225-81b6-fb3b04416fe0"}} +{"testStepFinished":{"testStepResult":{"status":"PASSED","duration":{"nanos":125000,"seconds":0}},"timestamp":{"seconds":0,"nanos":132603000},"testStepId":"915b269a-fc4c-443f-bfb7-52d697a7c4e1","testCaseStartedId":"48a72ce0-3448-4225-81b6-fb3b04416fe0"}} +{"testStepStarted":{"timestamp":{"seconds":0,"nanos":132793000},"testStepId":"54635301-9579-48ff-ab70-a9017c794988","testCaseStartedId":"48a72ce0-3448-4225-81b6-fb3b04416fe0"}} +{"testStepFinished":{"testStepResult":{"status":"PASSED","duration":{"nanos":77000,"seconds":0}},"timestamp":{"seconds":0,"nanos":132870000},"testStepId":"54635301-9579-48ff-ab70-a9017c794988","testCaseStartedId":"48a72ce0-3448-4225-81b6-fb3b04416fe0"}} +{"testStepStarted":{"timestamp":{"seconds":0,"nanos":133093000},"testStepId":"08291ef5-9624-4c43-a395-1d0909f90013","testCaseStartedId":"48a72ce0-3448-4225-81b6-fb3b04416fe0"}} +{"testStepFinished":{"testStepResult":{"status":"FAILED","message":"java.lang.Exception: Exception in hook\n\tat io.cucumber.compatibility.hooks.Hooks.afterWithException(Hooks.java:24)\n","duration":{"nanos":375000,"seconds":0}},"timestamp":{"seconds":0,"nanos":133468000},"testStepId":"08291ef5-9624-4c43-a395-1d0909f90013","testCaseStartedId":"48a72ce0-3448-4225-81b6-fb3b04416fe0"}} +{"testCaseFinished":{"timestamp":{"seconds":0,"nanos":133835000},"testCaseStartedId":"48a72ce0-3448-4225-81b6-fb3b04416fe0","willBeRetried":false}} +{"hook":{"id":"a5dd5af8-b696-4f82-a9d3-347741ed7d8a","sourceReference":{"javaMethod":{"className":"io.cucumber.compatibility.hooks.Hooks","methodName":"before","methodParameterTypes":[]}}}} +{"stepDefinition":{"id":"4c2060a2-ef72-46cf-aee2-656bc8b7edc1","pattern":{"source":"a step passes","type":"CUCUMBER_EXPRESSION"},"sourceReference":{"javaMethod":{"className":"io.cucumber.compatibility.hooks.Hooks","methodName":"aStepPasses","methodParameterTypes":[]}}}} +{"stepDefinition":{"id":"33758624-2727-4044-b014-f76a61a43578","pattern":{"source":"a step throws an exception","type":"CUCUMBER_EXPRESSION"},"sourceReference":{"javaMethod":{"className":"io.cucumber.compatibility.hooks.Hooks","methodName":"test","methodParameterTypes":[]}}}} +{"hook":{"id":"1a24148a-7abd-4587-8380-115a722fed84","sourceReference":{"javaMethod":{"className":"io.cucumber.compatibility.hooks.Hooks","methodName":"afterWithException","methodParameterTypes":[]}}}} +{"hook":{"id":"997b8d30-25fc-4257-a08b-f54e0575467c","tagExpression":"@some-tag or @some-other-tag","sourceReference":{"javaMethod":{"className":"io.cucumber.compatibility.hooks.Hooks","methodName":"taggedAfterWithException","methodParameterTypes":[]}}}} +{"testCase":{"id":"0b68abc4-2204-4e7e-a5c5-d8975ebb6211","pickleId":"36b608b6-0d49-42c2-827b-e0303b0e6cd8","testSteps":[{"id":"290e6639-d73f-4735-8114-171b413f8167","hookId":"a5dd5af8-b696-4f82-a9d3-347741ed7d8a"},{"id":"6a6bbbfa-9ce7-4b08-abb1-6cd350b191a9","pickleStepId":"fc28ebee-01de-43f6-aab6-390365d96e16","stepDefinitionIds":["33758624-2727-4044-b014-f76a61a43578"],"stepMatchArgumentsLists":[{"stepMatchArguments":[]}]},{"id":"00a2e5f1-64fe-4e6c-b0dd-fcff1b303547","hookId":"1a24148a-7abd-4587-8380-115a722fed84"}]}} +{"testCaseStarted":{"timestamp":{"seconds":0,"nanos":135247000},"testCaseId":"0b68abc4-2204-4e7e-a5c5-d8975ebb6211","id":"e47dc8fd-4ba8-413a-b358-f481e51051e1","attempt":0}} +{"testStepStarted":{"timestamp":{"seconds":0,"nanos":135526000},"testStepId":"290e6639-d73f-4735-8114-171b413f8167","testCaseStartedId":"e47dc8fd-4ba8-413a-b358-f481e51051e1"}} +{"testStepFinished":{"testStepResult":{"status":"PASSED","duration":{"nanos":208000,"seconds":0}},"timestamp":{"seconds":0,"nanos":135734000},"testStepId":"290e6639-d73f-4735-8114-171b413f8167","testCaseStartedId":"e47dc8fd-4ba8-413a-b358-f481e51051e1"}} +{"testStepStarted":{"timestamp":{"seconds":0,"nanos":135958000},"testStepId":"6a6bbbfa-9ce7-4b08-abb1-6cd350b191a9","testCaseStartedId":"e47dc8fd-4ba8-413a-b358-f481e51051e1"}} +{"testStepFinished":{"testStepResult":{"status":"FAILED","message":"java.lang.Exception: Boom\n\tat io.cucumber.compatibility.hooks.Hooks.test(Hooks.java:19)\n\tat ✽.a step throws an exception(file:///Users/Aslak.Hellesoy/git/cucumber/cucumber-jvm/compatibility/src/test/resources/features/hooks/hooks.feature:9)\n","duration":{"nanos":399000,"seconds":0}},"timestamp":{"seconds":0,"nanos":136357000},"testStepId":"6a6bbbfa-9ce7-4b08-abb1-6cd350b191a9","testCaseStartedId":"e47dc8fd-4ba8-413a-b358-f481e51051e1"}} +{"testStepStarted":{"timestamp":{"seconds":0,"nanos":136899000},"testStepId":"00a2e5f1-64fe-4e6c-b0dd-fcff1b303547","testCaseStartedId":"e47dc8fd-4ba8-413a-b358-f481e51051e1"}} +{"testStepFinished":{"testStepResult":{"status":"FAILED","message":"java.lang.Exception: Exception in hook\n\tat io.cucumber.compatibility.hooks.Hooks.afterWithException(Hooks.java:24)\n","duration":{"nanos":327000,"seconds":0}},"timestamp":{"seconds":0,"nanos":137226000},"testStepId":"00a2e5f1-64fe-4e6c-b0dd-fcff1b303547","testCaseStartedId":"e47dc8fd-4ba8-413a-b358-f481e51051e1"}} +{"testCaseFinished":{"timestamp":{"seconds":0,"nanos":137520000},"testCaseStartedId":"e47dc8fd-4ba8-413a-b358-f481e51051e1","willBeRetried":false}} +{"hook":{"id":"a5dd5af8-b696-4f82-a9d3-347741ed7d8a","sourceReference":{"javaMethod":{"className":"io.cucumber.compatibility.hooks.Hooks","methodName":"before","methodParameterTypes":[]}}}} +{"stepDefinition":{"id":"850eb4b0-613d-4a91-9247-1bb38ffd99ed","pattern":{"source":"a step passes","type":"CUCUMBER_EXPRESSION"},"sourceReference":{"javaMethod":{"className":"io.cucumber.compatibility.hooks.Hooks","methodName":"aStepPasses","methodParameterTypes":[]}}}} +{"stepDefinition":{"id":"a7dd8dc0-f6f5-4f24-8d5f-6cf5bc96ff48","pattern":{"source":"a step throws an exception","type":"CUCUMBER_EXPRESSION"},"sourceReference":{"javaMethod":{"className":"io.cucumber.compatibility.hooks.Hooks","methodName":"test","methodParameterTypes":[]}}}} +{"hook":{"id":"1a24148a-7abd-4587-8380-115a722fed84","sourceReference":{"javaMethod":{"className":"io.cucumber.compatibility.hooks.Hooks","methodName":"afterWithException","methodParameterTypes":[]}}}} +{"hook":{"id":"997b8d30-25fc-4257-a08b-f54e0575467c","tagExpression":"@some-tag or @some-other-tag","sourceReference":{"javaMethod":{"className":"io.cucumber.compatibility.hooks.Hooks","methodName":"taggedAfterWithException","methodParameterTypes":[]}}}} +{"testCase":{"id":"e17b5c99-f026-46b9-abfc-38b58198b9ea","pickleId":"b1b23641-8dad-4146-95c3-e37569dcf3a5","testSteps":[{"id":"f3cf363e-85fb-47a2-bf83-903b4e9d9d20","hookId":"a5dd5af8-b696-4f82-a9d3-347741ed7d8a"},{"id":"af1245e1-7086-43ee-a824-921db38d05af","pickleStepId":"b3a0786a-4242-41b7-9352-f4c13bc1addb","stepDefinitionIds":["a7dd8dc0-f6f5-4f24-8d5f-6cf5bc96ff48"],"stepMatchArgumentsLists":[{"stepMatchArguments":[]}]},{"id":"22708cec-7127-493b-94cb-6165f03f8924","hookId":"1a24148a-7abd-4587-8380-115a722fed84"}]}} +{"testCaseStarted":{"timestamp":{"seconds":0,"nanos":139825000},"testCaseId":"e17b5c99-f026-46b9-abfc-38b58198b9ea","id":"20d9009c-44d8-42e0-9d22-902963d341d8","attempt":0}} +{"testStepStarted":{"timestamp":{"seconds":0,"nanos":140835000},"testStepId":"f3cf363e-85fb-47a2-bf83-903b4e9d9d20","testCaseStartedId":"20d9009c-44d8-42e0-9d22-902963d341d8"}} +{"testStepFinished":{"testStepResult":{"status":"PASSED","duration":{"nanos":404000,"seconds":0}},"timestamp":{"seconds":0,"nanos":141239000},"testStepId":"f3cf363e-85fb-47a2-bf83-903b4e9d9d20","testCaseStartedId":"20d9009c-44d8-42e0-9d22-902963d341d8"}} +{"testStepStarted":{"timestamp":{"seconds":0,"nanos":141580000},"testStepId":"af1245e1-7086-43ee-a824-921db38d05af","testCaseStartedId":"20d9009c-44d8-42e0-9d22-902963d341d8"}} +{"testStepFinished":{"testStepResult":{"status":"FAILED","message":"java.lang.Exception: Boom\n\tat io.cucumber.compatibility.hooks.Hooks.test(Hooks.java:19)\n\tat ✽.a step throws an exception(file:///Users/Aslak.Hellesoy/git/cucumber/cucumber-jvm/compatibility/src/test/resources/features/hooks/hooks.feature:12)\n","duration":{"nanos":981000,"seconds":0}},"timestamp":{"seconds":0,"nanos":142561000},"testStepId":"af1245e1-7086-43ee-a824-921db38d05af","testCaseStartedId":"20d9009c-44d8-42e0-9d22-902963d341d8"}} +{"testStepStarted":{"timestamp":{"seconds":0,"nanos":143216000},"testStepId":"22708cec-7127-493b-94cb-6165f03f8924","testCaseStartedId":"20d9009c-44d8-42e0-9d22-902963d341d8"}} +{"testStepFinished":{"testStepResult":{"status":"FAILED","message":"java.lang.Exception: Exception in hook\n\tat io.cucumber.compatibility.hooks.Hooks.afterWithException(Hooks.java:24)\n","duration":{"nanos":313000,"seconds":0}},"timestamp":{"seconds":0,"nanos":143529000},"testStepId":"22708cec-7127-493b-94cb-6165f03f8924","testCaseStartedId":"20d9009c-44d8-42e0-9d22-902963d341d8"}} +{"testCaseFinished":{"timestamp":{"seconds":0,"nanos":143809000},"testCaseStartedId":"20d9009c-44d8-42e0-9d22-902963d341d8","willBeRetried":false}} +{"hook":{"id":"a5dd5af8-b696-4f82-a9d3-347741ed7d8a","sourceReference":{"javaMethod":{"className":"io.cucumber.compatibility.hooks.Hooks","methodName":"before","methodParameterTypes":[]}}}} +{"stepDefinition":{"id":"f9094414-cfe2-44ac-90d4-3a5b95b2e974","pattern":{"source":"a step passes","type":"CUCUMBER_EXPRESSION"},"sourceReference":{"javaMethod":{"className":"io.cucumber.compatibility.hooks.Hooks","methodName":"aStepPasses","methodParameterTypes":[]}}}} +{"stepDefinition":{"id":"1eb78876-7788-4ce0-8ac2-a935d60ec386","pattern":{"source":"a step throws an exception","type":"CUCUMBER_EXPRESSION"},"sourceReference":{"javaMethod":{"className":"io.cucumber.compatibility.hooks.Hooks","methodName":"test","methodParameterTypes":[]}}}} +{"hook":{"id":"1a24148a-7abd-4587-8380-115a722fed84","sourceReference":{"javaMethod":{"className":"io.cucumber.compatibility.hooks.Hooks","methodName":"afterWithException","methodParameterTypes":[]}}}} +{"hook":{"id":"997b8d30-25fc-4257-a08b-f54e0575467c","tagExpression":"@some-tag or @some-other-tag","sourceReference":{"javaMethod":{"className":"io.cucumber.compatibility.hooks.Hooks","methodName":"taggedAfterWithException","methodParameterTypes":[]}}}} +{"testCase":{"id":"bf1c0c7e-95d0-4fa5-a04d-41bc9f0232db","pickleId":"368db5cf-be44-4516-b2a1-29ad1092c7c6","testSteps":[{"id":"5d5decff-b9f1-4df6-ad28-c9f51b23b534","hookId":"a5dd5af8-b696-4f82-a9d3-347741ed7d8a"},{"id":"e23845a3-42f4-4c72-b943-20dfeaa8332d","pickleStepId":"5bc5974a-fefe-46ca-b88b-8885dee322aa","stepDefinitionIds":["f9094414-cfe2-44ac-90d4-3a5b95b2e974"],"stepMatchArgumentsLists":[{"stepMatchArguments":[]}]},{"id":"a1478b5d-24d5-422d-b726-e3c5880bde7b","hookId":"997b8d30-25fc-4257-a08b-f54e0575467c"},{"id":"a1dde710-3801-4fcb-a646-ec868dbc0825","hookId":"1a24148a-7abd-4587-8380-115a722fed84"}]}} +{"testCaseStarted":{"timestamp":{"seconds":0,"nanos":145138000},"testCaseId":"bf1c0c7e-95d0-4fa5-a04d-41bc9f0232db","id":"bcaa81d4-691e-4192-a535-34ebc6baa98b","attempt":0}} +{"testStepStarted":{"timestamp":{"seconds":0,"nanos":145408000},"testStepId":"5d5decff-b9f1-4df6-ad28-c9f51b23b534","testCaseStartedId":"bcaa81d4-691e-4192-a535-34ebc6baa98b"}} +{"testStepFinished":{"testStepResult":{"status":"PASSED","duration":{"nanos":95000,"seconds":0}},"timestamp":{"seconds":0,"nanos":145503000},"testStepId":"5d5decff-b9f1-4df6-ad28-c9f51b23b534","testCaseStartedId":"bcaa81d4-691e-4192-a535-34ebc6baa98b"}} +{"testStepStarted":{"timestamp":{"seconds":0,"nanos":145601000},"testStepId":"e23845a3-42f4-4c72-b943-20dfeaa8332d","testCaseStartedId":"bcaa81d4-691e-4192-a535-34ebc6baa98b"}} +{"testStepFinished":{"testStepResult":{"status":"PASSED","duration":{"nanos":95000,"seconds":0}},"timestamp":{"seconds":0,"nanos":145696000},"testStepId":"e23845a3-42f4-4c72-b943-20dfeaa8332d","testCaseStartedId":"bcaa81d4-691e-4192-a535-34ebc6baa98b"}} +{"testStepStarted":{"timestamp":{"seconds":0,"nanos":145812000},"testStepId":"a1478b5d-24d5-422d-b726-e3c5880bde7b","testCaseStartedId":"bcaa81d4-691e-4192-a535-34ebc6baa98b"}} +{"testStepFinished":{"testStepResult":{"status":"FAILED","message":"java.lang.Exception: Exception in conditional hook\n\tat io.cucumber.compatibility.hooks.Hooks.taggedAfterWithException(Hooks.java:29)\n","duration":{"nanos":311000,"seconds":0}},"timestamp":{"seconds":0,"nanos":146123000},"testStepId":"a1478b5d-24d5-422d-b726-e3c5880bde7b","testCaseStartedId":"bcaa81d4-691e-4192-a535-34ebc6baa98b"}} +{"testStepStarted":{"timestamp":{"seconds":0,"nanos":146639000},"testStepId":"a1dde710-3801-4fcb-a646-ec868dbc0825","testCaseStartedId":"bcaa81d4-691e-4192-a535-34ebc6baa98b"}} +{"testStepFinished":{"testStepResult":{"status":"FAILED","message":"java.lang.Exception: Exception in hook\n\tat io.cucumber.compatibility.hooks.Hooks.afterWithException(Hooks.java:24)\n","duration":{"nanos":306000,"seconds":0}},"timestamp":{"seconds":0,"nanos":146945000},"testStepId":"a1dde710-3801-4fcb-a646-ec868dbc0825","testCaseStartedId":"bcaa81d4-691e-4192-a535-34ebc6baa98b"}} +{"testCaseFinished":{"timestamp":{"seconds":0,"nanos":147302000},"testCaseStartedId":"bcaa81d4-691e-4192-a535-34ebc6baa98b","willBeRetried":false}} +{"testRunFinished":{"timestamp":{"seconds":0,"nanos":147456000}}} diff --git a/tsconfig.json b/tsconfig.json index c09d9a27..89b81897 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,7 +6,7 @@ "target": "es2024", "module": "NodeNext", "moduleResolution": "NodeNext", - "types": ["mocha", "chai", "chai-dom", "sinon-chai"], + "types": ["node", "mocha", "chai", "chai-dom", "sinon-chai"], "declaration": true, "inlineSourceMap": true, "inlineSources": true,