Function zebra_test::init
source ยท pub fn init() -> impl Drop
Expand description
Initialize global and thread-specific settings for tests,
such as tracing configs, panic hooks, and cargo insta
settings.
This function should be called at the start of every test.
It returns a drop guard that must be stored in a variable, so that it gets dropped when the test finishes.