4 ms·
I disagree. 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
by axod 18y ago
I disagree.
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.
- gdee 18y ago"If I'm constantly changing my mind about how best to do something" then you're finding /more/ not /best/ ways.
- Retric 18y agoIf 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.