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
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
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