supertest-api-testing

Community

End-to-end HTTP tests with Supertest.

Authorwendeus0
Version1.0.0
Installs0

System Documentation

What problem does it solve?

API integration tests are essential to ensure HTTP endpoints behave correctly across controllers and data layers, but setting up deterministic tests with real or mocked DBs can be complex.

Core Features & Use Cases

  • Factory-driven tests: Create per-entity test factories with randomized values and explicit overrides to keep tests isolated.
  • HTTP endpoint validation: Verify request parsing, status codes, and response bodies for REST/JSON endpoints.
  • DB strategy flexibility: Switch between real databases or mocked repositories to balance realism and speed across environments.

Quick Start

Run the API test suite for HTTP endpoints using Supertest against your chosen data layer.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: supertest-api-testing
Download link: https://github.com/wendeus0/AI-dotfiles/archive/main.zip#supertest-api-testing

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.