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
Auth for GenAI | Auth0 Icon
Auth for GenAI | Auth0

Enable AI agents to securely access tools, workflows, and data with fine-grained control and just a few lines of code.

Easily implement secure login experiences for AI Agents - from interactive chatbots to background workers with Auth0. Auth for GenAI is now available in Developer Preview
Try free now
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, MinGW/MSYS2, Symbian OS, Linux, Windows Mobile, Mac, Windows

Programming Language

C++

Related Categories

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

Registered

2020-11-12