More than testing - writing unit tests for better design
For the longest time I thought unit tests were a good tool for testing (Duh!). But now I think they are greater than that - they are direct feedback on the design of the code. Writing tests helps us write better code.
I give some examples and walkthroughs of unit tests informing the design in this article.
|
Member discussion: