tap-test

Installation
SKILL.md

Tap Test - Real API Integration Test Generator

Generate production-grade HTTP-level integration/e2e tests that simulate real client behavior against a live API + real database.

What is a Tap Test?

A "tap test" taps into your API exactly like a real client would:

  • Real HTTP requests (not function calls)
  • Real database (not mocks)
  • Real server (lightweight Fastify instance)
  • Real responses captured via EventEmitter or HTTP endpoints
  • Real cleanup after each test

Pattern

1. beforeAll: cleanup DB → seed test data → start Fastify server
2. beforeEach: reset test users + clear captured responses
3. test: POST to API → wait for responses → verify via HTTP state endpoint + DB queries
Installs
3
GitHub Stars
8
First Seen
Mar 15, 2026