Function fail::teardown

source ·
pub fn teardown()
Expand description

Tear down the fail point system.

Clears the configuration of all fail points. Any paused fail points will be notified before they are deactivated.

This function should generally be called after running a test with fail points. Calling teardown without previously calling setup results in a no-op.