π 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.