Beta

The logic in your database, actually tested.

Point it at a PostgreSQL database. It writes the pgTAP tests, seeds the data, runs them and reports coverage.

Download Get started
Standard pgTAP for PostgreSQL 14 to 18. Needs pgTAP and plpgsql_check in the target database.
UnitAutogen Database Coverage Report with four summary cards and a per-routine table showing branch and statement coverage
One run produces the Database Coverage Report, with click-through to every routine's annotated source.

The one guarantee

Never a fabricated, false-passing, or flaky test.

What it does

Three capabilities, three editions.

Coverage

Free

Unit and trigger tests, run for you. Line and branch coverage, including dynamic SQL. Every uncovered line explained.

Learn more →

Integration testing

Team

Each function run with what it calls and what it fires. Coverage across the whole call map.

Learn more →

Security coverage

Enterprise

Tenant isolation proven through your functions, views and triggers, with the evidence per routine.

Learn more →

PII audit

Enterprise

Personal data caught escaping through error and RAISE messages, the leak nobody writes a test for.

Learn more →

One command, one run

unitautogen --schema public --out unit_tests --html report.html --json report.json

What comes out

What every routine gets

Requirements

Correctness. Isolation. Compliance.

Built for developers. Bought by security and compliance.

Correctness

The logic returns what it should. Unit and integration tests, generated. Free to start.

Unit and integration testing →

Isolation

One tenant cannot reach another, through the policies and through the code that bypasses them.

Tenant isolation and security →

Compliance

Dated, reproducible reports that stand as audit evidence for HIPAA and SOC 2 access controls.

Compliance evidence →