pgtestdb
No phone app
7.0No. 10 of 26
in Database Testing Tools
in Database Testing Tools
- Recognised40% of the score50
- Phone app26% of the score0
- Documented20% of the score86
- Free plan14% of the score100
- Free plan
- Yes
- Runs on
- self-hosted
Summary
pgtestdb is ranked #10 of 26 in database testing tools on Samsung Mobile US Press. It runs on Self-hosted. There is a free plan.
pgtestdb plans and pricing
All plansCompared on database testing tools
- Database support
- PostgreSQLgithub.com
- Schema migration tests
- Yesgithub.com
- Test execution
- self_hostedgithub.com
- Test language
- Go, SQLgithub.com
Facts
- Purpose
- pgtestdb is a Go library for database-backed tests that provisions an isolated, migrated Postgres database for each test.github.com · 4 Oct 2026
- Template databases
- It runs migrations once to build a template database and clones that template for individual tests.github.com · 4 Oct 2026
- Speed
- The README says creating a test database from a template takes on the order of 10 milliseconds.github.com · 4 Oct 2026
- Concurrency
- Each test gets its own database, and the README says pgtestdb is concurrency-safe for parallel tests.github.com · 4 Oct 2026
- Cleanup and debugging
- Databases from passing tests are deleted automatically, while a failed test leaves its database available and logs a connection string for inspection.github.com · 4 Oct 2026
- Migration integrations
- Built-in adapters are listed for pgmigrate, golang-migrate, goose, dbmate, Atlas, sql-migrate, Bun, and Tern; custom migrators are also supported.github.com · 4 Oct 2026
- Database drivers
- The library uses Go's database/sql interface and supports pgx, lib/pq, or another database/sql driver.github.com · 4 Oct 2026
- Postgres requirement
- Users must provide a running Postgres server; the README describes Docker, native installations, and remote servers as options.github.com · 4 Oct 2026
- Permissions
- The configured server user needs capabilities to create databases and roles, and the README recommends using a dedicated testing server rather than production.github.com · 4 Oct 2026
- Default test role
- The default role used for test databases has NOSUPERUSER, NOCREATEDB, and NOCREATEROLE capabilities, so it cannot create extensions by default.github.com · 4 Oct 2026
- Database limits
- The README notes that highly parallel test suites can exceed a Postgres server's connection limit and suggests tuning test parallelism or server capacity.github.com · 4 Oct 2026
- License
- The repository identifies the project as MIT licensed.github.com · 4 Oct 2026
- Maker
- The repository is maintained under the GitHub account peterldowns; the opened project page does not state a maker name, headquarters, or founding date.github.com · 4 Oct 2026
Best pgtestdb alternatives
See all 12Where it ranks on Samsung Mobile US Press
- Best Database Testing Tools in 2026#10 of 26
Is pgtestdb yours?
Claim it for free: prove the domain, then correct facts, plans and screenshots. An editor reviews every change.
Sources
- github.com/peterldowns/pgtestdb· checked 4 Oct 2026



