Extensions for PHPUnit

Extensions for Writing Tests

phpunit-xpath-assertions

Allows you to write tests that use assertions based on XPath expressions.

phpunit-mink

Allows you to write tests with help of Mink.

phpunit-selenium

Allows you to write tests with help of Selenium.

Extensions for Executing and Analysing Tests

phpunit-clever-and-smart

Reorders your tests so that tests that failed in a previous run are executed first.

phpunit-randomizer

Allows you to execute your tests in a random order.

paratest

Can execute tests in parallel.

phpunit-speedtrap

Reports slow-running tests right in your console.

phpunit-overassertive

Reports tests that have "too many" assertions.

XSLT for PHPUnit

XLST template fileset which provides an easy way to view the PHPUnit XML (JUnit) logfiles in a human readable manner using a web browser (screenshot).

Miscellaneous

php-cs-fixer

A tool to automatically fix issues in PHP code. Can, among many other things, migrate test code from PHPUnit 5 to PHPUnit 6.