4 ms·
No tests can be better than a bunch of brittle mock object tests that don't test anything important. Thankfully it's very easy to delete them. If changing one
by fleventynine 4y ago
No tests can be better than a bunch of brittle mock object tests that don't test anything important. Thankfully it's very easy to delete them.
If changing one line of code regularly requires me to update mocks in 100 test cases, those test cases may have negative value.
- scaryclam 4y agoI've seen plenty of scenarios when a test has also given a false sense of security. It's not actually testing anything important, but looks like it does and should be, but doesn't actually catch defects. This is also a case of no tests being better as at least everyone knows something's untested :/