Suggest a tool

GoogleTest 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 GoogleTest

GoogleTest is a listed unit testing and test runners tool: C++ xUnit test framework bundled with GoogleMock, with death tests, parameterized tests and automatic test discovery.

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 GoogleTest's documentation states, with its source.

8 alternatives to GoogleTest

Repository metrics

GoogleTest 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
doctest6,86812026-07-061v2.5.32026-03-271MITC++slow

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

Comparisons with GoogleTest