![]() |
micro-test-plus 3.2.2
µTest++ Testing Framework
|
C++ header file with declarations for the µTest++ test suite. More...
#include <functional>
Go to the source code of this file.
Classes | |
class | micro_os_plus::micro_test_plus::test_suite |
Represents a named group of test cases that self-register to the runner. More... | |
class | micro_os_plus::micro_test_plus::test_suite_base |
Base class for all test suites. More... |
Namespaces | |
namespace | micro_os_plus |
The primary namespace for the µOS++ framework. | |
namespace | micro_os_plus::micro_test_plus |
Primary namespace for the µTest++ testing framework. |
This header provides the declarations for the test suite facilities used within the µTest++ framework. It defines the interfaces for constructing, registering, and managing test suites and their associated test cases. The core classes, test_suite_base and test_suite, offer mechanisms for tracking test case execution, managing counters for successful and failed checks, and supporting automated registration and discovery of test suites.
The design ensures that test suites are non-copyable and non-movable, maintaining unique ownership and consistent state. Flexible support for callable objects enables a wide range of test suite definitions, facilitating expressive and maintainable test organisation across embedded and general C++ projects.
All definitions reside within the micro_os_plus::micro_test_plus namespace, ensuring clear separation from user code and minimising the risk of naming conflicts.
The header files are organised within the include/micro-os-plus/micro-test-plus folder to maintain a structured and modular codebase.
This file is intended solely for internal use within the framework and should not be included directly by user code.
Definition in file test-suite.h.