@jacek_smolak I agree. Typically when I
design a new architecture, I find that TDD is not helping in finding a good
solution, it often takes two or three tries to get the architect right and
rewriting the tests all the time creates a lot of extra work. (This phase is
called "a spike".)
2 replies
@jacek_smolak Once I am satisfied, I
typically clamp the new code from two sides: I add end-to-end feature tests
(BDD) which cover the entire solution, and I add unit and integration tests for
parts of the code that's not trivial, while cleaning up and modularizing the it.
@jacek_smolak This way I can quickly try out
multiple solutions, but end up with a solid one.