~/talk

Test your tests The dos and don'ts of testing

Talkat Solidity Summit 2023 · on Thursday, 2023-11-16· [testing]
links:none on file
slides:none on file

A catalogue of concrete testing failures and fixes: a proposed ERC‑721A optimization hides an ERC‑721A boundary bug (using >= instead of >), a wad conversion fuzzer run with Foundry fuzzer at 10,000 cases misses a static-boundary value, and a multiplication test copied an OR where an AND belongs. Recommendations are specific: split tests to one assertion each, assert explicit revert reasons, bound inputs, use differential fuzzing and run persistent offensive fuzzing for weeks; try Necessist test mutator to validate tests themselves.

AI-written summary · about

  1. 0:00Introduction
  2. 1:18The role of testing
  3. 3:01Motivation
  4. 3:39Example
  5. 4:55My testing approach
  6. 6:20Lack of systematic testing approach
  7. 7:30Good testing is hard
  8. 11:25Testing W multiplication
  9. 14:30Offensive fuzzing
  10. 18:58Conclusions
  11. 19:37Key takeaways
  12. 21:41Questions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.