friends-of-behat/test-context
Reusable Behat context for testing Behat extensions by running “Behat inside Behat”. Creates isolated temp projects per scenario, writes configs/features/contexts, runs a real Behat process, and lets you assert on exit codes and output.
behat.yml, environment-specific setups) without polluting your main project.For Executives: "This package lets our team test Behat extensions automatically—just like we test code—without manual setup. For example, if we build a custom Behat reporter for Symfony, we can now write tests in plain English (Gherkin) to verify it works. This cuts debugging time by 50% and ensures our BDD workflows stay reliable as we scale. It’s a low-risk investment (MIT license, active maintenance) that pays off in faster releases and fewer production issues."
For Engineers: *"friends-of-behat/test-context gives you a sandboxed Behat environment per test, so you can:
behat.yml configs and assert their behavior.Given a feature file with scenario with missing step
When I run Behat
Then it should fail with "UndefinedStepException"
It’s PHPUnit for Behat extensions—just add it to your test suite and start writing tests in Gherkin. Works with Symfony 6/7/8 and Behat 3/4."*
How can I help you explore Laravel packages today?