$ ./example_tests.out -help
Usage: ./example_tests.out -command -options
-command choices:
-help Show this screen.
-show Show tests, on stdout.
-showtags Show the [tag]'s of tests, on stdout.
-run Run tests.
-doxygen Generate test summary for doxygen.
(Note: this -command argument must come first)
-options (for collecting tests):
-all Add all (non-hidden) tests.
-add=test Add a single test by name.
-add=prefix* Add multiple tests by leading prefix of their name.
-add=*suffix Add multiple tests by trailing suffix of their name.
-add=*infix* Add multiple tests by interior infix of their name.
-add=[tag] Add all tests with given [tag].
-add=[tag1][tag2].. Add all tests with ([tag1] and [tag2] and ..)
-add=[.] Add all hidden tests.
-omit=test Omit a single test by name.
-omit=prefix* Omit multiple tests by leading prefix of their name.
-omit=*suffix Omit multiple tests by trailing suffix of their name.
-omit=*infix* Omit multiple tests by interior infix of their name.
-omit=[tag] Omit all tests with given [tag].
-omit=[tag1][tag2].. Omit all tests with ([tag1] and [tag2] and ..)
(Note: all of these collection options are applied from left to right)
-options (to forward arguments via myra::argc and myra::argv):
-args_begin Opening symbol to escape any args[] to be forwarded to test(s).
-args_end Closing symbol to escape any args[] to be forwarded to test(s).
(Example: -args_begin 1 two 3.0 -args_end will forward ["1","two","3.0"]
-options (miscellaneous):
-abort Stop running tests upon first failure.
-out=none Disconnects myra::out(), silencing it (default).
-out=cout Connects myra::out() to std::cout
-out=file Connects myra::out() to a unique file for each test, testname.txt
-out=file1 Connects myra::out() to a single file, ./example_tests.out.txt
-path=/some/where Prepend the given path to all myra::out() files.
-order=none Run tests in a fixed but implementation-defined order (default)
-order=sort Run tests in lexicographical order.
-order=random Run tests in a random order.
-order=random:542 Run tests in a random but repeatable order, by specifying a seed.
-nocolor Suppress ANSI coloring codes.
(Note: all of these miscellanous options can appear in any order)
You can view this information any time using the -help command. See the Tutorial for running tests for more details.
Go back to API Tutorials