Skip to content

Conversation

@davidjgoss
Copy link
Contributor

@davidjgoss davidjgoss commented Aug 26, 2025

🤔 What's changed?

Add functionality for global hooks to:

  • Register them in the builder
  • Expose them in the library
  • Emit messages for them

⚡️ What's your motivation?

So BeforeAll and AfterAll can be added in compatibility-kit and cucumber-node

🏷️ What kind of change is this?

  • ⚡ New feature (non-breaking change which adds new behaviour)

📋 Checklist:

  • I agree to respect and uphold the Cucumber Community Code of Conduct
  • I've changed the behaviour of the code
    • I have added/updated tests to cover my changes.
  • My change requires a change to the documentation.
    • I have updated the documentation accordingly.
  • Users should know about my change
    • I have added an entry to the "Unreleased" section of the CHANGELOG, linking to this pull request.

This text was originally generated from a template, then edited by hand. You can modify the template here.

@davidjgoss davidjgoss changed the title Global hooks Add global hooks Aug 26, 2025
@davidjgoss davidjgoss marked this pull request as ready for review August 26, 2025 17:53
@davidjgoss davidjgoss merged commit adc8233 into main Aug 26, 2025
11 checks passed
@davidjgoss davidjgoss deleted the global-hooks branch August 26, 2025 17:53
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.

2 participants