https://github.com/nwillc/testdb
An example of using an embedded container for DB testing
https://github.com/nwillc/testdb
Last synced: 4 months ago
JSON representation
An example of using an embedded container for DB testing
- Host: GitHub
- URL: https://github.com/nwillc/testdb
- Owner: nwillc
- License: isc
- Created: 2020-11-29T19:09:36.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-05-16T02:27:48.000Z (about 5 years ago)
- Last Synced: 2025-12-18T09:31:08.599Z (7 months ago)
- Language: Go
- Size: 114 KB
- Stars: 1
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[](https://tldrlegal.com/license/-isc-license)
[](https://github.com/nwillc/testdb/actions?query=workflow%3CI)
[](https://goreportcard.com/report/github.com/nwillc/testdb)
---
# testdb
An example of using an embedded container for DB testing in Go.
- Uses embedded container for testing
- Testing both a GORM and go-pg example
- Run through Github Actions to show containers work their without change
See [this write up](https://levelup.gitconnected.com/embedded-database-in-go-testing-10d29a8e454a?sk=edcbb02529136f5f2e3be43c84e834c7).