api-integration-test

Installation
SKILL.md

API Integration Test

Generates integration tests for a REST endpoint that run against a real (or in-memory) server and database, covering the full request lifecycle.


Phase 1: Discovery

Extract before writing anything:

  1. Framework — Express, Fastify, NestJS, Hapi? (affects how the server is spun up in tests)
  2. Test runner — Jest or Vitest?
  3. HTTP clientsupertest, undici, native fetch? Default to supertest if Express/Fastify.
  4. Auth mechanism — JWT, session cookie, API key, none?
  5. Database — real DB with test instance, in-memory (SQLite), or mocked at the service layer?
  6. What the endpoint does — method, path, request body shape, expected response shape
  7. Existing test setup — is there already a test app factory, seed util, or DB teardown helper?

If the user pastes the route handler, extract the above directly. If not, ask.

Installs
2
GitHub Stars
2
First Seen
Apr 22, 2026
api-integration-test — blunotech-dev/agents