-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Labels
π bugDefect / BugDefect / Bug
Description
π What did you see?
When an exception is thrown from the method annotated with @afterall hook, then test execution does not stop. It waits indefinitely. I am seeing below behaviour.
β What did you expect to see?
I have written a custom logic to check the code coverage and I want to run this logic when all feature files have been run. I am using @afterall hook for this. When the coverage is not desired then I want to throw an AssertionError with a message. After this the test execution should stop and the error should be shown. However the same is not happening. I cant figure out what it is waiting for. I tried to debug in the classes Runtime.Java and CucumberExecutionContext.java but couldnt find anything.
π¦ Which tool/library version are you using?
Java 21
cucumber bom 7.29.0
π¬ How could we reproduce it?
No response
π Any additional context?
No response
Metadata
Metadata
Assignees
Labels
π bugDefect / BugDefect / Bug