Skip to main content

The µTest++ Testing Framework API Reference

The µTest++ Testing Framework topics with brief descriptions are:

µOS++ Topics

Topics related to the µOS++ framework

µTest++

Topics related to the µTest++ testing framework

C++ API

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

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

C API

Topics related to the µTest++ C API

Command Line Options

Options for controlling test output verbosity at run-time

Description

µTest++ is a modern C++ library designed to provide a lightweight and efficient testing framework, purpose-built for embedded systems development.

With its clean and expressive C++ API, µTest++ enables developers to write, organise, and execute unit tests with minimal overhead. The framework includes advanced features such as test suites, test cases, and detailed reporting, all tailored to meet the specific needs of embedded environments.

Output verbosity is fully configurable via command-line options, allowing users to choose between concise summaries and comprehensive diagnostic information to best suit their workflow.

By adopting µTest++, you can achieve robust and maintainable code through systematic and automated testing, supporting professional software engineering practices across your entire project.

note

For comparison, the original Doxygen html pages, styled with the doxygen-awesome-css plugin, continue to be available via the /doxygen/* URLs.


Generated via docusaurus-plugin-doxygen by Doxygen 1.14.0.