Parallel Go tests executed against a PostgreSQL database running on Docker

adrianbrad

Adrian Brad

Posted on April 19, 2022

Parallel Go tests executed against a PostgreSQL database running on Docker

Hello, I published an article explaining explaining how to run your Go tests in parallel against a PostgreSQL DB running on Docker. The PSQL container is created and destroyed programmatically, with Go, before and after running the tests.

Medium article: https://adrianbrad.medium.com/parallel-postgresql-tests-go-docker-6fb51c016796

Github repo with examples: https://github.com/adrianbrad/psql-docker-tests-example

πŸ’– πŸ’ͺ πŸ™… 🚩
adrianbrad
Adrian Brad

Posted on April 19, 2022

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related