File mock.h¶
↰ Parent directory (include/mu/tiny)
C interface to the mutiny mock framework.
Definition (include/mu/tiny/mock.h)¶
Detailed Description¶
Provides a vtable-style C API for mock interaction from pure C test code. Call Function mutiny_mock to get the global mock scope, or Function mutiny_mock_scope for a named scope; then use the function pointers on the returned struct to set up expectations and report actual calls.
Includes¶
mu/tiny/export.hstddef.h