40 #ifndef TESTHELPER_SUITE_H 41 #define TESTHELPER_SUITE_H 56 typedef std::vector<string> & Arg;
72 Suite (
string groupID);
73 bool run (Arg cmdline);
75 int getExitCode ()
const;
79 static const int TEST_OK;
static const int EXCEPTION_THROWN
exit code returned when any individual test threw
bool run(Arg cmdline)
run all testcases contained in this Suite.
Suite(string groupID)
create a suite comprised of all the testcases previously registered with this this group...
static const string ALLGROUP
"magic" groupID containing all registered testcases
interface: generic testcase creating functor.
void describe()
print to stdout an enumeration of all testcases in this suite, in a format suitable for use with Ceht...
Enables running a collection of tests.
static void enrol(Launcher *test, string testID, string groups)
register the given test-launcher, so it can be later accessed either as a member of one of the specif...