Test Suite Management
> **Skill Purpose:** Organize, tag, and maintain test suites to optimize coverage, speed, and reliability.
SKILL.md
Full skill instructions
Test Suite Management
Skill Purpose: Organize, tag, and maintain test suites to optimize coverage, speed, and reliability.
Core Skill Pattern
Objective: Structure tests to balance fast feedback with comprehensive coverage.
Universal Pattern:
- Define suite taxonomy (smoke, regression, full)
- Tag tests and group by purpose
- Control execution order and concurrency
- Track flaky tests and quarantine
- Periodically prune obsolete tests
Key Decisions (Project-Specific):
- Suite boundaries and tagging conventions
- CI schedule for full vs partial runs
- Test ownership and maintenance cadence
Project-Specific Implementation Notes
Customize per project:
- Align suites with quality gates
- Keep smoke tests under a strict time budget
- Separate UI vs API suites
Example Implementation (Playwright)
// playwright.config.ts
import { defineConfig } from '@playwright/test';
export default defineConfig({
projects: [
{ name: 'smoke', grep: /@smoke/ },
{ name: 'regression', grep: /@regression/ }
]
});
Best Practices
- Keep smoke suites small and stable
- Tag tests consistently
- Run full suites nightly
- Track flaky tests with owners
- Remove redundant coverage
Stop Conditions
STOP and escalate if:
- Suite taxonomy is unclear
- Flaky tests are blocking releases
- Test duration exceeds agreed budgets
Skill Version: 1.0.0
