-
Couldn't load subscription status.
- Fork 2.2k
Closed as not planned
Labels
A-testingArea: testingArea: testingC-forgeCommand: forgeCommand: forgeCmd-forge-testCommand: forge testCommand: forge testT-blockedType: blockedType: blockedT-featureType: featureType: feature
Milestone
Description
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.
Follows #2551 to allow saving and replaying entire fuzz campaigns instead of just failures.
- Capture fuzz campaigns via
ResultCache(Or some other mechanism TBD). - Persist fuzz campaigns to
/cache/fuzz/corpus-latest.json. - Re-use
foundry.tomlflag to specify outdir. - Add a
replaypropteststrategy that is powered by acorpus.jsonfile. - Extend
--fuzz-input-fileoption to additionally take acorpus.jsonfile &forge testto triggerreplay. - Ensure
/cache/fuzzis removed withforge clean. - Consider a
--generate-test-casesflag to autogenerate concrete tests from the fuzz inputs. these can be logged to the console for the user to put anywhere, or inserted directly below the failed fuzz test in the test file
Including the generated dictionary (perhaps as an optional flag if it's too big?) would be useful as well
Additional context
No response
tynes, mfolnovic, aaoferreira, PaulRBerg, aviggiano and 1 more
Metadata
Metadata
Assignees
Labels
A-testingArea: testingArea: testingC-forgeCommand: forgeCommand: forgeCmd-forge-testCommand: forge testCommand: forge testT-blockedType: blockedType: blockedT-featureType: featureType: feature
Type
Projects
Status
Done