Test Cases
Test cases are named sequences of checks. More...
Classes Index
| class | subtest |
|
A named, runnable test case that lives inside a suite. More... | |
Description
Test cases are named sequences of checks.
Each test case is defined by calling suite::test() with a descriptive name and a callable object (typically a lambda accepting a subtest& reference), along with any optional arguments required for the test.
Test cases allow related checks to be organised together within the same environment, improving clarity and maintainability. Any number of test cases may be defined, each focusing on a specific aspect of the code under test.
By grouping checks in this way, developers can identify which functionality is being verified and interpret results in the context of overall software quality.
- Examples
Generated via doxygen2docusaurus 2.2.0 by Doxygen 1.17.0.