News for hackers. Stuff that matters.
Re:How I Write Tests by scaryclam on Sunday January 01, 2017 @05:58PM (#13297904)
Careful getting too DRY with your tests. Far too many projects have test that should be failing but aren't because of some silly side effect, caused by DRYness and lack of isolation.

I'd go as far to say that attempts at DRY cause more problems in test suites than copy-paste coding, many of which never even get caught. In a test suite, this is very bad.

There are no comments on this comment yet.