Behat logo

Behat

A BDD framework for testing your business expectations
149
65
+ 1
2

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?

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

Developers
77 developers on StackShare have stated that they use Behat.
Pros of Behat
1
BDD Acceptance Testing
1
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.

Needs advice
on
BehatBehat
and
PHPUnitPHPUnit

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
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
PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of the xUnit architecture for unit testing frameworks.
Cucumber
Cucumber is a tool that supports Behaviour-Driven Development (BDD) - a software development process that aims to enhance software quality and reduce maintenance costs.
Codeception
Full-stack testing framework for PHP. Run browsers tests, framework tests, APIs tests, unit tests with ease.
PhpSpec
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
65 developers follow Behat to keep up with related blogs and decisions.