micro-test-plus 6.0.1
µTest++ Testing Framework
Loading...
Searching...
No Matches
micro_os_plus::micro_test_plus::detail::colours Struct Reference

Colours used to highlight pass and fail results in test reports. More...

#include <expression-formatter.h>

Public Attributes

const char * fail = ""
 Terminal colour sequence for failing tests.
const char * none = ""
 Terminal colour reset sequence.
const char * pass = ""
 Terminal colour sequence for passing tests.

Detailed Description

The colours structure defines ANSI escape sequences for terminal output, enabling colour-coded highlighting of test outcomes. The pass member specifies the colour for successful results (typically green), while the fail member specifies the colour for failed results (typically red). The none member resets the colour to the terminal default.

By default all members are empty strings, so no escape sequences are emitted; reporters that support colours assign colours_red_green.

Definition at line 154 of file expression-formatter.h.

Member Data Documentation

◆ fail

◆ none

◆ pass


The documentation for this struct was generated from the following file: