1 #ifndef __TEST_RUNNER_H__
2 #define __TEST_RUNNER_H__
4 #include <TTestSuite.h>
8 * Declaration of the s_TestRunner structure, which represents
9 * a test runner used to run suites of tests.
11 typedef struct s_TestRunner
13 Buffer_t buffer; /* a single buffer */
14 TestSuite_t testSuite; /* the test suite to run */
16 }s_TestRunner_t,*TestRunner_t;
20 * s_TestRunner structure connected functions.
24 * Create an new s_TestRunner struct and
25 * returns a pointer to self.
27 TestRunner_t TestRunner_new(void);
30 * Initialize the s_TestRunner struct.
32 errno_t TestRunner_initialize(TestRunner_t runner,int argc,char *argv[]);
35 * Launch the test runner.
37 void TestRunner_run(TestRunner_t runner);
40 * Free the s_TestRunner.
42 void TestRunner_free(TestRunner_t runner);
50 #endif /* #ifndef __TestRunner_H__ */