GoogleTest is Google's C++ mocking and test framework. It's used by many internal projects at Google, as well as a number of notable projects such as The Chromium projects, the OpenCV computer vision library, and the LLVM compiler.

This GoogleTest project is actually a union of what used to be two separate projects: the old GoogleTest and GoogleMock, an extension of GoogleTest for writing and using C++ mock classes. Since they were so closely related, they were merged to create an even better GoogleTest.

GoogleTest features an xUnit test framework, a rich set of assertions, user-defined assertions, death tests, among many others. It's been used on a variety of platforms, including Cygwin, Symbian, MinGW and PlatformIO.

Features

  • xUnit test framework
  • Test discovery
  • Wide range of assertions
  • User-defined assertions
  • Death tests
  • Fatal and non-fatal failures
  • Value- and type-parameterized tests
  • Numerous options for running the tests
  • XML test report generation

Project Samples

Project Activity

See All Activity >

License

BSD License

Follow GoogleTest

GoogleTest Web Site

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of GoogleTest!

Additional Project Details

Operating Systems

Cygwin, Linux, Mac, MinGW/MSYS2, Symbian OS, Windows, Windows Mobile

Programming Language

C++

Related Categories

C++ Software Testing Tool, C++ Test Frameworks, C++ Computer Vision Libraries

Registered

2020-11-12