Album Cover

Legacy Code Java

Close Preview
How do microtests become brittle, routinely broken, and generally useless?
Easy.

The same way production code does.
Yep.
Exert maximum effort to keep your microtests short, simple, and clean.
Remember: As you refactor code, refactor tests.
Use the same, or better, standards for rolling microtests as you do for code:
  • Reveal intention at every opportunity.
  • Reduce noise.
  • Eliminate duplicate code.
  • Eliminate extra code.
(Reading...)
| Tweet...
Page rating: | Rate this Page