Mark (aka Winsaucerer) here to show you how you can test your PostgreSQL database like a sorcerer. We are going to be using Spawn, a SQL build system supporting migrations and testing. You do not need to be using Spawn for migrations in order to use it for testing.
Source: [Dev.to](https://dev.to/mark_saward/powerful-regression-tests-for-your-postgresql-project-4f8)