mxcl/homebrew — pull request #16631 by brainy (2012-12-18 03:13:13+00:00)
Title: Google C++ Testing Framework, take 2

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.

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

* The Chromium projects (http://www.chromium.org/)
* The LLVM compiler (http://llvm.org/)
* Protocol Buffers (http://code.google.com/p/protobuf/)

This formula follows the example of Debian's 'apt-get install libgtest-dev'; it installs the GTest headers, sources and CMake build scripts but does not build precompiled libraries, as recommended in the FAQ (http://goo.gl/dErUq). The sources are available at /usr/local/opt/libgtest, and a properly configured CMake project can integrate the included scripts as an exernal project.