Timeline for Is this limitation of Test Driven Development (and Agile in general) practically relevant?
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 10, 2017 at 9:07 | comment | added | Doc Brown | sure, even if one needs to rewrite every test in a new programming language, one does not need to throw away everything, at least one can port the existing logic. And I agree to you 100% for the major real-world projects, the assumptions in the question are quite unrealistic. | |
| Jan 10, 2017 at 8:27 | comment | added | mcottle | @DocBrown - Yes I did. If you meant "wrong architecture" to mean "change the entire test suite" maybe you should have said that. Changing the Architecture does not mean that you have to trash all of the tests if they are Business Rule based. You will probably have to change all of them to support any new interfaces you create and even completely re-write some, but the Business Rules are not going to be superseded by a technical change so the tests will remain. Certainly investmenting in unit tests shouldn't be invalidated by the unlikely possibility of completely effing up the architecture | |
| Jan 10, 2017 at 6:45 | comment | added | Doc Brown | When I say "wrong architecture", I have cases in mind where one needs to throw away the existing test suite. Did you read my answer? | |
| Jan 9, 2017 at 22:38 | comment | added | mcottle | @Doc Brown Agreed, it won't solve that problem. But it will give you a suite of tests that exercise every assumption and business rule so that you can iteratively improve the architecture. Architecture so bad it needs a ground up rewrite to fix is very rare (I'd hope) and even in that extreme case the business rule unit tests would be a good starting point. | |
| Jan 9, 2017 at 22:26 | comment | added | Doc Brown | First, when I read your answer, I thought "yes, that is the core point". But after rethinking the question again, I thought it is not necessarily so abstract or unrealistic. If one picks blindly the completely wrong architecture, TDD won't solve that, not after 1000 iterations. | |
| Jan 9, 2017 at 6:57 | history | answered | mcottle | CC BY-SA 3.0 |