Re.Mark

You don’t want to do it like that

Posted in Unit Testing by remark on December 7, 2006

James Carr has compiled a useful list of TDD Anti Patterns.  Worth reading.  And if you want to read more about unit testing, may I recommend Michael Feather’s book, Working Effectively with Legacy Code?  This is a great book that describes refactoring techniques you can apply to apply unit testing to existing, untested code – the sort of code that often feels untestable.  After reading this book I felt that in addition to being able to tackle legacy code, I had a much more instinctive feel for how to design code to be testable.  James’ post helps to keep the tests you’re writing clean.

Leave a Reply