Unit Tests As Throw Away Design
Posted by Jan Vermeir in the late evening: January 15, 2008
Unit tests are brittle: if you change the class under test there’s a more than average chance that you will have to change a load of unit test as well. On the other hand unit tests help you think about design on a micro level. The test shows what a method is supposed to do, without room for the interpretation errors you get when using abstractions as design.
So, should we use unit tests or not?
(more...)
Filed under: Java, Testing
4 Comments