Wednesday, July 13, 2016

Installing Google Test

Google test is a framework for unit testing in c++.
For more information watch this video

$ git clone
$ cd googletest
$ make
$ sudo cp -a include/gtest /usr/include
$ sudo cp -a /usr/lib/
$ sudo ldconfig -v

And now compile any program that uses Google test with '-lgtest' flag.


No comments:

Post a Comment