testing

Automate unit, integration, and end-to-end tests with Vitest, Playwright, and Go.

14|4|Updated Jan 14, 2026
One-click install
npx skills add https://github.com/aiyuekuang/LLMProxy --skill testing-aiyuekuang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing
Source: https://github.com/aiyuekuang/LLMProxy/tree/main/.windsurf/skills/testing
Command: npx skills add https://github.com/aiyuekuang/LLMProxy --skill testing-aiyuekuang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a structured approach to building, running, and maintaining tests across software layers using TDD, unit tests, integration tests, and E2E scenarios with modern tooling.

Core Features & Use Cases

  • TDD workflow: drives design by writing failing tests first and implementing just enough code.
  • Frontend testing: coverage for React components using Vitest and Testing Library.
  • E2E testing: end-to-end scenarios with Playwright to validate user flows.
  • Go testing: examples for unit and integration tests in Go services.
  • Debugging guidance: practical patterns to isolate failures and improve test reliability.

Quick Start

Install the required testing tools and begin by writing a failing test to drive development.

Frequently Asked Questions about testing

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

FAQPage Schema
How do I set up end-to-end testing with Playwright for React components?

End-to-end testing with Playwright validates user flows in React components by automating browser interactions across frontend layers. It guides setup and scenario creation to ensure application paths function correctly.

What is the best way to apply TDD workflow when building HTTP handlers in Go?

TDD workflow for Go HTTP handlers involves writing failing unit tests first to drive service layer implementation. This approach ensures backend code meets requirements before functional code is written.

Can I use Vitest for both unit and integration testing of React components?

Vitest supports unit and integration testing for React components when paired with Testing Library. It automates frontend test execution to validate component behavior and integration points.

Does this testing approach support multi-stack patterns across frontend and backend?

Multi-stack testing patterns are supported across frontend, backend, and API layers. Cross-language examples demonstrate integration between React Vitest tests, Playwright E2E flows, and Go services.

Why do my frontend tests fail intermittently during E2E runs and how do I debug them?

Intermittent E2E test failures are addressed through practical debugging guidance to isolate failures and improve test reliability. Patterns help identify timing issues or state mismatches in user flows.

When should I write integration tests versus unit tests for API service layers?

Unit tests validate isolated API service layer functions, while integration tests verify interactions across HTTP handlers and dependencies. Choosing depends on whether you test logic in isolation or full request flows.