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
FailurePersistanceto/cache/fuzz/failures-latest.json. - Add
foundry.tomlflag to specify outdir. - Ensure
proptestcan useFailurePersistanceto resume fuzz campaigns. - Add
--fuzz-input-fileto allow user to specify afailures.json
Additional context
No response