Behat logo


A BDD framework for testing your business expectations
+ 1

What is Behat?

It is an open source Behavior-Driven Development framework for PHP. It is a tool to support you in delivering software that matters through continuous communication, deliberate discovery and test-automation.
Behat is a tool in the Testing Frameworks category of a tech stack.
Behat is an open source tool with 3.7K GitHub stars and 582 GitHub forks. Here’s a link to Behat's open source repository on GitHub

Who uses Behat?

32 companies reportedly use Behat in their tech stacks, including E-Commerce, Yousign, and TransferGo.

54 developers on StackShare have stated that they use Behat.
Pros of Behat
BDD Acceptance Testing
Easy Ubiquitous language integration reusing code
Decisions about Behat

Here are some stack decisions, common use cases and reviews by companies and developers who chose Behat in their tech stack.

Shared insights

What is the best solution (PHPUnit or Behat) for test automation (unit and functional tests)?

See more

Behat Alternatives & Comparisons

What are some alternatives to Behat?
Selenium automates browsers. That's it! What you do with that power is entirely up to you. Primarily, it is for automating web applications for testing purposes, but is certainly not limited to just that. Boring web-based administration tasks can (and should!) also be automated as well.
PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of the xUnit architecture for unit testing frameworks.
Cucumber is a tool that supports Behaviour-Driven Development (BDD) - a software development process that aims to enhance software quality and reduce maintenance costs.
Full-stack testing framework for PHP. Run browsers tests, framework tests, APIs tests, unit tests with ease.
It is a tool which can help you write clean and working PHP code using behaviour driven development or BDD. BDD is a technique derived from test-first development.
See all alternatives

Behat's Followers
54 developers follow Behat to keep up with related blogs and decisions.