←back to thread

75 points markusw | 1 comments | | HN request time: 0.283s | source
Show context
whartung ◴[] No.45334732[source]
I don’t recall the mechanics but I do know that folks have bundled starting a local instance of PG solely for unit tests.

There’s a pre-install step to get PG on the machine, but once there, the testing framework stands it up, and shuts it down. As I recall it was pretty fast.

replies(2): >>45336185 #>>45340787 #
1. nullzzz ◴[] No.45336185[source]
This is IMO best done running pg in a container using docker-compose or similar