Google Test logo

Google Test

Google Testing and Mocking Framework (By Google)
+ 1

What is Google Test?

It is a unit testing library for the C++ programming language, based on the xUnit architecture. The library is released under the BSD 3-clause license. It can be compiled for a variety of POSIX and Windows platforms, allowing unit-testing of C sources as well as C++ with minimal source modification.
Google Test is a tool in the Testing Frameworks category of a tech stack.
Google Test is an open source tool with 28.9K GitHub stars and 9.1K GitHub forks. Here’s a link to Google Test's open source repository on GitHub

Who uses Google Test?

4 companies reportedly use Google Test in their tech stacks, including everything, Medicus AI, and stan.

12 developers on StackShare have stated that they use Google Test.

Google Test Integrations

C++, Linux, Windows, Mac OS X, and PlatformIO are some of the popular tools that integrate with Google Test. Here's a list of all 6 tools that integrate with Google Test.

Google Test's Features

  • An xUnit test framework
  • Test discovery
  • A rich set of assertions
  • User-defined assertions
  • Death tests
  • Fatal and non-fatal failures
  • Value-parameterized tests
  • Type-parameterized tests
  • Various options for running the tests
  • XML test report generation

Google Test Alternatives & Comparisons

What are some alternatives to Google Test?
JUnit is a simple framework to write repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks.
It is a free, open source, community-focused unit testing tool for the .NET Framework. It is the latest technology for unit testing C#, F#, VB.NET and other .NET languages. It works with ReSharper, CodeRush, TestDriven.NET and Xamarin.
It is a mocking library for .NET developed from scratch to take full advantage of .NET Linq expression trees and lambda expressions, which makes it the most productive, type-safe and refactoring-friendly mocking library available. And it supports mocking interfaces as well as classes.
It is a mocking framework that tastes really good. It lets you write beautiful tests with a clean & simple API. It doesn’t give you hangover because the tests are very readable and they produce clean verification errors.
A framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries. It is a mature full-featured Python testing tool.
See all alternatives

Google Test's Followers
25 developers follow Google Test to keep up with related blogs and decisions.