![]() |
micro-test-plus 3.2.2
µTest++ Testing Framework
|
C++ source file with implementations for the µTest++ test reporter methods. More...
#include <micro-os-plus/micro-test-plus.h>
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 | |
test_reporter & | micro_os_plus::micro_test_plus::endl (test_reporter &stream) |
Output stream manipulator for ending a line in test reports. |
This source file contains the core implementations for the test reporting facilities of the µTest++ framework. It provides the logic for formatting and outputting test results, including operator overloads for a wide range of value types, containers, and comparison expressions, as well as structured output for logical and exception-related assertions.
The test reporter is responsible for presenting test outcomes in a clear, consistent, and expressive manner, supporting both value and pointer semantics, and providing detailed diagnostics for both successful and failed test cases. Special attention is given to formatting, colour highlighting, and extensibility, enabling professional and readable test reports suitable for embedded and general C++ development.
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 test-reporter.cpp.