added comment about how to use commands

This commit is contained in:
Gabriel Schlozer 2016-07-28 15:47:17 +02:00
parent 62378a6f7e
commit 924c8ed317

View file

@ -12,6 +12,15 @@ namespace UnitTest {
class Timer;
UNITTEST_LINKAGE int RunAllTests();
/**
* Commands:
* --suite One or multiple suite names to execute, can be combined with --test
* --test One or multiple test names to execute, can be combined with --suite
* --ignoretest One or multiple test parameter name, with index(es) specified, using this syntax: pzMyParam[4,8,12,7]
*
* Usage example: myTests.exe --suite MySuite1 MyOtherSuite --test MySpecialTest MyOtherTest --ignoreparam pzMyPlatforms[0,2,3] pzMyParam[4,8]
*/
UNITTEST_LINKAGE int RunTestsCmd(int argc, char**argv, char const* suiteArgument = "--suite", char const* testArgument = "--test", char const* ignoreParamArgument = "--ignoreparam");
struct True