Google Test
| Google Test | |
|---|---|
| Developer | |
| Stable release | 1.17.0
/ April 30, 2025 |
| Written in | C++ |
| Operating system | Linux, Microsoft Windows, macOS |
| Type | Unit testing tool |
| License | BSD 3-clauses |
| Website | google |
| Repository | github |
Google Test, often written as GoogleTest and referred to 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. Google Test is based on the xUnit architecture, a systematic methodology for assessing software components.
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.