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 19.8K GitHub stars and 2.2K GitHub forks. Here’s a link to PHPUnit's open source repository on GitHub
Who uses PHPUnit?
Companies
182 companies reportedly use PHPUnit in their tech stacks, including E-Commerce, Yousign, and TransferGo.
Developers
485 developers on StackShare have stated that they use PHPUnit.
PHPUnit Integrations
LambdaTest, phpMyAdmin, PHPStan, SilverStripe, and Swoole are some of the popular tools that integrate with PHPUnit. Here's a list of all 8 tools that integrate with PHPUnit.
Pros of PHPUnit
5
2
2
2
1
1
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.
Karim Laaribi
What is the best solution (PHPUnit or Behat) for test automation (unit and functional tests)?
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.