Why “Write Tests. Not Too Many. Mostly Integration” Is Bad Advice
codewithjason.com
codewithjason.com
Having a lot of tests can lead to undesirable outcomes, for example bad tests (tests that test the wrong things, that test the correct things wrongly, that aren't actually testing the code but something else, like library code or compiler output) and code that is structured poorly to accommodate testing rather than to accomplish a thing.