epic-testing

Guide Vitest unit and Playwright end-to-end tests for Epic Stack applications.

Updated Jan 29, 2026
One-click install
npx skills add https://github.com/walbuc/iac-sorteios --skill epic-testing-walbuc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: epic-testing
Source: https://github.com/walbuc/iac-sorteios/tree/main/docs/skills/epic-testing
Command: npx skills add https://github.com/walbuc/iac-sorteios --skill epic-testing-walbuc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Guides development teams in validating Epic Stack apps by providing practical testing guidance and examples for unit tests with Vitest and end-to-end tests with Playwright.

Core Features & Use Cases

  • Type-safe test organization with unit and e2e patterns
  • Prebuilt fixtures and recipes for authentication, MSW mocks, and data setup
  • Clear conventions for writing user-centric tests that resemble real usage

Quick Start

Run the Vitest unit tests and Playwright end-to-end tests using the project’s fixtures to validate Epic Stack features.

Frequently Asked Questions about epic-testing

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

FAQPage Schema
How do I set up Vitest unit tests for an Epic Stack application?

Set up Vitest unit tests for an Epic Stack application by organizing tests with type-safe patterns and prebuilt fixtures. The skill provides structured recipes for data setup to validate features.

How do I write Playwright end-to-end tests for Epic Stack authentication flows?

Write Playwright end-to-end tests for Epic Stack authentication by utilizing prebuilt fixtures and recipes. These patterns help simulate real user interactions and validate auth workflows effectively.

Can I use MSW to mock data layers in Vitest and Playwright tests?

Yes, you can use MSW to mock data layers in Vitest and Playwright tests. The skill includes specific recipes and mocking strategies for intercepting network requests during unit and e2e testing.

What is the best way to organize test fixtures in an Epic Stack project?

The best way to organize test fixtures in an Epic Stack project is by following clear conventions for type-safe structures. This approach covers authentication, MSW mocks, and data setup across test suites.

Does this testing approach require specific dependencies for Epic Stack?

Validating Epic Stack applications requires Vitest for unit tests and Playwright for end-to-end tests. The skill aligns with the Epic Stack operational workflows and frontmatter taxonomy without extra dependencies.

Why should my Epic Stack tests resemble real user usage?

Epic Stack tests should resemble real user usage to ensure accurate validation of application behavior. Writing user-centric tests with structured fixtures and mocks increases confidence in feature reliability.