566
204
+ 1
10

What is PHPUnit?

PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of the xUnit architecture for unit testing frameworks.
PHPUnit is a tool in the Testing Frameworks category of a tech stack.
PHPUnit is an open source tool with 17.9K GitHub stars and 2K GitHub forks. Here’s a link to PHPUnit's open source repository on GitHub

Who uses PHPUnit?

Companies
132 companies reportedly use PHPUnit in their tech stacks, including Stack, E-Commerce, and Yousign.

Developers
235 developers on StackShare have stated that they use PHPUnit.

PHPUnit Integrations

LambdaTest, phpMyAdmin, SilverStripe, Swoole, and PHPStan are some of the popular tools that integrate with PHPUnit. Here's a list of all 7 tools that integrate with PHPUnit.
Pros of PHPUnit
3
TDD Unit Testing
2
TDD Acceptance Testing
1
Software Quality
1
TDD Unit Testing
1
The de facto standard for xUnit testing in PHP
1
Unit Testing
1
TDD Integration Testing
0
1
Decisions about PHPUnit

Here are some stack decisions, common use cases and reviews by companies and developers who chose PHPUnit in their tech stack.

Shared insights
on
Behat
PHPUnit

What is the best solution (PHPUnit or Behat) for test automation (unit and functional tests)?

See more

PHPUnit Alternatives & Comparisons

What are some alternatives to PHPUnit?
Codeception
Full-stack testing framework for PHP. Run browsers tests, framework tests, APIs tests, unit tests with ease.
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.
Kahlan
It is a full-featured Unit & BDD test framework a la RSpec/JSpec which uses a describe-it syntax and moves testing in PHP one step forward.
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.
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.
See all alternatives

PHPUnit's Followers
204 developers follow PHPUnit to keep up with related blogs and decisions.