您的位置:首页 > 编程语言 > C语言/C++

googletest - Google C++ Testing Framework - Google Project Hosting

2012-03-13 23:17 686 查看
googletest - Google C++ Testing Framework - Google Project Hosting

Google's framework for writing C++ tests on a variety of platforms (Linux, Mac OS X, Windows, Cygwin, Windows CE, and Symbian). Based on the xUnit architecture. Supports automatic test discovery, a rich set of assertions, user-defined assertions, death tests, fatal and non-fatal failures, value- and type-parameterized tests, various options for running the tests, and XML test report generation.

Getting Started

After downloading Google Test, unpack it, read the README file and the documentation wiki pages (listed on the right side of this front page).

Who are using Google Test?

In addition to many internal projects at Google, Google Test is also used by the following notable projects:

The Chromium projects (behind the Chrome browser and Chrome OS)
The LLVM compiler
Protocol Buffers (Google's data interchange format)
If you know of a project that's using Google Test and want it to be listed here, please let googletestframework@googlegroups.com know.

Google Test-related open source projects

Google Test UI is test runner that runs your test binary, allows you to track its progress via a progress bar, and displays a list of test failures. Clicking on one shows failure text. Google Test UI is written in C#.

GTest TAP Listener is an event listener for Google Test that implements the TAP protocol for test result output. If your test runner understands TAP, you may find it useful.

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: