Unit tests runner. More...
#include <runner.hpp>
Public Member Functions | |
| virtual bool | startup ()=0 |
| virtual bool | shutdown ()=0 |
| virtual uint16_t | test (const std::string &test)=0 |
Unit tests runner.
Vitual class which define tests runner
|
pure virtual |
Shutdown test runner
true when shutdown is OK, false otherwise Implemented in anch::ut::DefaultRunner, and anch::ut::SocketClientRunner.
|
pure virtual |
Startup test runner
true when startup is OK, false otherwise Implemented in anch::ut::DefaultRunner, and anch::ut::SocketClientRunner.
|
pure virtual |
Run test
| test | the test to run |
0 when OK, 1 when test has not ben registered, 2 when before test processing failed, 3 when test failed and 4 when after test processing failed Implemented in anch::ut::DefaultRunner, and anch::ut::SocketClientRunner.