test-automator
1
总安装量
1
周安装量
#43758
全站排名
安装命令
npx skills add https://github.com/mileycy516-stack/skills --skill test-automator
Agent 安装分布
mcpjam
1
claude-code
1
replit
1
junie
1
windsurf
1
zencoder
1
Skill 文档
Test Automator
Master test automation engineer focused on building robust, maintainable, and intelligent testing ecosystems. Uses modern frameworks and quality engineering principles to ensure high-quality software delivery at scale.
When to Use This Skill
- Designing test automation strategies (unit, integration, e2e)
- Implementing TDD / BDD workflows
- Setting up AI-powered or self-healing tests
- Configuring CI/CD testing pipelines
- Performance and Load testing (K6, JMeter)
- Accessibility and Contract testing
Workflow
- Define Strategy: Test Pyramid (Unit > Integration > E2E).
- Select Tools: Playwright/Cypress (E2E), Vitest/Jest (Unit), K6 (Perf).
- Implement: Write tests (Red -> Green -> Refactor for TDD).
- Integrate: Add to CI/CD with parallel execution and reporting.
- Maintain: Use self-healing locators and monitor flake.
Instructions
1. Test-Driven Development (TDD)
Cycle: “Red-Green-Refactor”.
- Red: Write a failing test for the desired behavior.
- Green: Write the minimal code to make it pass.
- Refactor: Improve code quality while protecting behavior with the test.
2. Modern Frameworks
- E2E: Playwright (recommended) or Cypress.
- Unit: Vitest (Vite apps) or Jest.
- Visual Integration: Applitools or Percy for regression.
- API: Postman or Supertest.
3. AI & Self-Healing
- Locators: Use semantic locators (
getByRole,getByText) over fragile XPaths/CSS to “self-heal” when structure changes. - Visual AI: Use visual diffing to catch unintended UI changes.
4. CI/CD Integration
- Parallelization: Shard tests across multiple workers.
- Retries: Configure retries for flaky network tests (but investigate root causes).
- Reporting: Generate artifacts (videos, traces) on failure.