Fuzz Test Snapshotting Concept #1085
Labels
A-cheatcodes
Area: cheatcodes
A-testing
Area: testing
C-forge
Command: forge
Cmd-forge-test
Command: forge test
T-feature
Type: feature
Component
Forge
Describe the feature you would like
a cheatcode or config option that lets u specify a couple of specific inputs to snapshot for a fuzz test would be a repeatable and easy way to benchmark a fuzz tests' gas usage without introducing the variance that comes from mean/medians
here's what that could look like:
with a modifier it'd be really elegant:
could also use comment annotations but i know we dont rly like those
Additional context
related to my complaints in #1081
The text was updated successfully, but these errors were encountered: