4 ms·
Yes. TDD is the micro version of Agile. It works because getting adequately comprehensive requirements out of a client, or for a business process, is incredibly
by pjc50 5y ago
Yes. TDD is the micro version of Agile. It works because getting adequately comprehensive requirements out of a client, or for a business process, is incredibly hard. The first version will nearly always be significantly wrong. Everyone then shouts "do better", but that's not within your control.
So both Agile and TDD evolve a solution from "in this case, the software needs to do this". You take the software to the client/users, find out the next layer of requirements when they say it's not quite right, and adapt it.
(Every now and again someone tries to make a sort of requirements document that's also an executable test. Directly mapping the given-when-then of user stories to arrange-act-assert. It doesn't work for the usual 5GL reasons, but it doesn't stop people trying)