Alternatives to Behat logo

Alternatives to Behat

Selenium, PHPUnit, Cucumber, Codeception, and PhpSpec are the most popular alternatives and competitors to Behat.
92
41
+ 1
2

What is Behat and what are its top alternatives?

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.5K GitHub stars and 558 GitHub forks. Here鈥檚 a link to Behat's open source repository on GitHub

Top Alternatives to Behat

  • Selenium

    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

    PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of the xUnit architecture for unit testing frameworks. ...

  • Cucumber

    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

    Codeception

    Full-stack testing framework for PHP. Run browsers tests, framework tests, APIs tests, unit tests with ease. ...

  • PhpSpec

    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

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

  • JUnit

    JUnit

    JUnit is a simple framework to write repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks. ...

  • Mockito

    Mockito

    It is a mocking framework that tastes really good. It lets you write beautiful tests with a clean & simple API. It doesn鈥檛 give you hangover because the tests are very readable and they produce clean verification errors. ...

Behat alternatives & related posts

related Selenium posts

Kamil Kowalski
Engineering Manager at Fresha | 27 upvotes 路 718.7K views

When you think about test automation, it鈥檚 crucial to make it everyone鈥檚 responsibility (not just QA Engineers'). We started with Selenium and Java, but with our platform revolving around Ruby, Elixir and JavaScript, QA Engineers were left alone to automate tests. Cypress was the answer, as we could switch to JS and simply involve more people from day one. There's a downside too, as it meant testing on Chrome only, but that was "good enough" for us + if really needed we can always cover some specific cases in a different way.

See more
Benjamin Poon
QA Manager - Engineering at HBC Digital | 8 upvotes 路 584K views

For our digital QA organization to support a complex hybrid monolith/microservice architecture, our team took on the lofty goal of building out a commonized UI test automation framework. One of the primary requisites included a technical minimalist threshold such that an engineer or analyst with fundamental knowledge of JavaScript could automate their tests with greater ease. Just to list a few: - Nightwatchjs - Selenium - Cucumber - GitHub - Go.CD - Docker - ExpressJS - React - PostgreSQL

With this structure, we're able to combine the automation efforts of each team member into a centralized repository while also providing new relevant metrics to business owners.

See more

related PHPUnit posts

Cucumber logo

Cucumber

607
530
18
Simple, human collaboration.
607
530
+ 1
18
CONS OF CUCUMBER
    No cons available

    related Cucumber posts

    Benjamin Poon
    QA Manager - Engineering at HBC Digital | 8 upvotes 路 584K views

    For our digital QA organization to support a complex hybrid monolith/microservice architecture, our team took on the lofty goal of building out a commonized UI test automation framework. One of the primary requisites included a technical minimalist threshold such that an engineer or analyst with fundamental knowledge of JavaScript could automate their tests with greater ease. Just to list a few: - Nightwatchjs - Selenium - Cucumber - GitHub - Go.CD - Docker - ExpressJS - React - PostgreSQL

    With this structure, we're able to combine the automation efforts of each team member into a centralized repository while also providing new relevant metrics to business owners.

    See more
    Sarah Elson
    Product Growth at LambdaTest | 4 upvotes 路 234.5K views

    @producthunt LambdaTest Selenium JavaScript Java Python PHP Cucumber TeamCity CircleCI With this new release of LambdaTest automation, you can run tests across an Online Selenium Grid of 2000+ browsers and OS combinations to perform cross browser testing. This saves you from the pain of maintaining the infrastructure and also saves you the licensing costs for browsers and operating systems. #testing #Seleniumgrid #Selenium #testautomation #automation #webdriver #producthunt hunted

    See more
    Codeception logo

    Codeception

    55
    51
    3
    Elegant and Efficient Testing for PHP
    55
    51
    + 1
    3
    CONS OF CODECEPTION
      No cons available

      related Codeception posts

      PhpSpec logo

      PhpSpec

      36
      17
      3
      A toolset for behavior driven development
      36
      17
      + 1
      3

      related PhpSpec posts

      related Cypress posts

      Kamil Kowalski
      Engineering Manager at Fresha | 27 upvotes 路 718.7K views

      When you think about test automation, it鈥檚 crucial to make it everyone鈥檚 responsibility (not just QA Engineers'). We started with Selenium and Java, but with our platform revolving around Ruby, Elixir and JavaScript, QA Engineers were left alone to automate tests. Cypress was the answer, as we could switch to JS and simply involve more people from day one. There's a downside too, as it meant testing on Chrome only, but that was "good enough" for us + if really needed we can always cover some specific cases in a different way.

      See more
      Robert Zuber

      We are in the process of adopting Next.js as our React framework and using Storybook to help build our React components in isolation. This new part of our frontend is written in TypeScript, and we use Emotion for CSS/styling. For delivering data, we use GraphQL and Apollo. Jest, Percy, and Cypress are used for testing.

      See more
      JUnit logo

      JUnit

      1K
      366
      0
      A programmer-oriented testing framework for Java
      1K
      366
      + 1
      0
      PROS OF JUNIT
        No pros available
        CONS OF JUNIT
          No cons available

          related JUnit posts

          Joshua Dean K眉pper
          CEO at Scrayos UG (haftungsbeschr盲nkt) | 1 upvote 路 95K views

          We use JUnit for our Java Unit and Integration tests in Version 5. Combined with @JMockit2 and @truth (from Google) we perform all kinds of tests on our minecraft, standalone and microservice architecture.

          We prefer JUnit over TestNG because of the bigger community, better support and the generally more agile development. JUnit integrates nicely with most software, while TestNG support is a little more limited.

          See more
          Whitney Carmichael
          Head of Marketing and Sales at ReTest | 1 upvote 路 62.3K views

          Automated tests are hard to create, often fragile and incomplete, we at retest decided to support a different testing paradigm.

          Therefore, we created recheck - an open source API / CLI. The testing module recheck uses Golden Master, where each webpage can be checked thus defining individual specifications is unnecessary. Test automation is made more robust and the number of false positives are reduced. This means if a test fails with recheck, it was meant to fail.

          Review - our efficient and intuitive GUI application accepts or ignores changes easily and seamlessly. It also allows users to reduce their workload and learning curve with a patented 1-click mechanism. And since review is not a SaaS tool this removes the detested test maintenance.

          Our API/CLI will be an open source software testing tool. While our GUI is a paid fully functioning offline license.

          JUnit Selenium Java GitHub JIRA

          See more
          Mockito logo

          Mockito

          456
          88
          0
          Tasty mocking framework for unit tests in Java
          456
          88
          + 1
          0
          PROS OF MOCKITO
            No pros available
            CONS OF MOCKITO
              No cons available

              related Mockito posts