Lumiera
0.pre.03
»edit your freedom«
|
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>
Classes | |
class | Launch< TEST > |
Helper class for running a collection of tests. More... | |
class | Launcher |
interface: generic testcase creating functor. More... | |
class | Test |
Abstract Base Class for all testcases. More... | |
Typedefs | |
using | Arg = std::vector< string > & |
Macros | |
#define | LAUNCHER(_TEST_CLASS_, _GROUPS_) |
#define LAUNCHER | ( | _TEST_CLASS_, | |
_GROUPS_ | |||
) |