Naming tests

  • snake case is more readable than camel case (when > 30 characters, which tests usually are)
  • “should” is like training wheels

name tests as propositions ./resources/model-naming-tests.resources/screenshot_2020-12-16-18-14-05-708_com.google.jpg

name test as Method_input_result ./resources/model-naming-tests.resources/unknown_filename.png

(src: Video: Structure and Interpretation of Test Cases - Kevlin Henney)