4 ms·
He said that too, and sometimes is better to write the tests after you have the functionality finished and working because you know exactly what you expect an
by simion314 7y ago
He said that too, and sometimes is better to write the tests after you have the functionality finished and working because you know exactly what you expect and you add the tests to prevent feature updates to cause unexpected changes.
IMO TDD works if your input and output is clear from the start and the way to get the output is convoluted enough that you need the test.2