Don’t forget integration tests to make sure your software’s modules work together.
For sure unit tests are quicker but they test code in isolation and won’t help you find bugs which relate to communication across boundaries for example between your app and your DB.