Suggest a tool

GoogleTest

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

What GoogleTest is

GoogleTest is Google's C++ test framework, based on the xUnit architecture. The repository merges the formerly separate GoogleTest and GoogleMock projects. It discovers and runs tests automatically without manual registration. Assertions cover equality, inequality and exceptions. Custom assertions can also be defined. Death tests verify that code exits in an expected way. Failures can be marked fatal or non-fatal. Value-parameterized and type-parameterized tests repeat a test across different inputs or data types. Runner options include selecting individual tests, setting their order and running them in parallel. The 1.18.x branch requires C++17 or later.

Written from the project's README, read .

Category
Unit testing and test runners
License
BSD-3-Clause
Language
C++
Changelog
Releases on GitHub

Repository metrics

Repository metrics
Stars39,5721
Forks10,8971
Open issues and PRs5091
Contributors5071
Commits in the last 90 days941
Last commit2026-09-171
Last releasev1.18.0, 2026-08-101
Fetched

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

Status

activeLast commit within 90 days of the fetch date.

Computed from the last commit date and the archive flag on the fetch date. See the status rules.

Alternatives

Listed unit testing and test runners tools, same primary language first, then by GitHub stars. Each line gives one fact from the tool's documentation where it differs from GoogleTest's, with its source. See also GoogleTest alternatives.

Comparisons

Questions

Is GoogleTest open source?

Yes. GoogleTest is released under BSD-3-Clause, an OSI-approved license, as reported by the GitHub API on 2026-09-22.

Is GoogleTest maintained?

On 2026-09-22, the last commit to the default branch was on 2026-09-17, so the listed status is active. Rule: Last commit within 90 days of the fetch date.

How many GitHub stars does GoogleTest have?

39,572 stars on 2026-09-22, from the GitHub API. The number is refreshed at each monthly update.

What language is GoogleTest written in?

The repository's primary language, as reported by the GitHub API, is C++.

Sources

  1. GitHub REST API: repository, read
  2. GitHub REST API: commits, read
  3. GitHub REST API: latest release, read
  4. GitHub REST API: contributors, read
  5. README, read