testing-expert

Analyze and improve Jest, Vitest, and Playwright test reliability and structure.

Updated Apr 23, 2025
One-click install
npx skills add https://github.com/ripgraphics/authorsinfo --skill testing-expert-ripgraphics
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing-expert
Source: https://github.com/ripgraphics/authorsinfo/tree/main/.cursor/skills/testing-expert
Command: npx skills add https://github.com/ripgraphics/authorsinfo --skill testing-expert-ripgraphics

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses common challenges in software testing, including flaky tests, poor test structure, ineffective mocking, and low coverage, leading to more robust and maintainable code.

Core Features & Use Cases

  • Test Structure & Organization: Guides on organizing tests for better maintainability and clarity.
  • Mocking Strategies: Provides patterns for effective use of test doubles (spies, stubs, mocks).
  • Async & Timing Debugging: Offers solutions for intermittent failures and race conditions.
  • Coverage Analysis: Helps in achieving meaningful test coverage and identifying gaps.
  • CI/CD Optimization: Strategies for faster and more reliable test execution in pipelines.
  • Use Case: Debugging a flaky integration test that intermittently fails in CI but passes locally by analyzing test isolation and environment consistency.

Quick Start

Use the testing-expert skill to analyze and improve the reliability of our Jest test suite.

Frequently Asked Questions about testing-expert

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

FAQPage Schema
How do I fix flaky integration tests that pass locally but fail in CI?

Fix flaky tests by analyzing test isolation and environment consistency. This skill provides strategies for debugging intermittent failures and race conditions, ensuring reliable test execution across local and CI pipelines.

What is the best way to structure mocking in Jest and Vitest?

Structure mocking using spies, stubs, and mocks. This skill provides patterns for effective test doubles in Jest and Vitest to improve test reliability and maintainability.

How do I analyze test coverage to identify gaps in my test suite?

Analyze test coverage by evaluating meaningful metrics and identifying untested paths. This skill helps achieve comprehensive coverage analysis and identify gaps for Jest, Vitest, and Playwright.

Can I optimize test automation execution speed for CI/CD pipelines?

Optimize test automation execution for CI/CD pipelines. This skill provides strategies for faster and more reliable test execution in Jest, Vitest, and Playwright.

Why does asynchronous test debugging cause timing issues in Playwright?

Asynchronous test debugging causes timing issues due to race conditions. This skill offers solutions for intermittent failures and async timing problems in Playwright.