Google Test

Google Test
Developer(s)Google
Stable release
1.14.0[1] / August 2, 2023; 13 months ago (2023-08-02)
Repositorygithub.com/google/googletest/
Written inC++
Operating systemLinux, Microsoft Windows, macOS
TypeUnit testing tool
LicenseBSD 3-clauses
Websitegoogle.github.io/googletest/ Edit this on Wikidata

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[citation needed].

  1. ^ Google Test v1.14.0 release notes, retrieved 2023-11-29
  2. ^ Google Test's repository, retrieved 2016-04-12, cites New BSD as license. The license file is at github.com/google/googletest/blob/master/googletest/LICENSE
  3. ^ A quick introduction to the Google C++ Testing Framework, Arpan Sen, IBM DeveloperWorks, 2010-05-11, retrieved 2016-04-12