This article has multiple issues. Please help
improve it or discuss these issues on the
talk page. (
Learn how and when to remove these template messages)
|
Developer(s) | |
---|---|
Stable release | 1.14.0
[1]
/ August 2, 2023 |
Repository |
github |
Written in | C++ |
Operating system | Linux, Microsoft Windows, macOS |
Type | Unit testing tool |
License | BSD 3-clauses |
Website |
google |
Google Test, often referred to as gtest, is a specialized library utilized for the purpose of conducting unit testing within the context of the C++ programming language. This library operates under the terms of the BSD 3-clause license, [2] which dictates the terms of its usage and distribution. Google Test is structured 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 original source code[ citation needed].
Besides being developed and used at Google, many other projects implement Google Test as well:
Google Test UI is a software tool for testing computer programs, and serves as a test runner, employing a 'test binary' 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] In the domain of software testing, a "test binary" is a compiled program responsible for executing tests and analyzing their results.