A BDD/PHP framework for testing your business expectations.

Joined March 2013
Behat now gives you more control over how file paths appear in test results: print absolute or relative paths, strip unwanted prefixes, and add an editor URL so paths become clickable and open directly in your IDE.
1
3
347
If you or your company relies on Behat, please help keep it moving forward—sponsor its maintainers and support ongoing development. github.com/Behat/Behat?tab=r…
4
4
305
Behat now includes a new formatter that outputs test results as JSON—the lingua franca of modern tooling. This powers the new Behat MCP server, enabling AI tools to run Behat tests: github.com/Behat/mcp-server
4
6
394
Behat now fully supports PHP Attributes for defining steps, hooks, and transformations. Annotations are no longer recommended and will be removed in Behat 4. Use Rector to automatically convert your existing annotations to attributes.
4
14
915
Behat now supports PHP config files, replacing YAML for enhanced IDE auto-completion and improved static analysis with tools like PHPStan and Rector. Run `behat --convert-config` to give it a go today!
1
4
9
484
Since October 2024, Behat's new maintainer team has been on a roll, launching numerous releases, squashing bugs, and packing in exciting new features. Stick around—there's plenty to share in the coming days!
2
1
8
1,111
Another day, another release. @BehatPHP v3.7.0 bringing back support for PHP 5.3/5.4 and introducing it for PHP 7.4. Container-interop package made optional. Next minor release will drop support for PHP <7.2 and Symfony <4.4. github.com/Behat/Behat/relea…
1
6
18
Eager to use @BehatPHP in your @symfony 5 application? The latest release of FriendsOfBehat's SymfonyExtension comes to the rescue! Symfony 5 and PHP 7.4 support, better Mink and BrowserKit integrations and a few more improvements included. kamilkokot.com/symfony-exten…
2
20
46
We focus so much on tools. Especially in testing. @codeception vs @BehatPHP vs @phpunit but really why test code? To make sure it works. So don’t obsess over what tool offers the most but what process enables communication. Talk to the client and then let’s talk tooling :)
2
5
10
Most of the work was the contributors, I just merged some things – at Wandsworth, London
3.5.0 has just been tagged. Primarily via work of @CiaranMcNulty Changelong: github.com/Behat/Behat/blob/…
2
4
3.5.0 has just been tagged. Primarily via work of @CiaranMcNulty Changelong: github.com/Behat/Behat/blob/…
1
7
1
12
What is #BDD and why do we combine @BehatPHP & @PhpSpec in our #testing methodology? Find out in #Sylius docs! bit.ly/2CK1vdX