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

Codeception

82
72
+ 1
3
PHPUnit

587
211
+ 1
11
Add tool

Codeception vs PHPUnit: What are the differences?

What is Codeception? Elegant and Efficient Testing for PHP. Full-stack testing framework for PHP. Run browsers tests, framework tests, APIs tests, unit tests with ease.

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

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

PHPUnit is an open source tool with 14.3K GitHub stars and 1.75K 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 Codeception
Pros of PHPUnit
  • 3
    Easy to get up and running some simple tests
  • 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 Codeception
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

    - No public GitHub repository available -

    What is Codeception?

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

    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!

    Jobs that mention Codeception and PHPUnit as a desired skillset
    What companies use Codeception?
    What companies use PHPUnit?
    See which teams inside your own company are using Codeception 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 Codeception?
    What tools integrate with PHPUnit?

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

    What are some alternatives to Codeception and PHPUnit?
    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.
    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.
    CodeceptJS
    It is a modern end to end testing framework with a special BDD-style syntax. The test is written as a linear scenario of user's action on a site. Each test is described inside a Scenario function with I object passed into it.
    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.
    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.
    See all alternatives