TTS v3.0.0
The Tiny Test System
Loading...
Searching...
No Matches
Output Utilities

Topics

 Output Sink Classes
 Built-in output_sink implementations, also selectable from the CLI via --sink=name.

Classes

struct  tts::gathering_sink
 output_sink gathering every message into a single retrievable buffer. More...
class  tts::output_handler
 Centralizes all TTS runtime output and dispatches it to the current output_sink. More...
struct  tts::output_sink
 Customization point for where TTS output actually goes. More...
class  tts::scoped_sink
 RAII guard installing an output_sink for its scope, restoring the previous one on exit. More...
struct  tts::stdout_sink
 Default output_sink, streaming every message straight to stdout. More...

Enumerations

enum class  tts::outcome
 The three ways a TTS_CASE outcome is tallied in the Results: ... summary. More...

Functions

output_handlertts::output ()
 Retrieves the current TTS output_handler.

Enumeration Type Documentation

◆ outcome

enum class tts::outcome
strong

#include <tts/tools/output.hpp>

The three ways a TTS_CASE outcome is tallied in the Results: ... summary.

See also
output_sink::suite_metric

Function Documentation

◆ output()

output_handler & tts::output ( )
inline

#include <tts/tools/output.hpp>

Retrieves the current TTS output_handler.

Returns
A reference to the tts::output_handler instance used by the current test suite.