Report: reproduction info (seed/size/index) and replay of a single case #7
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Missing
Enough information in a failing
Reportto reproduce the case, and a way to re-run exactly that case.Why
failurecarriesoriginal/shrunk/shrinkStepsbut not the seed, size or index that produced it. A counterexample seen in CI cannot be replayed locally without re-running the whole suite with the same seed and hoping it is deterministic. Hedgehog hasrecheck size seed, fast-check reports{ seed, path }, Hypothesis has@reproduce_failure.Suggested shape
failuregainsseed,size,index(position in the run).check { replay = { seed; size; }; }(orrecheck) runs the single case and shrinks it.cases opts genyields{ tree; size; index; }the runner only has to keep them.Implemented in
1ef73bd, pushed to main.