Integrated Tests Are A Scam

Duration 90 minutes

Integrated tests are a scam, a self-replicating virus that takes over your project and burdens you with long-running, fragile, hard-to-understand test suites. You're probably writing 2-5% of the integrated tests you need to test thoroughly. You're probably duplicating unit tests all over the place. Your integrated tests probably duplicate each other all over the place. When an integrated test fails, who knows what's broken? When you refactor, you have to fix dozens of integration tests.

Stop it. Learn the two-pronged attack that solves the problem: collaboration tests and contract tests.