Expand description
This module provides helper functions for testing logging output
The aim of this module is to provide commonly-used functions that enable the testing of the output that should appear from logging macros.
Note: all tests should be run in a serial manner because the logger involves shared global state that will otherwise give unpredictable results.
Structs§
- Test
Tracker - A tracker that keeps track events.
Functions§
- check_
and_ clear - Check and clear the trace and log output
- create_
tracker - Create a tracker for tests