googletest
« Back to VersTracker
Description:
Google Testing and Mocking Framework
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  @google  |  formulae.brew.sh
Category: Developer tools
Tags: testing c++ unit-tests mocking framework development
Install: brew install googletest
About:
Googletest is Google's C++ testing framework for writing unit tests and mock objects. It provides a rich set of assertions and test discovery mechanisms to verify code correctness. The framework helps developers catch bugs early and maintain high-quality codebases through repeatable automated testing.
Key Features:
  • Rich assertion library (EXPECT/ASSERT macros)
  • Automatic test discovery and registration
  • Test isolation and death test handling
  • Mocking framework integration (GoogleMock)
  • Cross-platform support
Use Cases:
  • Unit testing C++ applications and libraries
  • Integration testing with mock objects
  • Test-driven development workflows
  • Continuous integration testing pipelines
Alternatives:
  • Catch2 – Header-only, lighter syntax, but less enterprise adoption
  • Boost.Test – Part of Boost ecosystem, more feature-rich but heavier dependency
  • doctest – Lightweight and fast, but smaller community and fewer features
Version History
Detected Version Rev Change Commit
Sep 10, 2025 9:57am 0 VERSION_BUMP 7a5578e5
Oct 27, 2024 3:46pm 0 VERSION_BUMP a18c7f13