Unit testing is great, and in-memory databases are great for unit testing, but testing against an SQLite database when production is running Postgres or MySQL is not ideal.

Docker allows us to enjoy the speed of an in-memory database while using the engine of our choice without complicated configuration.

#Docker #database

How to use Docker for in-memory test database
1 Likes22.80 GEEK