|
micro-test-plus 6.0.1
µTest++ Testing Framework
|
C++ source file with implementations for the µTest++ test runner member functions. More...
#include "micro-os-plus/micro-test-plus/runner.h"#include "micro-os-plus/micro-test-plus/utility.h"#include "micro-os-plus/micro-test-plus/reporter-tap.h"#include "micro-os-plus/micro-test-plus/reporter-human.h"#include <cstdio>#include <cstring>#include <string>Go to the source code of this file.
Namespaces | |
| namespace | micro_os_plus |
| The primary namespace for the µOS++ framework. | |
| namespace | micro_os_plus::micro_test_plus |
| Primary namespace for the µTest++ testing framework. | |
| namespace | micro_os_plus::micro_test_plus::anonymous_namespace{runner.cpp} |
| Local helpers of the runner. | |
Variables | |
| constexpr const char * | micro_os_plus::micro_test_plus::anonymous_namespace{runner.cpp}::help_options |
| The text displayed by --help, after the usage line. | |
This source file contains the core implementations for the test runner facilities of the µTest++ framework. It provides the logic for initialising the test environment, registering and managing test suites, handling command-line arguments, orchestrating test execution, and determining the overall test result. The registered suites and the suites declared at namespace scope are executed together, in a single order, sorted by name. A mechanism for aborting test execution in critical scenarios is also provided.
All definitions reside within the micro_os_plus::micro_test_plus namespace.
This file must be included when building the µTest++ library.
Definition in file runner.cpp.