🍺 BREW Explorer

← all formulae

googletest

brew install googletest v1.17.0 BSD-3-Clause

C++ testing framework with mocking support for unit and integration tests.

Why you might care

GoogleTest (gtest) is the industry standard for C++ test suites, offering rich assertions, test fixtures, and integrated mocking via Google Mock. Use it if you're writing C++ libraries or applications and need comprehensive, fast unit tests; it's a build dependency for many large C++ projects.

Categories

Alternatives

Catch2 Boost.Test CppUnit doctest
3.8k
30-day installs · #718
11.8k
90-day · #743
51.0k
365-day · #675

Build dependencies

Links

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "Catch2",
    "Boost.Test",
    "CppUnit",
    "doctest"
  ],
  "build_dependencies": [
    "cmake"
  ],
  "categories": [
    "library",
    "header-only-library",
    "testing"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Google Testing and Mocking Framework",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:38:19+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "googletest",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "https://google.github.io/googletest/",
  "homepage_og_description": "GoogleTest - Google Testing and Mocking Framework",
  "homepage_og_image": null,
  "homepage_title": "GoogleTest User\u2019s Guide | GoogleTest",
  "installs_30d": 3773,
  "installs_365d": 51017,
  "installs_90d": 11824,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "BSD-3-Clause",
  "llm_generated_at": "2026-06-20T23:46:36+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "googletest",
  "oldnames": [],
  "one_liner": "C++ testing framework with mocking support for unit and integration tests.",
  "optional_dependencies": [],
  "rank_30d": 718,
  "rank_365d": 675,
  "rank_90d": 743,
  "raw_hash": "b95f1712d70e6c6a",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/g/googletest.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "1.17.0",
  "versioned_formulae": [],
  "why_use_this": "GoogleTest (gtest) is the industry standard for C++ test suites, offering rich assertions, test fixtures, and integrated mocking via Google Mock. Use it if you\u0027re writing C++ libraries or applications and need comprehensive, fast unit tests; it\u0027s a build dependency for many large C++ projects."
}