micro-test-plus 6.0.1
µTest++ Testing Framework
Loading...
Searching...
No Matches
runner.h File Reference

C++ header file with declarations for the µTest++ test runner. More...

#include "stopwatch.h"
#include "test.h"
#include "reflection.h"
#include "reporter.h"
#include "runner-options.h"
#include "counters.h"
#include <functional>
#include <memory>
#include <span>
#include <string>
#include <string_view>
#include <vector>
#include "inlines/runner-inlines.h"

Go to the source code of this file.

Classes

class  micro_os_plus::micro_test_plus::runner
 The test runner for the µTest++ framework. More...

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.

Detailed Description

This header provides the declarations for the test runner facilities used within the µTest++ framework. It defines the runner class, which manages the registration and execution of test suites, including the static suites declared at namespace scope. The deprecated static_runner alias is declared in deprecated.h.

The test runner is responsible for initialising the test environment, creating the reporter, registering test suites, processing command-line arguments, and determining the overall test result via an exit code. It also provides a mechanism for aborting test execution.

All definitions reside within the micro_os_plus::micro_test_plus namespace.

This file is included by micro-os-plus/micro-test-plus.h, which is the header that the applications include.

Definition in file runner.h.