Forge Testing
0 questions
Solidity-native unit tests: inheriting Test, setUp, the assertEq family, naming conventions, and running forge test with filters, verbosity levels and gas snapshots. Interviewers ask because testing in the same language as the contract removes a translation layer, and because gas snapshots are how teams catch cost regressions.
questions
0 questions