📅 2016-Feb-05 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ cpp, google test ⬩ 📚 Archive
Google Test can be used to write unit tests for C++ programs. Some of the useful command-line options and flags available to such a program are:
--gtest_list_tests
: Lists the names of all the tests available.
--gtest_filter=pattern
: Run only the tests whose names match the regex pattern
. For example: `--gtest_filter="ConvolutionLayerTest.*"
--gtest_shuffle
: Run unit tests in random order.