A | B | C | D | E | F | G | H | CH | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
![]() | 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.12.1
/ June 30, 2022 |
Repository | github |
Written in | C++ |
Operating system | Linux, Microsoft Windows, macOS |
Type | Unit testing tool |
License | BSD 3-clauses |
Website | google![]() |
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:
- Android Open Source Project operating system[3]
- Chromium projects (behind the Chrome browser and Chrome OS)
- LLVM compiler
- Protocol Buffers (Google's data interchange format)
- OpenCV computer vision library
- Robot Operating System [4]
- Gromacs molecular dynamics simulation package[5]
Related tools
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
- ^ A quick introduction to the Google C++ Testing Framework, Arpan Sen, IBM DeveloperWorks, 2010-05-11, retrieved 2016-04-12
- ^ 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 - ^ Android Native tests
- ^ The ament_cmake Repository
- ^ Gromacs Testing Framework
- ^ Google Test UI retrieved 2016-04-12
- ^ 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.
External links
- Google Test
- Google Test Primer documentation
- Gtest C/C++ Conan package
- A quick introduction to the Google C++ Testing Framework, Arpan Sen, IBM DeveloperWorks, 2010-05-11
- The Google Test and Development Environment, Anthony Vallone, 2014-01-21
>Text je dostupný pod licencí Creative Commons Uveďte autora – Zachovejte licenci, případně za dalších podmínek. Podrobnosti naleznete na stránce Podmínky užití.
Text je dostupný za podmienok Creative
Commons Attribution/Share-Alike License 3.0 Unported; prípadne za ďalších
podmienok.
Podrobnejšie informácie nájdete na stránke Podmienky
použitia.