Test Runners
Classes for initialising the framework and returning an exit code. More...
Classes Index
| class | runner |
|
The test runner for the µTest++ framework. More... | |
| class | static_runner |
|
A runner variant that also manages statically-registered test suites. More... | |
Description
Classes for initialising the framework and returning an exit code.
Proper initialisation ensures that µTest++ is correctly configured to manage and execute test cases, whilst the exit code reflects the overall test outcome and supports integration with automated build and continuous integration systems.
The simplest test consists of the default test suite and a single test case with one expectation; for example:
When this test is executed, the output is as follows:
The name passed to the initialiser is optional; if missing, it will attempt to extract a name from argv[0], which is commonly the executable name. If that fails, a default name is used.
Generated via doxygen2docusaurus 2.2.0 by Doxygen 1.17.0.