TrendWhat rose on GitHub, every day at 07:30 KST · 한국어

GitHub · as of November 8, 2026 · View on GitHub →

google/googletest

C++ testing framework

+30 stars in 7 days

Run unit tests and create mocks in C++ projects without manual registration

Test code runs automatically without manual registration, allowing you to catch errors in complex logic early. GoogleTest is a tool for unit testing and creating mock objects in C++ projects, maintained by integrating the previously separate GoogleTest and GoogleMock projects. The latest version, 1.18.0, requires C++17 or higher, and documentation is provided on GitHub Pages.

Automatic discovery and various verification methods

GoogleTest is based on the xUnit architecture and automatically finds and runs tests. You can use various built-in assertions for equality, inequality, and exception occurrence, and define custom assertions specific to your project. It supports death tests to verify that a process terminates in a specific way, which is useful for validating error handling code.

Parameterized tests and execution control

It supports value-parameterized tests, which run a function multiple times with different input values, and type-parameterized tests, which run with different data types. This is suitable for efficiently testing functions that handle various input conditions or types. Execution options are also diverse, allowing you to select individual test execution, specific order execution, or parallel execution.

Supported platforms and key use cases

GoogleTest follows Google's basic C++ support policy, and the list of currently supported compilers, platforms, and build tools can be found in the official documentation. It is used in large-scale open-source projects such as the Chromium project, the LLVM compiler, Protocol Buffers, and OpenCV.

Ecosystem of surrounding tools

Several open-source tools exist that can be used with GoogleTest. GTest Runner is a Qt5-based automated test runner, and GoogleTest UI is a test progress tracking tool written in C#. gtest-parallel is a tool that speeds up tests by running them in parallel. The VS Code extensions GoogleTest Adapter and C++ TestMate allow you to view and debug tests in a tree view. There are also listeners implementing the TAP protocol and Cornichon, a Gherkin DSL parser.

Pre-adoption considerations

From version 1.18.x onwards, the C++17 standard is a mandatory requirement, so you must check your project's compiler settings. Additionally, a dependency on the Abseil library is planned for the future, so you should consider the impact of this dependency on your project. Official documentation is now provided on GitHub Pages, so it is recommended to refer to the web documentation rather than the documentation in the repository. Google's internal systems are used for CI, but external users must configure their own CI environment.

Written by AI from this repository's README on September 30, 2026. For the facts, the original on GitHub is the reference.

By the numbers

GitHub trending history
7 days between Jun 19, when Trend began recording, and Nov 8, 2026 · first on Aug 27 · best daily rank #12 (Aug 27)

Read from GitHub, as of November 8, 2026.

Language
C++
Stars
39,717
Stars gained in 7 days
+30
Contributors
508
Forks
10,939
Latest release
v1.18.0 · August 10, 2026
Commits
4,691
Last commit
November 6, 2026
Open issues
337
Open pull requests
222

View on GitHub → · Homepage

README badge

trend.ondo.sh · GitHub daily trending #12 · August 27, 2026

The badge above shows the highest this repository has ranked on GitHub's daily trending since June 19, 2026, and the day it did. Paste the Markdown below into your README. The badge opens this page, and it updates by itself when the repository climbs higher.

[![trend.ondo.sh](https://trend.ondo.sh/github/r/google--googletest/badge.en.svg)](https://trend.ondo.sh/github/r/google--googletest/en.html)