![]() |
cipra
1.2.1
A C++11 Unit Testing Framework based on Test::More
|
Holds symbols related to printing out TAP version 13 output. More...
Functions | |
Output functions | |
These functions return opaque objects that can be sent to the test output with the iostream insertion ( The user does not need to worry about the implementation of the return type; the user can just type, for instance, std::cout << cipra::tap13::header() << std::endl; which will print | |
| details::output | header () |
| Output a TAP13 stream header. More... | |
| details::output | plan (int total) |
| Output a TAP13 plan. More... | |
| details::output | diagnostic (std::string text) |
| Output a TAP13 simple diagnostic. More... | |
| details::output | yamlish_diagnostic () |
| Output a TAP13 YAMLish diagnostic. More... | |
| details::output | todo (std::string text) |
Output a TAP13 TODO directive after an ok or not ok line. More... | |
| details::output | skip (std::string text) |
Output a TAP13 SKIP directive after an ok or not ok line. More... | |
| details::output | ok (int number, std::string name) |
| Output a successful test. More... | |
| details::output | not_ok (int number, std::string name) |
| Output an unsuccessful test. More... | |
| details::output | bail_out (std::string why) |
Output a TAP13 Bail out! line. More... | |
Holds symbols related to printing out TAP version 13 output.
The user should generally not need these functions, but they are provided in case the user does need them.
|
inline |
Output a TAP13 Bail out! line.
| [in] | why | The reason for stopping test execution early. |
|
inline |
Output a TAP13 simple diagnostic.
| [in] | text | The diagnostic text. |
|
inline |
Output a TAP13 stream header.
|
inline |
Output an unsuccessful test.
| [in] | number | The test number. |
| [in] | name | What the user called this test. |
|
inline |
Output a successful test.
| [in] | number | The test number. |
| [in] | name | What the user called this test. |
|
inline |
Output a TAP13 plan.
| [in] | total | The number of tests you plan on running. |
|
inline |
Output a TAP13 SKIP directive after an ok or not ok line.
| [in] | text | The explanation of why this test was skipped. |
|
inline |
Output a TAP13 TODO directive after an ok or not ok line.
| [in] | text | The explanation of what needs to be done to make the test succeed. |
|
inline |
Output a TAP13 YAMLish diagnostic.
1.8.4