testing

Standardize Vitest unit and Playwright E2E testing infrastructure.

1|1|Updated Nov 14, 2025
One-click install
npx skills add https://github.com/Jasrags/ShadowMaster --skill testing-jasrags
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing
Source: https://github.com/Jasrags/ShadowMaster/tree/main/.claude/skills/testing
Command: npx skills add https://github.com/Jasrags/ShadowMaster --skill testing-jasrags

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill consolidates testing infrastructure for Shadow Master, guiding you to locate, run, and maintain Vitest unit tests, Playwright E2E tests, and testing patterns.

Core Features & Use Cases

  • Test discovery & organization: Locate and categorize unit/integration tests alongside source code.
  • E2E and unit testing: Seamlessly run Vitest and Playwright tests across environments.
  • Use Case: When adding a new feature, quickly wire up unit tests and end-to-end scenarios using the repository's existing patterns.

Quick Start

Run the project's test suite with pnpm test, and execute end-to-end tests with pnpm test:e2e.

Frequently Asked Questions about testing

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

FAQPage Schema
How do I standardize testing infrastructure for Vitest and Playwright?

Standardize testing infrastructure by unifying Vitest unit tests and Playwright E2E tests. This approach covers local development, CI pipelines, and test discovery to accelerate onboarding and enforce quality checks.

What is the best way to run unit and E2E tests across local and CI environments?

Run unit and E2E tests across environments by executing pnpm test for the Vitest suite and pnpm test:e2e for Playwright. This standardizes execution and reporting across local development and CI pipelines.

How do I organize unit and integration tests alongside source code?

Organize tests alongside source code by following standardized repository patterns for test discovery. This categorizes unit and integration tests efficiently to accelerate onboarding and maintenance.

Can I use this testing harness to wire up new feature tests using existing patterns?

Yes, you can wire up new feature tests using existing repository patterns. The harness guides you to locate and maintain Vitest unit tests and Playwright E2E scenarios seamlessly.

Does the testing infrastructure support CI pipelines for automated quality checks?

Yes, the testing infrastructure fully supports CI pipelines. It standardizes test execution and reporting across environments to enforce test outcomes and accelerate quality checks.

Why do I need a unified test harness for Vitest and Playwright?

You need a unified test harness to consolidate testing infrastructure, guiding you to locate, run, and maintain Vitest unit tests, Playwright E2E tests, and testing patterns efficiently.