The YarpTestCase is a helper class to facilitate loading the tests settings which are developed for YARP. More...
#include <yarp/robottestingframework/TestCase.h>
Classes | |
class | Private |
Public Member Functions | |
TestCase (std::string name) | |
virtual | ~TestCase () |
bool | setup (int argc, char **argv) override |
virtual bool | setup (yarp::os::Property &property) |
The YarpTestCase is a helper class to facilitate loading the tests settings which are developed for YARP.
The class simply looks for test configuration file given using "--from" parameter to the test case and loads it into a yarp::os::Property object.
If any environment property is given using "testrunner -e" or using <environment> </environment> tag within suite XML file, that will be used to updated the properties from the main config file.
Please see RobotTestingFramework example folder for how to develop a simple test plugin for YARP.
Definition at line 34 of file TestCase.h.
yarp::robottestingframework::TestCase::TestCase | ( | std::string | name | ) |
Definition at line 28 of file TestCase.cpp.
|
virtual |
Definition at line 34 of file TestCase.cpp.
|
override |
Definition at line 40 of file TestCase.cpp.
|
virtual |
Definition at line 93 of file TestCase.cpp.