Content pfp
Content
@
https://opensea.io/collection/evm-6
0 reply
0 recast
2 reactions

Jem pfp
Jem
@jem
Writing tests with Forge on a new codebase, and two approaches have significantly (IMO) increased readability and simplicity: 1. One function per test file 2. Contract and parameter state altered through modifiers, e.g. ``` function test_foo() external whenParameterIsSet whenAModuleIsInstalled ```
2 replies
0 recast
2 reactions

Brent Fitzgerald pfp
Brent Fitzgerald
@bf
Interesting! Will try these. Surprised by 1 but curious to see it in practice. And 2 looks so so clean!
0 reply
0 recast
1 reaction