Module antithesis_sdk::lifecycle

source ·
Expand description

The lifecycle module contains functions which inform the Antithesis environment that particular test phases or milestones have been reached.

The constant LOCAL_OUTPUT is associated with local logging, which is one of the local execution modes.


  • Indicates to Antithesis that a certain event has been reached. It sends a structured log message to Antithesis that you may later use to aid debugging.
  • Indicates to Antithesis that setup has completed. Call this function when your system and workload are fully initialized. After this function is called, Antithesis will take a snapshot of your system and begin injecting faults.