Jump to content

Google Test

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by FAR-GRP (talk | contribs) at 14:59, 12 January 2023. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Google Test
Developer(s)Google
Stable release
1.12.1 / June 30, 2022; 2 years ago (2022-06-30)
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 (also known as Gtest) is a unit testing library for the C++ programming language, based on the XUnit architecture.[1] The library is released under the BSD 3-clause license.[2] 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.[vague]

Projects using Google Test

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

Google Test UI is a test runner that runs test binary, allows to track progress via a progress bar, and displays a list of test failures. Google Test UI is written in C#.[6] Additionally, a feature-complete Visual Studio extension exists with Google Test Adapter.[7]

See also

References

  1. ^ A quick introduction to the Google C++ Testing Framework, Arpan Sen, IBM DeveloperWorks, 2010-05-11, retrieved 2016-04-12
  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. ^ Android Native tests
  4. ^ The ament_cmake Repository
  5. ^ Gromacs Testing Framework
  6. ^ Google Test UI retrieved 2016-04-12
  7. ^ Soltenborn, Christian (12 August 2022). "GoogleTestAdapter". GitHub.{{cite web}}: CS1 maint: url-status (link)

Further reading

  • Whittaker, James (2012). How Google Tests Software. Boston, Massachusetts: Pearson Education. ISBN 978-0-321-80302-3.