Ask HN: Bad tests better than no tests? I can see this going both ways. But I think a project without tests would be less toxic than a project with bad tests. I'm curious what your thoughts are on this. |
Ask HN: Bad tests better than no tests? I can see this going both ways. But I think a project without tests would be less toxic than a project with bad tests. I'm curious what your thoughts are on this. |
They may be bad, but if they work and don't get in the way, there's no reason to remove them. Even if they're useless, you're pretty much guaranteed to prove yourself incorrect the moment you delete them (you'll introduce an issue they would catch). In most cases it's better to just leave stuff in until it can be rewritten properly - removing should be the last resort.