1
0
mirror of https://github.com/xorcare/testing-go-code-with-postgres.git synced 2025-06-30 23:23:40 +02:00

Publish an example testing go code with Postgres

This commit is contained in:
Vasiliy Vasilyuk
2023-07-05 01:31:59 +03:00
parent 7e6770223e
commit b346272f7f
15 changed files with 559 additions and 0 deletions

13
README.md Normal file
View File

@ -0,0 +1,13 @@
# Example of testing Go code with Postgres
The example suggests a solution to the problem of cleaning the database after
running tests and the problem of running tests in parallel. It also shows how
to organize integration testing of Go code with Postgres.
## How to use
Run `make test-env-up test` and then everything will happen by itself.
## Disclaimer
**This example is not an example of software architecture!**