An open API service indexing awesome lists of open source software.

https://github.com/aodin/go-sql-test-harness

Go code for confirming SQL connections are closed during testing
https://github.com/aodin/go-sql-test-harness

Last synced: 2 months ago
JSON representation

Go code for confirming SQL connections are closed during testing

Awesome Lists containing this project

README

        

# go-sql-test-harness
Confirm connections are properly closed during testing

Requires Go >= 1.4 because of `TestMain`

Set credentials for a postgres DB in `harness_test.setup`. Compare the output of:

go test -run=TestGood

to:

go test -run=TestBad

Happy hacking!

aodin, 2016