testing-mastery

Orchestrate TDD, unit, integration, and Playwright E2E testing strategies.

2|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/Tai-ch0802/skills-bundle --skill testing-mastery-tai-ch0802
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing-mastery
Source: https://github.com/Tai-ch0802/skills-bundle/tree/main/testing-mastery
Command: npx skills add https://github.com/Tai-ch0802/skills-bundle --skill testing-mastery-tai-ch0802

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright-core, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a unified approach to software testing, ensuring code quality, catching regressions early, and improving development confidence through various testing methodologies.

Core Features & Use Cases

  • TDD Workflow: Guides developers through the Red-Green-Refactor cycle for new features.
  • Unit & Integration Testing: Offers patterns and best practices for testing individual components and their interactions.
  • E2E Testing: Provides strategies for end-to-end testing using tools like Playwright to simulate user flows.
  • Use Case: When developing a new user authentication module, use TDD to write tests first, then implement the code, and finally refactor for clarity and efficiency. For critical user journeys like checkout, employ E2E tests with Playwright to ensure a seamless experience.

Quick Start

Execute the unified test runner script for the current project, enabling coverage reporting.

Frequently Asked Questions about testing-mastery

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

FAQPage Schema
How do I use TDD, unit, and integration testing to improve code quality?

To improve code quality, this Skill orchestrates a comprehensive testing strategy encompassing TDD, unit testing, and integration testing. It guides developers through the Red-Green-Refactor cycle and offers patterns for testing individual components and their interactions to catch regressions early.

What is the best way to set up E2E testing with Playwright for critical user flows?

The best way to set up E2E testing with Playwright is by simulating critical user journeys like checkout. This Skill provides specific strategies and runtime scripts for executing Playwright tests to validate business logic and ensure a seamless user experience end-to-end.

Does this testing strategy include runtime scripts for test execution and accessibility checks?

Yes, the testing strategy includes runtime scripts designed for test execution and accessibility checks. These scripts enable immediate execution of the unified test runner for the current project while enabling coverage reporting to validate critical user flows.

When do I need integration testing versus E2E testing during feature development?

You need integration testing when validating interactions between individual components, while E2E testing is needed for validating critical user flows. The Skill guides the selection of appropriate testing methods based on whether you are fixing bugs, developing features, or validating business logic.

Can I use this Skill to guide the entire TDD workflow for a new authentication module?

Yes, you can use this Skill to guide the TDD workflow for a new authentication module. It directs the process of writing tests first, implementing the code, and finally refactoring for clarity and efficiency, ensuring development confidence and catching regressions early.