pgpm-testing

Installation
SKILL.md

PGPM Testing

Run PostgreSQL integration tests with isolated databases using the pgsql-test package.

Testing Framework Standard

IMPORTANT: Constructive projects use Jest as the standard testing framework. Do NOT use vitest, mocha, or other test runners unless explicitly approved. Jest provides:

  • Consistent testing experience across all packages
  • Built-in mocking and assertion libraries
  • Snapshot testing support
  • Parallel test execution

When to Apply

Use this skill when:

  • Writing integration tests that need a database
  • Testing PGPM modules or migrations
  • Setting up isolated test databases
  • Seeding test data from SQL files or PGPM modules
Related skills

More from constructive-io/constructive-skills

Installs
7
First Seen
Feb 27, 2026