Google Test logo

Google Test

Google Testing and Mocking Framework (By Google)
13
13
+ 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 24.3K GitHub stars and 8.1K 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
9 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.
Cucumber
Cucumber is a tool that supports Behaviour-Driven Development (BDD) - a software development process that aims to enhance software quality and reduce maintenance costs.
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.
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.
See all alternatives

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