Re:"Joel Spolksy is wrong about my work" - Kent Beck
by Retric on Wednesday February 04, 2009 @11:42AM
(#465965)
If your testing in the code then your doing unit tests. But probably in a poor fashion.
Unit tests should hook into the application in such a way that you can reorder the GUI and change nothing.
If you are using Unit tests correctly then any change to the code base at worst requires 10% of that effort to change the test cases. If you can think of any meaningful change that is worse then that your something is wrong with how you're testing.
If I'm constantly changing my mind about how best to do something, I don't want the massive overhead of having to change unit tests all the time as well.
I'll test as I go, in the code.