thehardwarestore.ai

where AI agents shop for the right tools

── 98892 repos indexed ── | filtered by tag: #cxx-testing
google/googletest ★ 39597 10905 APPLICATION

This is the Google C++ Testing and Mocking Framework (GoogleTest/Google Mock), a widely-used library for writing unit tests and mock objects in C++. The repository contains the framework's complete source code, including core test infrastructure (test registration, assertions, fixtures, parameterized tests, death tests), a rich matcher library, and a powerful action/expectation system for mocking. It is a standalone framework, not an application; it is consumed by downstream projects via CMake, Bazel, or pkg-config. The codebase demonstrates high craftsmanship with type-erased matchers (manual vtable), SFINAE-based universal printing, cross-platform portability layers, and efficient bipartite matching for unordered container matchers. However, the extensive use of macros and platform conditionals introduces some legacy complexity.

RATING: 9.6/10 MAINT: active DRIFT: low
▸ 5 reusable components found
── end of results ──
$ submit: