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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
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