Closed amusingaxl closed 4 months ago
I would suggest to open a PR with process changes in makerdao/pe-checklists before merging this one (especially regarding the differentiation between
private
andpublic skipped
)
Will do, just wanted to get feedback on the structure here first so there's not a lot of back and forth in the checklist.
If we would have linter, would be great to forbid private
modifier in DssSpell.t.sol
from now on to avoid confusion.
If we would have linter, would be great to forbid
private
modifier inDssSpell.t.sol
from now on to avoid confusion.
Last time I checked, it was not possible to have different linter rules for different files using solhint
. That might have changed recently.
Following up some suggestions made in #375, we can leverage the
skip(bool)
cheatcode to explicitly skip tests instead of disabling them by making themprivate
.The advantage is that the skipped tests will actually show in the execution output:
This makes it harder to miss test that should be executed but are not. Skipped tests should also be part of the reviewer checklist.