micro-test-plus 3.2.0
µTest++, a lightweight testing framework for embedded platforms
Loading...
Searching...
No Matches
C++ API

Topics

 Initialisation & exit
 Functions to initialise the framework and exit.
 
 Test cases
 Test cases are named sequences of checks.
 
 Expectations
 Expectations are checks whose results are reported.
 
 Assumptions
 Assumptions are conditions that must be met for the test to continue.
 
 Function comparators
 Functions to compare the actual with expected values.
 
 Logical functions
 Functions to be used in logical expressions.
 
 Checking exceptions
 Functions to check exceptions.
 
 Operators
 Overloaded operators.
 
 String operators
 Overloaded operators to compare strings.
 
 Container operators
 Overloaded operators to compare containers.
 
 Literals and wrappers
 Literals and wrappers.
 
 Functions vs. operators & literals
 
 Utility functions
 Functions to assist in string operations.
 
 Custom-types
 
 Test suites
 Test suites are named sequences of test cases.
 
 Explicit namespaces
 
 Memory footprint
 

Detailed Description

The µTest++ implementation uses extensively modern C++ features. Aiming simplicity, µTest++ provides only a limited number of primitives used to check expectations and assumptions.

There are no preprocessor macros, all primitives are implemented in C++.