You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fuzz test fixtures can be defined when you want to make sure a certain set of values is used as inputs for fuzzed parameters.
which means that is guaranteed that fixture values will be used as fuzz inputs, along other inputs (see https://book.getfoundry.sh/images/fuzzer.png fixtures represents 40% from fuzzed inputs)
We could extend this and have an option to use only fixtures when fuzzing, lmk your thoughts. thank you!
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.3.0 (5a8bd89 2024-12-20T08:45:53.204298000Z)
What command(s) is the bug in?
forge test
Operating System
macOS (Apple Silicon)
Describe the bug
Minimal example repo
Docs suggest we can setup fixtures for testing with specific values using storage arrays or functions named like
fixtureParamName
. This doesn't work.Code from the repo above:
Example test output:
The text was updated successfully, but these errors were encountered: