Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: fuzz failure persistence #2551

Closed
mds1 opened this issue Aug 2, 2022 · 0 comments · Fixed by #7336
Closed

feat: fuzz failure persistence #2551

mds1 opened this issue Aug 2, 2022 · 0 comments · Fixed by #7336
Labels
A-testing Area: testing C-forge Command: forge Cmd-forge-test Command: forge test T-feature Type: feature

Comments

@mds1
Copy link
Collaborator

mds1 commented Aug 2, 2022

Component

Forge

Describe the feature you would like

#991 was closed by #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 use FailurePersistance to resume fuzz campaigns.
  • Add --fuzz-input-file to allow user to specify a failures.json

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-testing Area: testing C-forge Command: forge Cmd-forge-test Command: forge test T-feature Type: feature
Projects
Status: Completed
Development

Successfully merging a pull request may close this issue.

2 participants