micro-test-plus 4.1.0
µTest++ Testing Framework
Loading...
Searching...
No Matches
reporter.cpp File Reference

C++ source file with implementations for the µTest++ test reporter methods. 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.

Functions

reportermicro_os_plus::micro_test_plus::endl (reporter &stream)
 Output stream manipulator for ending a line in test reports.

Detailed Description

This source file contains the core implementations for the test reporting facilities of the µTest++ framework. It provides lifecycle and utility behaviour for reporters, including command-line option parsing, output-file handling, informational banner emission, buffering helpers, stream operators, and pass/fail dispatch to reporter-specific prefix/ suffix hooks.

Concrete formatting behaviour is implemented by derived reporters (reporter_human and reporter_tap).

All definitions reside within the micro_os_plus::micro_test_plus namespace, ensuring clear separation from user code and minimising the risk of naming conflicts.

This file must be included when building the µTest++ library.

Definition in file reporter.cpp.