Google Test Explained

Google Test
Developer:Google
Latest Release Version:1.14.0[1]
Operating System:Linux, Microsoft Windows, macOS
Programming Language:C++
Genre:Unit testing tool
License:BSD 3-clauses

Google Test, often referred as gtest, is a specialized library utilized to conduct unit testing in the C++ programming language. This library operates under the terms of the BSD 3-clause license.[2] Google Test is based on the xUnit architecture, a systematic methodology for assessing software components.[3]

Google Test can be compiled for a diverse range of computer systems, encompassing those employing POSIX, a set of standard operating system interfaces, as well as the Microsoft Windows platform. This adaptability facilitates the execution of unit tests on both C and C++ codebases, with minimal alterations required in the source code.

Projects using Google Test

Besides being developed and used at Google, many other projects implement Google Test as well:

Related tools

Google Test UI is a software tool for testing computer programs, and serves as a test runner. It employs a 'test binary', a compiled program responsible for executing tests and analyzing their results, to evaluate software functionality. It visually presents the testing progress through a progress bar and displays a list of identified issues or 'test failures'. The tool is primarily written in C#.[7] A Visual Studio extension, Google Test Adapter, complements its functionality within the Visual Studio environment.[8]

See also

Further reading

External links

Notes and References

  1. https://github.com/google/googletest/releases/tag/v1.14.0 Google Test v1.14.0 release notes
  2. https://github.com/google/googletest Google Test's repository
  3. https://web.archive.org/web/20160316134644/http://www.ibm.com/developerworks/aix/library/au-googletestingframework.html A quick introduction to the Google C++ Testing Framework
  4. https://source.android.com/compatibility/tests/development/native-func-e2e Android Native tests
  5. https://docs.ros.org/en/humble/Concepts/About-Build-System.html?highlight=gtest#the-ament-cmake-repository The ament_cmake Repository
  6. http://manual.gromacs.org/documentation/5.1/dev-manual/testutils.html#unit-testing-framework Gromacs Testing Framework
  7. https://github.com/ospector/gtest-gbar Google Test UI
  8. Web site: Soltenborn . Christian . 12 August 2022 . GoogleTestAdapter . GitHub.