PropertyDamage.Progress.RunUpdate (PropertyDamage v0.2.0)
View SourceIntermediate progress for PropertyDamage.run/1 (DR-022): a coarse
per-iteration heartbeat of cumulative campaign state. Not the authoritative
result — see PropertyDamage.Progress.RunResult.
Phases
:start— emitted once before the first run (run_numberis0); signals the campaign has begun and carriestotal_runs.:run— emitted per sequence with the 1-basedrun_number, thecommand_count, andbranch_count(0for a linear sequence).:shrink— reserved for per-iteration shrink progress (shrink_iteration).
Summary
Types
@type phase() :: :start | :run | :shrink
@type t() :: %PropertyDamage.Progress.RunUpdate{ branch_count: non_neg_integer(), command_count: non_neg_integer() | nil, phase: phase(), run_number: non_neg_integer(), shrink_iteration: non_neg_integer() | nil, total_runs: pos_integer() }