4 ms·
Technical debt for me is code without tests. If I can't properly determine the intent of code, and there are no tests to ensure that refactoring is not breakin
by scrabble 12y ago
Technical debt for me is code without tests.
If I can't properly determine the intent of code, and there are no tests to ensure that refactoring is not breaking expected behavior, then it becomes difficult to work with that code in the future and I may end up creating workarounds and bypasses instead of simply updating the code.
- kazinator 12y agoCode without a regression test suite is debt. Code with tons of pointless unit tests is debt too.
- chiph 12y agoI agree with your #2. If the test doesn't add value (such as ensuring a requirement or story is correct) then it's noise. An exception might be made for utility methods that get used in sometimes strange ways, where you want to test every edge case possible.