2.1K
283
+ 1
14

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

Who uses PHPUnit?

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

Developers
441 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
TDD Unit Testing
2
TDD Integration Testing
2
Software Quality
2
TDD Acceptance Testing
1
TDD Unit Testing
1
Unit Testing
1
The de facto standard for xUnit testing in PHP
Decisions about PHPUnit

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

Needs advice
on
BehatBehat
and
PHPUnitPHPUnit

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