Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 376 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 376 Bytes

gtest

This repo just show the basic usage of gtest in your project.

How to build

cd gtest && make build
cd build
cmake ..
make

How to run

run the samples

cd build/samples
./hello_test

list all of the test cases in this hello_test.

cd build/samples
./hello_test --gtest_list_tests

# Show more usage.
./hello_test --help