Skip to main content

The C++ API Reference

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

Topics Index

 Initialisation & Exit

Functions for initialising the framework and returning an exit code. More...

 Test Cases

Test cases are named sequences of checks. More...

 Expectations

Expectations are checks whose outcomes are reported. More...

 Assumptions

Assumptions are conditions that must be satisfied for a test to proceed. More...

 Function Comparators

Functions for comparing actual and expected values in tests. More...

 Logical Functions

Functions used to compose logical expressions in tests. More...

 Checking Exceptions

Functions for verifying exceptions in test cases. More...

 Operators

Overloaded operators for expressive test comparisons. More...

 String Operators

Overloaded operators for string comparison. More...

 Container Operators

Overloaded operators for container comparison. More...

 Literals and Wrappers

Literal operators and wrappers for typed operands. More...

 Utility Functions

Utility functions for advanced string handling in tests. More...

 Test Suites

Test suites are named collections of test cases. More...

Description

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

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.


Generated via docusaurus-plugin-doxygen by Doxygen 1.14.0.