|
micro-test-plus 6.0.0
µTest++ Testing Framework
|
How to write the tests. More...
Topics | |
| Test runners | |
| The runner initialises the framework and returns the exit code. | |
| Test suites | |
| Test suites are named groups of related test cases. | |
| Test cases | |
| Test cases are named sequences of checks. | |
| Expectations | |
| Expectations are checks whose outcomes are counted and reported. | |
| Requirements | |
| Requirements are checks that stop the test case when they fail. | |
| 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. | |
| Utility functions | |
| Utility functions for handling strings in tests. | |
| Customisation | |
| Reporting the application types, and writing application comparators. | |
| Deprecated | |
| Definitions kept for compatibility with earlier releases. | |
All the definitions are in the micro_os_plus::micro_test_plus namespace, which the examples shorten with an alias:
The topics follow the structure of a test program: