Unit Test Framework Modern C++ API Reference
rti::test::TesterContainer Class Reference

A container of Testers. This is the top level tester, so tester classes should inherits from this class. More...

#include <Tester.hpp>

Public Member Functions

int run_tests (const RTITestSetting &setting)
 Runs the tests. More...
 
int run_tests (int argc, char **argv)
 Parses the command-line arguments and runs the tests. More...
 

Detailed Description

A container of Testers. This is the top level tester, so tester classes should inherits from this class.

Member Function Documentation

◆ run_tests() [1/2]

int rti::test::TesterContainer::run_tests ( const RTITestSetting &  setting)
inline

Runs the tests.

Parameters
settingIn. The RTITestSetting object that contains the test configuration.
Returns
int The exit code of the test run. 0 if successful, 1 otherwise.

Referenced by run_tests().

◆ run_tests() [2/2]

int rti::test::TesterContainer::run_tests ( int  argc,
char **  argv 
)
inline

Parses the command-line arguments and runs the tests.

Parameters
argcIn. The number of command-line arguments.
argvIn. The command-line arguments.
Returns
The exit code of the test execution. 0 if successful, 1 otherwise.

References run_tests().