-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
meta: invariant testing features #3412
Comments
rkrasiuk
added
A-testing
Area: testing
T-meta
Type: meta
and removed
T-feature
Type: feature
labels
Sep 29, 2022
Two last requests, lower priority than the above set but still valuable + should be quick ones:
|
This was referenced Jan 23, 2023
Closing this in favor of #4438 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Component
Forge
Describe the feature you would like
This issue simply aggregates the issues that would improve invariant testing (and some related to fuzz testing too). In no particular order:
vm.depth()
cheatcode to return the depth of the current invariant run #2985assumeRange(uint lower, uint upper)
inVm.sol
#1350cheatcodes
): ability to capture and store state diffs #2846vm.assume
support in invariant tests #4190excludeSelectors()
#4352vm
and the create2 factory should be excluded senders in invariants #4163Additional context
No response
The text was updated successfully, but these errors were encountered: