Skip to main content

colours Struct

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

Declaration

struct micro_os_plus::micro_test_plus::detail::colours { ... }

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

const char* micro_os_plus::micro_test_plus::detail::colours::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.

120 = "";

none

const char* micro_os_plus::micro_test_plus::detail::colours::none = ""

Terminal colour reset sequence.

ANSI escape sequence to reset the terminal colour to default.

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

116 const char* none = "";

pass

const char* micro_os_plus::micro_test_plus::detail::colours::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.

118 = "";

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


Generated via doxygen2docusaurus 2.2.0 by Doxygen 1.17.0.