We follow what we call TID (Test Informed Development).
Basically, we know that we're going to have to write tests when we're done, so we are sure to develop it in a way that is going to be (relatively) easy to write accurate and comprehensive tests for.
Basically, we know that we're going to have to write tests when we're done, so we are sure to develop it in a way that is going to be (relatively) easy to write accurate and comprehensive tests for.