|
micro-test-plus 6.0.1
µTest++ Testing Framework
|
C++ source file with implementations for the µTest++ TAP test reporter member functions. More...
#include "micro-os-plus/micro-test-plus/reporter-tap.h"#include "micro-os-plus/micro-test-plus/runner.h"#include "micro-os-plus/micro-test-plus/test.h"#include "micro-os-plus/micro-test-plus/utility.h"#include <string>#include <string_view>Go to the source code of this file.
Classes | |
| class | micro_os_plus::micro_test_plus::detail::anonymous_namespace{reporter-tap.cpp}::tap_name |
| A name prepared for a single TAP line, without a copy when it needs no change. 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. | |
| namespace | micro_os_plus::micro_test_plus::detail |
| Internal implementation details for the µTest++ framework. | |
| namespace | micro_os_plus::micro_test_plus::detail::anonymous_namespace{reporter-tap.cpp} |
| Local helpers of the TAP reporter. | |
Functions | |
| std::string | micro_os_plus::micro_test_plus::detail::anonymous_namespace{reporter-tap.cpp}::tap_text (std::string_view text, bool escape) |
| Prepares a text for a single TAP line. | |
| std::string | micro_os_plus::micro_test_plus::detail::anonymous_namespace{reporter-tap.cpp}::yaml_double_quoted (std::string_view text) |
| Formats a text as a YAML double-quoted scalar. | |
| std::string | micro_os_plus::micro_test_plus::detail::anonymous_namespace{reporter-tap.cpp}::yaml_scalar (std::string_view text) |
| Formats a text as a YAML scalar, double-quoted only when needed. | |
This source file contains the implementations for reporter_tap, a concrete implementation of the reporter abstract interface that formats test results according to the Test Anything Protocol (TAP), version 14. It is the default reporter, also selected with the --reporter=tap command-line option.
All definitions reside within the micro_os_plus::micro_test_plus::detail namespace, since the reporters are internal to the framework.
This file must be included when building the µTest++ library.
Definition in file reporter-tap.cpp.