foundry
foundry copied to clipboard
feat: fuzz failure persistence
Component
Forge
Describe the feature you would like
https://github.com/foundry-rs/foundry/issues/991 was closed by https://github.com/foundry-rs/foundry/pull/1658, but as documented by this comment there's some other related work, so pulling that into separate issues.
Right now fuzz failures are only shown in the terminal, and there's no easy way to persist persist failures to allow saving them and easily re-running them.
- Enable
FailurePersistance
to/cache/fuzz/failures-latest.json
. - Add
foundry.toml
flag to specify outdir. - Ensure
proptest
can useFailurePersistance
to resume fuzz campaigns. - Add
--fuzz-input-file
to allow user to specify afailures.json
Additional context
No response