Skip to content

A library for running tests against a real PostgreSQL database.

License

Notifications You must be signed in to change notification settings

Silicon-Ally/testpgx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This package was developed by Silicon Ally while working on a project for Adventure Scientists. Many thanks to Adventure Scientists for supporting our open source mission!

NOTE: this package is pre-v1.0.0 release, meaning that the API is liable to change as we add + refactor functionality. Since it's only for use in testing, that's likely fine for small projects, but contact us before integrating this into any larger/more serious projects.

testpgx

GoDoc CI Workflow

testpgx is a testing library for running tests against a real Postgres database. It provides a test with a *pgx.Conn connection to a live database running in a Docker container, though this can be converted into a more generic *sql.DB.

Usage

See the example/ directory for an example of how to integrate testpgx into a test suite.

Contributing

Contribution guidelines can be found on our website.

About

A library for running tests against a real PostgreSQL database.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published