This is my version: Don't stop writing tests. Not until 100% coverage. Mostly unit.
Especially if you are developing a library. An untested code branch is a ticking time bomb, in my book.
An application for the end users indeed does benefit from integration tests, a lot. The problem is running them efficiently. If they take an hour to run, nobody will care to analyse them.
After a point they just fix them to make them pass. Integration tests are really easy to cheat when the people writing them and using them are both really demotivated.
Especially if you are developing a library. An untested code branch is a ticking time bomb, in my book.
An application for the end users indeed does benefit from integration tests, a lot. The problem is running them efficiently. If they take an hour to run, nobody will care to analyse them.