Back to the chart

google/googletest

Google's C++ testing and mocking framework

Chart
Not on a chart right now
Stars
39.8k

Open on GitHubHomepage

What it is

GoogleTest is Google's C++ testing framework that merges GoogleTest and GoogleMock into a single repository. Based on the xUnit architecture, it provides automatic test discovery and a rich set of assertions.

Who it is for

It is suited for C++ developers who need unit testing and mocking in C++17 or newer environments.

Why it is trending

With 39,747 total stars and 40 gained today, it remains a widely adopted testing framework used by projects like Chromium, LLVM, and OpenCV. Its latest v1.18.0 release updates the minimum requirement to C++17.

Main features

  • Automatic test discovery and execution without manual registration
  • User-defined assertions and death tests for error-handling verification
  • Value-parameterized and type-parameterized tests
  • Flexible test execution options including ordering and parallel runs

Summarized on November 17, 2026 from the README and repository data. It can be wrong; check the source before relying on it. Report a wrong summary