Christian Tietze

  • Posts
  • Books
  • Apps
  • Work With Me
  • Contact

Variable Name Conventions in Tests

Jul 24th, 2019

Found a question about how to “best” write the tests for the Fizz Buzz kata. The author provides his approach and questions as a GitHub Gist. One interesting takeaway is his use of the name of his constants, e.g. anyNumberDivisibleBy3 = 3. It expresses very well what kind of placeholder this number is supposed to be.

Continue reading …

  • ∞ Permalink
  • • Comments
  • • Tags:
    • tdd
    • testing
    • convention

Contact • Newsletter • blog post feed
Become an affiliate • Legal Information • Twitter

Except where otherwise noted, content on this site is licensed CC BY-SA 4.0.