Behat
Behat: A focused Gherkin workflow for PHP teams building executable specifications. Ranked #4 of 29 in BDD Testing Tools by our editors (8.3/10); pricing: Free plan; best for PHP teams using Gherkin.
At a glance
- Editor score8.3 / 10
- PricingFree plan
- Best forPHP teams using Gherkin
- Free planYes
- Paid fromFree
- Gherkin supportYes
- Facts checked21 Sep 2026

Where it wins
- Business-readable Gherkin scenarios connect to PHP step definitions.
- Configurable suites, profiles, filters, tags, hooks, and extensions.
- Supports browser, API, database, filesystem, shell, and PHP testing.
Where it doesn't
- Browser testing depends on the Mink integration and compatible drivers.
- The workflow is centered on PHP and may not suit non-PHP teams.
- Command-line execution may require more configuration than visual tools.
Our verdict on Behat
Behat is an open-source behavior-driven development framework for PHP teams that want business-readable specifications to become automated checks. It executes Gherkin feature files from the command line and connects each scenario to application behavior through PHP step definitions using attributes and pattern matching. The framework suits developers and teams aligning stakeholder-readable examples with application, API, or web behavior, particularly when Gherkin is already part of the development process.
Its main strength is control over how scenarios are organized and run. Configurable test suites, profiles, filters, and tags help teams select targeted parts of a feature set, while hooks and extensions provide customization points. Behat also offers pretty, progress, and JUnit output formats, plus automatic snippets for undefined steps. The published capabilities cover more than browser workflows: contexts or integrations can exercise HTTP APIs, shell commands, databases, filesystems, and PHP code. Browser testing is available through Mink, with integrations including Selenium, BrowserKit, and Chrome DevTools Protocol. Symfony and Drupal integrations further support PHP application ecosystems.
Behat is free and open source, so its cost model centers on adopting and maintaining the framework rather than choosing commercial tiers. That makes it a practical fit for PHP teams that value executable specifications, local command-line execution, and configurable workflows. Teams seeking a focused Gherkin framework with broad PHP testing contexts should consider it. It is less suitable for organizations that want a primarily visual test-management experience, a non-PHP-centered workflow, or browser automation without configuring the Mink integration and its drivers.
Your product? Our editors can test Behat in depth and publish a review, labelled as paid · from $149/mo →
Behat pricing
Behat fact sheet
| Free plan | Yes |
|---|---|
| Paid from | Free |
| Gherkin support | Yes |
| Supported languages | Not verified |
| Execution mode | Local |
| Parallel execution | Not verified |
| Browser testing | Yes |
| API access | Yes |
| Deployment | Self-hosted |
| Support | Docs |
| Built for | Solo, Small business, Mid-market, Enterprise (editorial estimate) |
| Integrations | 6 integrations: Mink, Selenium, BrowserKit, Chrome DevTools Protocol, Symfony, Drupal |
| Pricing | Free plan |
| Website | behat.org |
| Facts checked | 21 Sep 2026 |
Behat integrations
Behat lists 6 integrations on its own site.
- Mink
- Selenium
- BrowserKit
- Chrome DevTools Protocol
- Symfony
- Drupal
Alternatives to Behat
- Cucumber OpenA mature, extensible Cucumber workflow for local and CI-based BDD testing.9.1
- CucumberStudioA shared BDD workspace connecting Gherkin, test execution, automation results, and documentation.8.6
- KarateA self-hosted testing framework spanning API, UI, performance, and mock testing.8.3
Behat vs the competition
- Behat vs Cucumber Open
- Behat vs CucumberStudio
- Behat vs Karate
- Behat vs Serenity BDD
- Behat vs Ginkgo
- Behat vs CukeTest
Compare Behat with any tool side by side →
Used Behat? Be the first to review it
The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used Behat for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.
Write a reviewTwo minutes · verified accounts only · read by an editor before it appears
Featured on iTechGuides
Behat is listed in our BDD Testing Tools directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/behat/"><img src="https://www.itechguides.com/best/badge/behat.svg" alt="Featured on iTechGuides" width="230" height="46"></a>
Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update



