|
waLBerla 7.3
|
Primary test orchestrator.
#include <Testutils.hpp>
Public Types | |
| using | TestFunction = std::function< void() > |
Public Member Functions | |
| TestsRunner (std::initializer_list< std::tuple< std::string, TestFunction > > init_list) | |
| Create a test runner instance, registering a set of test functions. | |
| int | runTest (const std::string &id) |
| Run a single test by its ID. | |
| int | run (int argc, char **argv) |
| Run tests as selected from the command line arguments. | |
Private Attributes | |
| std::map< std::string, TestFunction > | tests_ |
| using walberla::v8::testing::TestsRunner::TestFunction = std::function< void() > |
|
inline |
Create a test runner instance, registering a set of test functions.
|
inline |
Run tests as selected from the command line arguments.
|
inline |
Run a single test by its ID.
|
private |