United-States flag

2

Unit test or bug fixing?

I keep hearing about unit tests, but wondering is it in long term more efficient to spend that time on bug fixing?

2

The Best Answer

United-States flag
I believe it is more effective to have unit tests as it changes developers behavior. Having ways to automatically test their own work make them more careful and that habit results in cleaner code. Bugs are fixed before they are introduced and end users end up happier....

Like this post? Share it!