Oct 1, 2022
Conversely, if you do only integration tests, you basically have to rebuild large portions of your application to test literally anything, which means you probably won't write tests _either_. Also integration tests are really fragile--if you add something in a place you're not testing that needs another layer of bootstrapping, you've broken all the tests where that somewhere is at all referenced.