Team

Integration testing

A routine run together with what it calls and what it fires, for real.

Run it

The database URL goes in the DATABASE_URL environment variable. There is no command-line flag for it.

export DATABASE_URL=postgresql://user:pass@host:5432/mydb
unitautogen integration --schema public

On Windows PowerShell, set it with $env:DATABASE_URL="postgresql://user:pass@host:5432/mydb". The standard PG* variables work too. Connecting →

It picks up your Team licence file automatically. On Supabase, run unitautogen --supabase integration --schema public from your project. It connects to the local Supabase database itself.

The Integration Testing Report

  • Same four summary cards, measured across the whole call map
  • One row per root function
  • Click a root for its call map, in real call order
  • Per-test write footprint across every table the map touches
  • Stitched annotated source of every function in the map
Integration Testing Report with one row per root function
Call map drill-down for one root function
A root's call map drill-down.

What an uncovered line means here