Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 1.89 KB

README.md

File metadata and controls

22 lines (15 loc) · 1.89 KB

adrianbrad psqldocker

📊 psql-docker-tests-example

GitHub go.mod Go version of a Go module GoDoc reference example

CodeFactor Go Report Card lint-test codecov

Parallel black box PostgreSQL unit tests run against a real database.

Consider reading the Medium Story first.

This package provides examples on how to run PostgreSQL units tests against a real database with every tests running in a separate SQL transaction. You can find the tests in this package.

The PostgreSQL database is started using the https://github.com/adrianbrad/psqldocker package.

The sql connections are opened in an isolated SQL transaction using the https://github.com/adrianbrad/psqltest package.