-
Notifications
You must be signed in to change notification settings - Fork 48
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
test: enhancements #341
test: enhancements #341
Conversation
97cf5e9
to
7965a7a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given that we are going to keep the cancelMultiple
function in the core we have to test when the arrays count is zero.
In rest looks good to me, nice dryfy with expectEmit()
, it was indeed visually annoying before.
Yes - I will add a test for when the array count is zero in |
57a04d7
to
630c579
Compare
@andreivladbrg I have just pushed a few new commits to:
Waiting for your review! |
Looks like it can be merged. |
Yeah, but before we merge, we should check what's going on with the e2e tests - I see that they fail with |
Looks like this, you probably had too many requests that day. |
bc38cec
to
35567f1
Compare
test: add "USDCLike" and "USDTLike" mockups test: fix input bounding in "createWithRange" tests test: fix input bounding in linear e2e tests test: rename "protocolContract" param to "sablierContract" test: rename "vars.amounts" to "vars.createAmounts"
35567f1
to
da06e83
Compare
test: disable invariant call summaries test: lower invariant test depth and no. of runs
test: improve wording in test modifier
chore: delete Solhint rule "reason-string" chore: enable Solhint rule "named-parameters-mapping"
ci: explicitly set number of fuzz runs for unit tests test: delete fuzz runs and invariant depth from lite profile test: lower number of fuzz runs in default profile
da06e83
to
faa76ef
Compare
Closes #317, #342, #346, and hopefully also #338.
Besides the above, this PR also includes a few other enhancements, such as the addition of an
expectEmit
function in theBase_Test
test contract, which makes it possible to avoid writing the fullvm.expectEmit({ checkTopic1: true, ...
syntax.