3 ms·
The implication with these types of articles is always "any tests are better than no tests, but here's how to do better tests."
by lifefeed 4y ago
The implication with these types of articles is always "any tests are better than no tests, but here's how to do better tests."
- fleventynine 4y agoNo 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 :/