Getting Started Install Google Test Mac OSX brew install googletest other git clone https://github.com/google/googletest.git cd googletest mkdir build cd build cmake .. make sudo make install Compile g++ -std=c++14 -pthread test.cpp -o test -lgtest -lgtest_main Run Tests ./test