micro-test-plus 3.2.2
µTest++ Testing Framework
Loading...
Searching...
No Matches

Topics related to the µTest++ C++ API. More...

Topics

 Initialisation & Exit
 Functions for initialising the framework and returning an exit code.
 Test Cases
 Test cases are named sequences of checks.
 Expectations
 Expectations are checks whose outcomes are reported.
 Assumptions
 Assumptions are conditions that must be satisfied for a test to proceed.
 Function Comparators
 Functions for comparing actual and expected values in tests.
 Logical Functions
 Functions used to compose logical expressions in tests.
 Checking Exceptions
 Functions for verifying exceptions in test cases.
 Operators
 Overloaded operators for expressive test comparisons.
 String Operators
 Overloaded operators for string comparison.
 Container Operators
 Overloaded operators for container comparison.
 Literals and Wrappers
 Literal operators and wrappers for typed operands.
 Utility Functions
 Utility functions for advanced string handling in tests.
 Test Suites
 Test suites are named collections of test cases.

Detailed Description

The µTest++ framework is built upon modern C++ standards, providing a robust and expressive API for defining and managing tests. Its design prioritises clarity and maintainability, offering a concise set of core primitives for verifying expectations and assumptions within test cases.

Unlike many traditional frameworks, µTest++ avoids the use of preprocessor macros; all testing primitives are implemented directly in C++. This approach ensures type safety, improved readability, and seamless integration with contemporary C++ development practices.