Replying to @jacek_smolak

@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".)

Tue, 21 Jul 2020 21:30:43 UTC51

2 replies

Replying to @coderbyheart

@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.