Insider.Fixtures (Insider Lab v0.1.0)

Copy Markdown View Source

Deterministic faulty scenarios and nearby healthy controls.

Fixtures exercise actual OTP processes, supervisors, mailboxes, tasks, and Telemetry handlers. They synchronize with messages instead of sleeps and clean up every resource before returning.

Summary

Functions

run(scenario, variant, options \\ [])

@spec run(atom(), atom(), keyword()) ::
  {:ok, Insider.Fixtures.Observation.t()} | {:error, atom()}

run!(scenario, variant, options \\ [])

@spec run!(atom(), atom(), keyword()) :: Insider.Fixtures.Observation.t()