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

JBehave

6
8
+ 1
0
PHPUnit

614
220
+ 1
11
Add tool

JBehave vs PHPUnit: What are the differences?

What is JBehave? A framework for Behaviour-Driven Development (BDD). It is a Java-based framework supporting Behaviour-Driven Development (BDD), an evolution of Test-Driven Development (TDD) and Acceptance-Test Driven Developement (ATDD).

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

JBehave and PHPUnit belong to "Testing Frameworks" category of the tech stack.

PHPUnit is an open source tool with 16.6K GitHub stars and 1.92K GitHub forks. Here's a link to PHPUnit's open source repository on GitHub.

Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of JBehave
Pros of PHPUnit
    Be the first to leave a pro
    • 3
      TDD Unit Testing
    • 2
      TDD Acceptance Testing
    • 2
      TDD Integration Testing
    • 1
      The de facto standard for xUnit testing in PHP
    • 1
      TDD Unit Testing
    • 1
      Unit Testing
    • 1
      Software Quality

    Sign up to add or upvote prosMake informed product decisions

    Cons of JBehave
    Cons of PHPUnit
      Be the first to leave a con
      • 1
        Mocked services require more effort and understanding

      Sign up to add or upvote consMake informed product decisions

      What is JBehave?

      It is a Java-based framework supporting Behaviour-Driven Development (BDD), an evolution of Test-Driven Development (TDD) and Acceptance-Test Driven Developement (ATDD).

      What is PHPUnit?

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

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

      What companies use JBehave?
      What companies use PHPUnit?
      See which teams inside your own company are using JBehave or PHPUnit.
      Sign up for Private StackShareLearn More

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

      What tools integrate with JBehave?
      What tools integrate with PHPUnit?

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

      What are some alternatives to JBehave and PHPUnit?
      JUnit
      JUnit is a simple framework to write repeatable tests. 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.
      Mockito
      It is a mocking framework that tastes really good. It lets you write beautiful tests with a clean & simple API. It doesn’t give you hangover because the tests are very readable and they produce clean verification errors.
      RSpec
      Behaviour Driven Development for Ruby. Making TDD Productive and Fun.
      pytest
      A framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries. It is a mature full-featured Python testing tool.
      See all alternatives