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

Behat

95
60
+ 1
2
PhpSpec

106
25
+ 1
3
Add tool

Behat vs PhpSpec: What are the differences?

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

What is PhpSpec? A toolset for behavior driven development. 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.

Behat and PhpSpec can be categorized as "Testing Frameworks" tools.

Behat is an open source tool with 3.08K GitHub stars and 521 GitHub forks. Here's a link to Behat's open source repository on GitHub.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Behat
Pros of PhpSpec
  • 1
    BDD Acceptance Testing
  • 1
    Easy Ubiquitous language integration reusing code
  • 1
    BDD Unit Testing
  • 1
    Better for code optimisation (BDD over TDD)
  • 1
    Mocked dependant services by default

Sign up to add or upvote prosMake informed product decisions

Cons of Behat
Cons of PhpSpec
    Be the first to leave a con
    • 1
      Less support; devs are more used to PHP Unit

    Sign up to add or upvote consMake informed product decisions

    - No public GitHub repository available -

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

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

    Jobs that mention Behat and PhpSpec as a desired skillset
    CBRE
    United States of America Texas Houston
    CBRE
    United States of America Texas Richardson
    CBRE
    United States of America Texas Richardson
    CBRE
    Poland Mazowieckie Warsaw
    CBRE
    Poland Mazowieckie Warsaw
    What companies use Behat?
    What companies use PhpSpec?
    See which teams inside your own company are using Behat or PhpSpec.
    Sign up for StackShare EnterpriseLearn More

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

    What tools integrate with Behat?
    What tools integrate with PhpSpec?
    What are some alternatives to Behat and PhpSpec?
    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.
    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