testing-expert

Define testing strategy requirements for React, Next.js, and NestJS projects.

2|1|Updated Apr 4, 2026
One-click install
npx skills add https://github.com/genfeedai/genfeed.ai --skill testing-expert-genfeedai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing-expert
Source: https://github.com/genfeedai/genfeed.ai/tree/main/.agents/skills/testing-expert
Command: npx skills add https://github.com/genfeedai/genfeed.ai --skill testing-expert-genfeedai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Design and implement robust testing strategies across React, Next.js, and NestJS applications to improve code quality, reliability, and maintainability by covering unit, integration, and end-to-end tests.

Core Features & Use Cases

  • Establish testing pyramid guidelines, coverage targets, and consistent testing workflows for multi-framework projects.
  • Leverage tools like Jest or Vitest, React Testing Library, Supertest, Playwright, and Cypress to cover unit, integration, and E2E tests.
  • Provide patterns for test organization, mocks, fixtures, and CI integration to ensure repeatable, fast tests.
  • Use cases include adding unit tests for components/services, integration tests for API endpoints, and E2E tests for user flows across React and NestJS layers.

Quick Start

Begin by reading the full guide in references/full-guide.md to configure your project's testing strategy.

Frequently Asked Questions about testing-expert

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

FAQPage Schema
How do I structure a testing strategy for React and NestJS projects?

A React and NestJS testing strategy defines the scope of unit, integration, and end-to-end tests. It establishes pyramid guidelines, measurable coverage targets, and consistent workflows using tools like Jest, Vitest, and Playwright.

What is the best way to configure Jest or Vitest for Next.js applications?

Configuring Jest or Vitest for Next.js involves defining maintainable test patterns aligned with your project structure and CI workflows. You should establish mocks, fixtures, and documentation standards to ensure repeatable, fast tests across your application layers.

How do I write integration tests for NestJS API endpoints?

Integration tests for NestJS API endpoints use tools like Supertest to cover API interactions. You should use established patterns for test organization and mocks to ensure repeatable, fast tests that validate endpoint behavior within your CI workflows.

Does React Testing Library work for end-to-end testing user flows?

React Testing Library is used for unit and integration tests of React components, not end-to-end testing. For E2E tests covering user flows across React and NestJS layers, Playwright or Cypress are the recommended tools.

Why do I need both unit and e2e tests in a multi-framework project?

Unit tests validate individual components or services, while e2e tests validate complete user flows across React and NestJS layers. Combining them improves code quality, reliability, and maintainability by covering isolated logic and full application behavior.