googletest
by
google

Description: GoogleTest - Google Testing and Mocking Framework

View on GitHub ↗

Summary Information

Updated 15 minutes ago
Added to GitGenius on January 9th, 2026
Created on July 28th, 2015
Open Issues & Pull Requests: 561 (+0)
Number of forks: 10,825
Total Stargazers: 38,790 (+3)
Total Subscribers: 1,248 (+0)

Issue Activity (beta)

Open issues: 300
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 1,124 days
Stale 30+ days: 290
Stale 90+ days: 275

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 1
Events in 7 days: 1

Top labels

  • bug (136)
  • enhancement (126)
  • More Information Requested (18)
  • help wanted (16)
  • question (6)
  • Response Requested (5)
  • priority: p2 (4)
  • good first issue (3)

Repository Insights (GitGenius)

Median issue/PR response: 15.5 days
Mean response time: 689.5 days
90th percentile: 2269.1 days
Tracked items: 293

Most active contributors

Detailed Description

GoogleTest is Google's C++ testing and mocking framework, maintained as a unified repository that merged the formerly separate GoogleTest and GoogleMock projects. The framework is built on the xUnit testing architecture and provides comprehensive support for unit testing in C++. As of Release 1.17.0, the project requires at least C++17 compliance. The repository is actively maintained with documentation hosted on GitHub Pages, and the project has announced plans to take a dependency on Abseil in the future.

The framework offers a rich set of core testing capabilities designed to accommodate various testing scenarios. It includes automatic test discovery and execution, eliminating the need for manual test registration. GoogleTest provides an extensive collection of built-in assertions covering equality, inequality, exception handling, and other common test conditions. Beyond standard assertions, the framework allows developers to define custom assertions tailored to their specific code requirements. The framework supports death tests, which verify that code exits in expected ways, making it particularly useful for testing error-handling paths. Tests can be configured to treat failures as either fatal or non-fatal, allowing test execution to continue despite failures when appropriate.

The framework includes advanced parameterization features for comprehensive test coverage. Value-parameterized tests enable running the same test logic multiple times with different input values, while type-parameterized tests support running tests across different data types. This capability is particularly valuable for testing generic functions and template code. GoogleTest also provides various options for test execution, including running individual tests, controlling test execution order, and running tests in parallel for improved performance.

According to GitGenius activity tracking, the repository shows median issue and pull request response latency of 370.8 hours across 293 tracked items, with enhancement requests being the most common issue type at 78 tracked items, followed by bug reports at 24 items. The most active contributor tracked is derekmauro with 27 events, followed by brandl-muc with 14 events and XAMeLeOH with 13 events. The repository shares overlapping contributors with major projects including Microsoft's VSCode, the Rust programming language, and Microsoft's TypeScript, indicating its significance within the broader C++ development ecosystem.

GoogleTest has achieved widespread adoption across notable projects including the Chromium browser and Chrome OS, the LLVM compiler infrastructure, Google's Protocol Buffers data interchange format, and the OpenCV computer vision library. The framework's ecosystem includes several complementary tools and extensions, such as GTest Runner for Qt5-based test execution, GoogleTest UI for progress tracking and failure visualization, and various VS Code extensions like GoogleTest Adapter and C++ TestMate that provide tree-view interfaces for test management and debugging. The project welcomes community contributions and maintains detailed contribution guidelines in its CONTRIBUTING.md file.

googletest
by
googlegoogle/googletest

Repository Details

Fetching additional details & charts...