From 924c8ed317ebb4aaa84f7ae174fc72fe51b9f3cd Mon Sep 17 00:00:00 2001 From: Gabriel Schlozer Date: Thu, 28 Jul 2016 15:47:17 +0200 Subject: [PATCH] added comment about how to use commands --- UnitTest++/TestRunner.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/UnitTest++/TestRunner.h b/UnitTest++/TestRunner.h index fbf14c0..55f3856 100644 --- a/UnitTest++/TestRunner.h +++ b/UnitTest++/TestRunner.h @@ -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