Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for named hooks #1636

Merged
merged 6 commits into from
May 19, 2022
Merged

Conversation

aurelien-reeves
Copy link
Contributor

@aurelien-reeves aurelien-reeves commented May 18, 2022

Description

Add support for named hooks

This should pass once cucumber/common#1984 is released

  • add some unit tests
  • update documentation
  • add changelog entry
  • optionally add it to reporters?

@aurelien-reeves aurelien-reeves added this to the 8.0.0 milestone May 18, 2022
@aurelien-reeves
Copy link
Contributor Author

aurelien-reeves commented May 19, 2022

I wanted to update at least the json and consoles reporters, but it is really a difficult at the moment.

For now only message-based formatters properly reports hook's names. We could still update other formatters later if we have some requests to do so

Same for the unit tests: I relied on a bunch of feature tests due to the pain it is to actually add unit tests for such a simple feature

@aurelien-reeves aurelien-reeves marked this pull request as ready for review May 19, 2022 10:27
@aurelien-reeves aurelien-reeves merged commit 47ff1b8 into main May 19, 2022
@luke-hill luke-hill deleted the add-support-for-named-hooks branch October 7, 2022 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants