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
As suggested in the Best Practices section of the Foundry Book, and as discussed in more detail here, it is recommended to name the test functions like this:
test_Description
testFuzz_Description
test_Revert[If|When]_Description
testFork_Description
testForkFuzz_Revert[If|When]_Description
Doing this would also make the test lintable by scopelint when the tool is production-ready.
The tests in this repo do not, however, conform to this best practice yet.
The text was updated successfully, but these errors were encountered:
As suggested in the Best Practices section of the Foundry Book, and as discussed in more detail here, it is recommended to name the test functions like this:
test_Description
testFuzz_Description
test_Revert[If|When]_Description
testFork_Description
testForkFuzz_Revert[If|When]_Description
Doing this would also make the test lintable by scopelint when the tool is production-ready.
The tests in this repo do not, however, conform to this best practice yet.
The text was updated successfully, but these errors were encountered: