colours Struct
Colours used to highlight pass and fail results in test reports. More...
Declaration
Included Headers
Public Member Attributes Index
| const char * | fail = "" |
|
Terminal colour sequence for failing tests. More... | |
| const char * | none = "" |
|
Terminal colour reset sequence. More... | |
| const char * | pass = "" |
|
Terminal colour sequence for passing tests. More... | |
Description
Colours used to highlight pass and fail results in test reports.
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.
These colour codes enhance the clarity and professionalism of test reports by making it immediately apparent which tests have passed or failed, thereby improving the overall user experience when reviewing test results.
Definition at line 114 of file expression-formatter.h.
Public Member Attributes
fail
|
Terminal colour sequence for failing tests.
ANSI escape sequence to set the terminal colour for failing results (red).
Definition at line 119 of file expression-formatter.h.
none
|
Terminal colour reset sequence.
ANSI escape sequence to reset the terminal colour to default.
Definition at line 116 of file expression-formatter.h.
pass
|
Terminal colour sequence for passing tests.
ANSI escape sequence to set the terminal colour for passing results (green).
Definition at line 117 of file expression-formatter.h.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.2.0 by Doxygen 1.17.0.