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 15.9K GitHub stars and 6.3K 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 Medicus AI, Stack, and stan.

5 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.
Pros of Google Test
Be the first to leave a pro

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.
Cucumber is a tool that supports Behaviour-Driven Development (BDD) - a software development process that aims to enhance software quality and reduce maintenance costs.
Behaviour Driven Development for Ruby. Making TDD Productive and Fun.
PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of the xUnit architecture for unit testing frameworks.
Capybara helps you test web applications by simulating how a real user would interact with your app. It is agnostic about the driver running your tests and comes with Rack::Test and Selenium support built in. WebKit is supported through an external gem.
See all alternatives
Related Comparisons
No related comparisons found

Google Test's Followers
2 developers follow Google Test to keep up with related blogs and decisions.
Kobi Valero
Adam Getchell