runner-options.h File
C++ header file with declarations for the µTest++ runner options. More...
Included Headers
Namespaces Index
| namespace | micro_os_plus |
|
The primary namespace for the µOS++ framework. More... | |
| namespace | micro_test_plus |
|
Primary namespace for the µTest++ testing framework. More... | |
Classes Index
| class | runner_options |
|
The configuration of a test session, and its command-line parser. More... | |
Enumerations Index
| enum class | colour_mode { ... } |
|
The use of colours in the console output. More... | |
| enum class | reporter_kind { ... } |
|
The built-in reporters. More... | |
| enum class | verbosity { ... } |
|
The verbosity levels for test reporting. More... | |
Description
C++ header file with declarations for the µTest++ runner options.
This header provides the runner_options class, which holds the configuration of a test session (the reporter, the verbosity, the output file, the use of colours, the filter, and the listing of the test cases) and parses it from the command line, together with the reporter_kind, verbosity, and colour_mode enumerations used by its members.
The options are usually parsed from the command line by the constructor taking the main() arguments, called by runner::initialise (argc, argv); the applications without a command line, such as the embedded ones without semihosting arguments, can set them directly and pass them to runner::initialise (options).
All definitions reside within the micro_os_plus::micro_test_plus namespace.
This file is included by micro-os-plus/micro-test-plus.h, which is the header that the applications include.
File Listing
The file content with the documentation metadata removed is:
Generated via doxygen2docusaurus 2.2.8 by Doxygen 1.18.0.