drizzle-orm-test
Instant, Isolated Testing for Drizzle ORM
Get instant, isolated Postgres databases optimized for Drizzle ORM testing with automatic transaction rollbacks, schema migrations, and type-safe queries. Write real SQL. Test real schemas. Stay fast.
Drizzle-Optimized
Pre-configured for Drizzle ORM schemas, migrations, and type-safe queries
Per-test Rollback
Every test runs in its own transaction or savepoint
Schema Testing
Test Drizzle schemas and migrations with full type safety
drizzle-orm-test Features
Optimize your Drizzle ORM testing workflow
Drizzle-Ready Test Databases
Get fresh Postgres databases pre-configured with Drizzle ORM setup, migrations, and schema patterns for zero-friction testing.
Automatic Transaction Rollbacks
Every test runs in its own transaction or savepoint, ensuring complete isolation and automatic cleanup.
Type-Safe Schema Testing
Test your Drizzle schemas with full TypeScript type safety and automatic inference.
Flexible Seeding System
Run .sql files, programmatic seeds, CSV/JSON fixtures, or run your Drizzle migrations.
Test Framework Compatible
Works seamlessly with Jest, Mocha, Vitest, and any async test runner for maximum flexibility.
Auto Teardown
No residue, no reboots, just clean exits with automatic cleanup of test databases.