nestjs-testing-skill

Official

Automate NestJS tests, ensure backend quality.

AuthorAgentiveCity
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Setting up, writing, and refactoring tests for NestJS TypeScript backends (unit, integration, e2e) with Jest, TestingModule, and Supertest can be complex and time-consuming. This Skill automates the testing process, ensuring application reliability, maintainability, and reducing manual effort.

Core Features & Use Cases

  • Comprehensive Test Setup: Configure Jest for NestJS, including root and e2e configurations, and define package.json scripts for running tests.
  • Unit & Controller Test Generation: Write or refactor unit tests for services, guards, pipes, and controllers using Nest's TestingModule and mocked dependencies.
  • End-to-End API Validation: Implement e2e tests using Supertest to bootstrap the full Nest application and hit real HTTP endpoints, including auth-protected routes.

Quick Start

Write unit tests for this NestJS service, add e2e tests for our auth routes in Nest, and mock TypeORM repositories in my Nest tests.

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: nestjs-testing-skill
Download link: https://github.com/AgentiveCity/SkillFactory/archive/main.zip#nestjs-testing-skill

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 223,000+ vetted skills library on demand.