4 ms·
> I have never actually seen somebody writing all of the tests before implementing the code even if they claimed doing TDD. I had an architect who did exactly
by oriolid 7y ago
> I have never actually seen somebody writing all of the tests before implementing the code even if they claimed doing TDD.
I had an architect who did exactly this. It was awesome, one could just look at his code and see where it would fail because it didn't occur to him to either test for that case or actually think what the code does. His only explanation would be "but it passes the tests". Later he was made into CTO.
In a way, not testing for edge cases that are found during development is quite similar to commenting on article one hasn't fully read.