22#ifndef ROBOTTESTINGFRAMEWORK_TESTSUITE_H
23#define ROBOTTESTINGFRAMEWORK_TESTSUITE_H
The FixtureManager can be used to to setup any fixture which is required for the tests before executi...
A formated message with details.
The TestResult class is used to deliver the test results including any error and failures produced by...
The TestSuite holds a group of tests.
std::vector< FixtureManager * >::reverse_iterator FixtureRIterator
TestResult * getResult()
getResult returns an instance of TestResult if run(TestResult &result) has been already called by a T...
void removeTest(Test *test)
Remove a test.
std::vector< FixtureManager * > FixtureContainer
void run(TestResult &rsl) override
the main caller of a TestSuite inherited from Test Class.
virtual ~TestSuite()
TestSuite destructor.
bool succeeded() const override
succeeded
void reset()
Clear the test list.
void addTest(Test *test)
Adding a new test.
void fixtureCollapsed(TestMessage reason) override
fixtureCollapsed is called by a fixture manager (if it is already setup) to inform the test suite tha...
void addFixtureManager(FixtureManager *manager)
addFixtureManager add a fixture manager for the current test suite.
TestSuite(std::string name)
TestSuite constructor.
void interrupt() override
interrupt interrupts the current test run
FixtureContainer fixtureManagers
TestMessage fixtureMessage
std::vector< Test * >::iterator TestIterator
virtual void tearDown()
tearDown is called after the test run
std::size_t size() const
returns the number of tests in this suite
virtual bool setup()
setup is called before the test run
std::vector< Test * > TestContainer
std::vector< FixtureManager * >::iterator FixtureIterator
The simplest form of a test unit.