The Google C++ unit test library.
System | Package |
---|---|
BSD Ports | devel/googletest |
Debian/Ubuntu | libgtest-dev |
Fedora | gtest-devel |
Homebrew | N/A* |
RedHat/CentOS | gtest-devel |
If using a local build of gtest, make sure that GTEST_ROOT is set in the environment, or that -DGTEST_ROOT=/path/to/gtest is passed to cmake and that this points to the location where the gtest library was installed. If the library is located on the default library search path, this is not necessary.