Behat vs Cucumber Open
Behat
behat.orgCucumber Open
cucumber.ioSide by side
| Figure | Behat | Cucumber Open |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Windows | — | Yes |
| macOS | — | Yes |
| Linux | Yes | Yes |
| Android | — | Yes |
| API | — | Yes |
| Plans published | 1 | 1 |
| Spec score · BDD Testing Tools | 7.7 (#10) | 8.2 (#6) |
| Purpose | Behat is an open source behavior-driven development tool for writing executable software specifications in plain language. | Cucumber runs automated acceptance tests written in plain language that can be read by anyone on a team. |
Plans
In their own words
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.
Cucumber Open
Cucumber Open runs automated acceptance tests from specifications written in plain language, helping teams check whether software behaves as described. It supports Behaviour-Driven Development by executing Gherkin specifications saved in `.feature` text files, typically alongside software in source control. Step definitions link the specification's steps to code that carries them out. Official implementations include JavaScript, Java, Ruby, Android Java, Kotlin, Scala, and C++, with semi-official and unofficial implementations also listed. Gherkin has variations for spoken languages, so teams can use keywords in their own language. Reporting options include built-in HTML, JSON, JUnit, and progress formatters, as well as custom formatters. Cucumber can run in continuous integration environments; its documentation describes JUnit output and a Jenkins reporting plugin. The project is free and open source, with local execution, parallel execution, browser testing, and API access. Published Cucumber Reports are public without authentication and deleted after 24 hours; the report service says data is stored in US data centers and encrypted at rest.