cucumber / cucumber/common

Add global hooks to the model

Open
#2,273 20 comments 0 reactions 1 assignee Claimed by @davidjgoss View on GitHub
Dominant language
No language data
Stars
3.4k
Forks
679
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
It look like `@BeforeAll` and `@AfterAll` hooks do not fire any events, at least [I don't see it in the code explicitly](https://github.com/cucumber/cucumber-jvm/pull/1876/files#diff-1a0fb5d4f12d2de943eb4d191d6cf810baf35f1d1c8e4da56fec7fc075c59e40R71-R87).

This makes impossible to report them in third-party report systems. At least in a straightforward way, without hacking that with AspectJ.

**Describe the solution you'd like**
Fire `TestStepStarted` event as you do for all other hooks.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.