3 ms·
TDD helps a lot against fragility imo. The main issue is explaining why your project takes so much longer as your tests force you to work out every edge case.
by f1refly 4y ago
TDD helps a lot against fragility imo. The main issue is explaining why your project takes so much longer as your tests force you to work out every edge case.
- cbrogrammer 4y agoTDD helps close to 0 % with fragility and only exists to help development
- danuker 4y agoHow would you apply TDD to a backup system? By writing backup and restore tests? What if one test fails unreproducibly?
- ilyt 4y agoWell, you should test your backups. But TDD is entirely unrelated to the problem aside from including "test" in the name
- ilyt 4y agoTDD not really. Having tests help, writing them first is irrelevant
- icedchai 4y agoIt doesn't. All those unit tests don't guarantee you have a working system, especially when everything is mocked out (which is often the case.) End-to-end and integration tests are much more helpful. But even then, they won't look at operational concerns like backup and recovery.