Google Test logo

Google Test

Google Testing and Mocking Framework (By Google)
17
31
+ 1
0

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 32.6K GitHub stars and 9.7K GitHub forks. Here’s a link to Google Test's open source repository on GitHub

Who uses Google Test?

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

Developers
13 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
JUnit is a simple framework to write repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks.
RSpec
Behaviour Driven Development for Ruby. Making TDD Productive and Fun.
PHPUnit
PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of the xUnit architecture for unit testing frameworks.
pytest
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.
Mockito
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.
See all alternatives

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