Suggest a tool

PHPUnit alternatives: 8 open-source unit testing and test runners tools

Metrics as of , from the GitHub or GitLab API of each repository. Refreshed monthly.

About PHPUnit

PHPUnit is a listed unit testing and test runners tool: xUnit-style testing framework for PHP, distributed as a PHAR archive or through Composer.

Order: Listed tools in the same category, with tools in the same primary language (GitHub API) first, then by GitHub stars. Each line gives one fact from the tool's own documentation where it differs from what PHPUnit's documentation states, with its source.

8 alternatives to PHPUnit

Repository metrics

PHPUnit and its alternatives. Sorted by GitHub stars, descending, descending. Select a column heading to change the sort.
Jest45,46312026-09-181v30.5.22026-09-181MITTypeScriptactive
GoogleTest39,57212026-08-101v1.18.02026-09-171BSD-3-ClauseC++active
Testify26,21112026-08-191v1.12.12026-09-021MITGoactive
Mocha22,89712026-09-171v12.0.22026-09-191MITJavaScriptactive
Catch221,48912026-08-251v3.16.02026-09-141BSL-1.0C++active
AVA20,82812026-05-171v8.0.12026-05-171MITJavaScriptslow
PHPUnit20,05212026-09-15113.3.42026-09-221BSD-3-ClausePHPactive
Vitest17,14312026-09-151v5.0.12026-09-181MITTypeScriptactive
Pest11,72312026-09-171v5.2.12026-09-181MITPHPactive

1 Fetched from the GitHub or GitLab API on . Hover a value for its own date.