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

'Simple' extensions #1406

Open
ciaranmcnulty opened this issue Aug 2, 2022 · 0 comments
Open

'Simple' extensions #1406

ciaranmcnulty opened this issue Aug 2, 2022 · 0 comments

Comments

@ciaranmcnulty
Copy link
Contributor

I think we should enumerate the common extension points in behat, which I suspect are:

  1. Register a Formatter
  2. Do something else while listening to hooks
  3. Provide objects for auto wiring into context

And then provide a simple interface (or >1 interface) that extensions can implement to achieve these. this would remove a lot of the extension-writing overhead of having to grok the symfony container

We could pick one of the use cases above and go with it (with a candidate extension)

I think we would support the existing mechanism still, for any extensions that needed to get deep into Behat's guts

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

No branches or pull requests

1 participant