DEV Community

Cover image for Parallel Go tests executed against a PostgreSQL database running on Docker
Adrian Brad
Adrian Brad

Posted on • Edited on

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

Top comments (0)