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

Who uses 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

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