senior-qa

Generate Jest test stubs and Playwright E2E tests for React/Next.js apps.

Updated Apr 2, 2026
One-click install
npx skills add https://github.com/4lerman/text_evaluator --skill senior-qa-4lerman
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: senior-qa
Source: https://github.com/4lerman/text_evaluator/tree/main/.agents/skills/engineering-skills/senior-qa
Command: npx skills add https://github.com/4lerman/text_evaluator --skill senior-qa-4lerman

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jest, react-testing-library, playwright, python, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the process of generating test suites, analyzing test coverage, and setting up E2E tests for React/Next.js applications, reducing manual effort and improving testing efficiency.

Core Features & Use Cases

  • Test Suite Generation: Automatically generates Jest test stubs for React/TypeScript components.
  • Coverage Analysis: Parses Jest/Istanbul coverage reports and identifies gaps for improvement.
  • E2E Test Setup: Scaffolds Playwright tests for Next.js routes and configures test runners.
  • Use Case: Imagine you have a React/Next.js application and want to ensure comprehensive test coverage. Use this Skill to generate tests for new components, analyze coverage, and set up E2E tests.

Quick Start

Run e2e_test_scaffolder.py src/app/ --output e2e/ to generate E2E tests for your Next.js application.

Frequently Asked Questions about senior-qa

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

FAQPage Schema
How do I automate Jest test stub generation for React and Next.js components?

Automated test generation parses React and Next.js component files to output Jest test stubs, eliminating manual boilerplate creation and providing initial test suites for your components.

How do I parse Jest coverage reports to find untested code in my application?

Parsing Jest and Istanbul coverage reports identifies specific coverage gaps in your application by analyzing the generated reports, highlighting areas requiring additional test cases for improvement.

How do I scaffold Playwright E2E tests for Next.js routes?

Scaffolding Playwright E2E tests for Next.js routes involves executing a Python script like e2e_test_scaffolder.py, which generates test files for specified application routes and configures the test runner.

Do I need Python installed to run test automation scripts for React applications?

Yes, Python is required to execute the test automation and scaffolding scripts. The toolchain also requires Jest, React Testing Library, and Playwright to fully support automated testing and coverage analysis.

What is the best way to set up E2E testing alongside Jest in a Next.js project?

Setting up E2E testing alongside Jest in a Next.js project is best achieved by scaffolding Playwright tests for routes while maintaining Jest for component tests, ensuring comprehensive application coverage.

When should I not use automated test suite generation for my React components?

Automated test suite generation should not be the only step when components require highly specific business logic testing; generated stubs provide a baseline that requires manual refinement for complex React scenarios.