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
$300 in Free Credit Towards Top Cloud Services Icon
$300 in Free Credit Towards Top Cloud Services

Build VMs, containers, AI, databases, storage—all in one place.

Start your project in minutes. After credits run out, 20+ products include free monthly usage. Only pay when you're ready to scale.
Get Started
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