qe-test-automation-strategy
Installation
SKILL.md
Test Automation Strategy
<default_to_action> When designing or improving test automation:
- FOLLOW test pyramid: 70% unit, 20% integration, 10% E2E
- APPLY F.I.R.S.T. principles: Fast, Isolated, Repeatable, Self-validating, Timely
- USE patterns: Page Object Model, Builder pattern, Factory pattern
- INTEGRATE in CI/CD: Every commit runs tests, fail fast, clear feedback
- MANAGE flaky tests: Quarantine, fix, or delete - never ignore
Quick Anti-Pattern Detection:
- Ice cream cone (many E2E, few unit) → Invert to pyramid
- Slow tests (> 10 min suite) → Parallelize, mock external deps
- Flaky tests → Fix timing, isolate data, or quarantine
- Test duplication → Share fixtures, use page objects
- Brittle selectors → Use data-testid, semantic locators