test-api

Generate Supertest integration tests for Express/NestJS API routes.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/rladydqls99/claude-marketplace --skill test-api-rladydqls99
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-api
Source: https://github.com/rladydqls99/claude-marketplace/tree/main/plugins/dev-team-plugin/skills/test-api
Command: npx skills add https://github.com/rladydqls99/claude-marketplace --skill test-api-rladydqls99

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the generation of integration tests for your API endpoints, ensuring robust and reliable backend development.

Core Features & Use Cases

  • Supertest Integration: Generates tests using the Supertest library for Express/NestJS.
  • Full Request/Response Cycle Testing: Includes DB seeding/teardown, auth token setup, and comprehensive assertions.
  • Use Case: When you've just implemented a new REST API route for user creation, use this Skill to automatically generate a suite of tests covering successful creation, missing fields, and unauthorized access.

Quick Start

Use the test-api skill to generate Supertest tests for the POST /api/users endpoint.

Frequently Asked Questions about test-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate Supertest integration tests for Express API routes?

To generate Supertest integration tests for Express API routes, provide your REST API endpoint details to automatically create test suites covering the full HTTP request-response cycle, including route handlers and middleware. It outputs ready-to-use test code for your backend.

Can I use this to test NestJS REST API endpoints with database seeding?

Yes, you can test NestJS REST API endpoints with database seeding. It generates Supertest tests that include database state management, authentication token setup, and detailed response validation for end-to-end testing requirements.

What is the best way to test authentication and missing fields in API responses?

The best way to test authentication and missing fields in API responses is to generate integration tests covering successful creation, unauthorized access, and validation errors. This approach validates the full HTTP request-response cycle using actual HTTP interactions.

Does this work for both Express and NestJS backend development environments?

Yes, this works for both Express and NestJS backend development environments. It uses the Supertest library to generate integration tests applicable for testing REST API endpoints, route handlers, and middleware requiring actual HTTP interactions.

Why should I use Supertest for end-to-end testing instead of unit tests?

Supertest for end-to-end testing covers the full HTTP request-response cycle, whereas unit tests isolate components. Supertest integration tests ensure robust backend development by validating actual HTTP interactions, database state, and authentication tokens collectively.