![]() |
Lumiera 0.pre.04~rc.1
»edit your freedom«
|
Simplistic test class runner. More...
Go to the source code of this file.
Simplistic test class runner.
Allows for writing unit tests as subclass of test::Test . They may be installed for automatic invocation through test::Suite by defining a Launcher instance, which can be done conveniently by the macro LAUNCHER
Definition in file run.hpp.
#include "lib/error.hpp"#include "lib/random.hpp"#include "lib/test/suite.hpp"#include "lib/util.hpp"#include <memory>#include <string>Namespaces | |
| namespace | test |
| Test runner and basic definitions for tests. | |
Macros | |
| #define | LAUNCHER(_TEST_CLASS_, _GROUPS_) |
Typedefs | |
| using | Arg = std::vector< string > & |
Classes | |
| class | Test |
| Abstract Base Class for all testcases. More... | |
| class | Launcher |
| interface: generic testcase creating functor. More... | |
| class | Launch< TEST > |
| Helper class for running a collection of tests. More... | |
| #define LAUNCHER | ( | _TEST_CLASS_, | |
| _GROUPS_ | |||
| ) |