3 ms·
> For integration tests, we use an in memory database. I think this can work for running the tests locally when speed is what you want, but you should still ha
by matwood 7y ago
> For integration tests, we use an in memory database.
I think this can work for running the tests locally when speed is what you want, but you should still have the tests run on the actual database on commits. It requires keeping a database running just for tests to run (it can be a smaller instance and startup/shutdown on demand), but it will save so much pain later.
- davedx 7y agoYes I thought I covered that here: "BUT! Be careful before you embark down the path of running integration tests against a different database than the one you use when running the application. There are SO many pitfalls"