426
170
+ 1
4

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.1K GitHub stars and 2K GitHub forks. Here’s a link to PHPUnit's open source repository on GitHub

Who uses PHPUnit?

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

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

PHPUnit Integrations

phpMyAdmin, SilverStripe, Blackfire.io, Swoole, and PHPStan are some of the popular tools that integrate with PHPUnit. Here's a list of all 6 tools that integrate with PHPUnit.
Pros of PHPUnit
1
TDD Acceptance Testing
1
TDD Integration Testing
1
TDD Unit Testing
1
The de facto standard for xUnit testing in PHP

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
170 developers follow PHPUnit to keep up with related blogs and decisions.