Slide 23
Slide 23 text
Writing tests
• Tests are complex when the underlying code is
complex
• Symptoms : mockery, complex setup, too many tests
per unit
• Writing a test should be easy, if it is hard, the code
being tested could be complex.
• Complex code can be written even when doing TDD.
• When you are having a hard time writing a test, pay
attention to the code.
7
Thursday, 13 December 12