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

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

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.

Detailed Description

This header provides the inline accessors of the runner class and the inline template implementation for runner::add_suite(), the member function used to create and register a named test suite with a runner instance, and for its deprecated alias runner::suite(). It constructs a suite object on the heap (wrapped in std::unique_ptr) and transfers ownership to the runner via register_suite(); the suite is run later, by run_suites().

The implementation is separated into this inline header so that the template definition is visible at every call site without cluttering the main runner.h declaration file.

This file is included by runner.h; the applications include micro-os-plus/micro-test-plus.h, not this file.

Definition in file runner-inlines.h.