Pgtemp: The easiest way to write tests with Postgres, no Docker necessary
github.comI made a Rust library and cli tool that starts a clean postgres instance for each test. The daemon version transparently proxies your connection to a new postgres server every time you connect to it.