Need advice about which tool to choose?Ask the StackShare community!

Behat

85
54
+ 1
2
Cucumber

715
685
+ 1
25
Add tool

Behat vs Cucumber: What are the differences?

Behat: A BDD framework for testing your business expectations. 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; Cucumber: Simple, human collaboration. Cucumber is a tool that supports Behaviour-Driven Development (BDD) - a software development process that aims to enhance software quality and reduce maintenance costs.

Behat and Cucumber belong to "Testing Frameworks" category of the tech stack.

Behat and Cucumber are both open source tools. It seems that Behat with 3.05K GitHub stars and 519 forks on GitHub has more adoption than Cucumber with 2.54K GitHub stars and 501 GitHub forks.

OpenGov, Viadeo, and Ubiqua are some of the popular companies that use Cucumber, whereas Behat is used by Clippings, letgo, and SPOTTT. Cucumber has a broader approval, being mentioned in 58 company stacks & 39 developers stacks; compared to Behat, which is listed in 13 company stacks and 7 developer stacks.

Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of Behat
Pros of Cucumber
  • 1
    BDD Acceptance Testing
  • 1
    Easy Ubiquitous language integration reusing code
  • 18
    Simple Syntax
  • 3
    Simple usage
  • 2
    Nice report
  • 2
    Huge community

Sign up to add or upvote prosMake informed product decisions

Sign up to add or upvote consMake informed product decisions

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.

What is 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.

Need advice about which tool to choose?Ask the StackShare community!

Jobs that mention Behat and Cucumber as a desired skillset
What companies use Behat?
What companies use Cucumber?
See which teams inside your own company are using Behat or Cucumber.
Sign up for Private StackShareLearn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Behat?
What tools integrate with Cucumber?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to Behat and Cucumber?
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.
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.
Cypress
Cypress is a front end automated testing application created for the modern web. Cypress is built on a new architecture and runs in the same run-loop as the application being tested. As a result Cypress provides better, faster, and more reliable testing for anything that runs in a browser. Cypress works on any front-end framework or website.
See all alternatives