Skip to content
SPECIFICTION
Get listed

Behat vs Behave

Behat

behat.org

Behave

behave.readthedocs.io

Side by side

FigureBehatBehave
Price fromFree—
Free planYes—
Free trial——
Open source——
Windows—Yes
macOS—Yes
LinuxYesYes
Plans published10
Spec score · BDD Testing Tools7.7 (#10)7.8 (#9)
ExtensibilityBehat's extension system can enhance or replace nearly any part of its functionality.Optional formatter dependencies can add formatters from behave-contrib to those provided by default.
InstallationThe documented installation methods are Composer and a PHAR executable, both run using PHP.The documentation gives pip and source-distribution installation instructions and also describes installing from the GitHub repository.
PurposeBehat is an open source behavior-driven development tool for writing executable software specifications in plain language.Behave is a Python-style behavior-driven development tool that runs tests written in a natural-language style backed by Python code.

Plans

Behat

  • BehatFree

Behat pricing →

Behave

No plans published.

Behave pricing →

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.

Visit behat.org

Behave

Behave has no write-up on Specifiction yet; its figures are above.

Visit behave.readthedocs.io