Hacker News new | ask | show | jobs
by kazinator 4329 days ago
Code without a regression test suite is debt.

Code with tons of pointless unit tests is debt too.

1 comments

I 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.