3 ms·
Why would it be double or triple the LoCs to maintain?
by Jtsummers 2y ago
Why would it be double or triple the LoCs to maintain?
- 8n4vidtmkvmk 2y agoVs zero tests? My tests are usually bigger than my implementation.
- motorest 2y ago> Vs zero tests? If you don't bother with tests, discussing TDD is like famine victims discussing nutritional levels reported in food labels. > My tests are usually bigger than my implementation. That's perfectly fine if you feel your tests are important. Getting back to the topic, TDD does not enforce coverage targets or even minimum coverage bars.
- meiraleal 2y agoBecause test is code, it has bugs, it needs refactoring, needs to update dependencies, creates technical debt just like the code it is testing. We could even create tests for the tests to be sure our test suíte works. It is just a tradeoff of speed and increased complexity.