[Tutor] duplication in unit tests

spir denis.spir at free.fr
Thu Dec 10 02:14:09 CET 2009

Serdar Tumgoren <zstumgoren at gmail.com> dixit:

> I'll admit, I learned the hard way on a project earlier this year. I
> got that project done (again with the help of folks on this list), but
> didn't do any test-writing up front. And now, as the inevitable bugs
> crop up, I'm forced to patch them hoping that I don't break something
> else. It drove home the fact that I need to get serious about testing,
> even if I don't go full-bore TDD on every project.

The great thing about testing is, once you have test suites for each module (in the general sense of the term), for relations between them, for global functionality, then you can update, refactor, enhace, etc... with some amount of confidence that you're not just adding bugs to bugs.


la vita e estrany


More information about the Tutor mailing list