BDDX vs Behat
BDDX
bddtests.comBehat
behat.orgSide by side
| Figure | BDDX | Behat |
|---|---|---|
| Price from | $9.99/mo | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Web | Yes | — |
| Linux | — | Yes |
| Plans published | 4 | 1 |
| Spec score · BDD Testing Tools | 8.2 (#5) | 7.7 (#10) |
| Installation | The CLI installation command is `npm i bddx`. | The documented installation methods are Composer and a PHAR executable, both run using PHP. |
| Purpose | BDDX creates and runs Behavior-Driven Development tests and summarizes failures. | Behat is an open source behavior-driven development tool for writing executable software specifications in plain language. |
Plans
In their own words
BDDX
BDDX creates and runs Behavior-Driven Development tests written in Cucumber’s Gherkin plain-text language, then summarizes test failures and their causes. Users can upload test files in bulk and run them line by line, pausing and resuming a bulk run from a checkpoint. The documented workflow connects a cloud BDDX project and API key with the CLI: the CLI runs tests in a repository and uploads results to the cloud. Its installation command is `npm i bddx`. Documentation describes creating Jira tasks and GitHub or GitLab issues from detected defects, and Jira tasks can be created automatically for failed tests. BDDX is a web product with browser testing, API access, Gherkin support, and both execution modes. The Start plan is free for up to 50 runs per month. Grow costs $9.99 a month for 51–250 runs, and Accelerate costs $14.99 a month for 251–500 runs. Scale has no listed plan price, with unlimited runs at 0.03$ per run. Email and Jira API token credentials are saved locally on the machine.
Behat
Behat is free, open-source software for writing executable specifications in plain language on Linux. It is the PHP implementation of Cucumber and runs Gherkin feature files. Those files can describe complete application behavior and be exercised through browser automation, HTTP API calls, shell commands, databases, filesystems, or PHP code. Behat is intended to work with any PHP framework or without one. Installation uses Composer or a PHAR executable, both running with PHP. An extension system can expand or replace nearly any part of the tool, with extensions covering framework integrations, browser automation, test reporting, and data fixtures. Behat does not provide its own assertion tool, so an external assertion library is needed. It supports current PHP and third-party dependency versions; Symfony 8 support begins with Behat 4.0. Each major version receives security fixes for 24 months after the next major release.