Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Do not re-invent the wheel. Every homegrown mock, test tool or framework needs to itself be tested and maintained. There are tons of good testing frameworks and tools out there, use those instead.

...

Write Clean and Re-Usable Test Code

Maintain testing code as you would production code. This means keep the test code clean and extract re-usable code when it makes sense to do so.

...

A Lot of Repeated Test Code

SeeĀ Best Practices, Smells and Anti-Patterns.Write Clean And Re-Usable Test Code

Creating Mocks Manually

SeeĀ 

Test Multiple Behaviors in a Single Test

...