test-automation
Test automation strategies and frameworks. Use when building, maintaining, or troubleshooting automated tests.
от saolalab★ 38 звёзд на GitHub
Установить test-automation в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Test Automation
Test Pyramid
/\
/E2E\ <- Few, slow, expensive
/------\
/Integration\ <- Some, medium speed
/--------------\
/ Unit Tests \ <- Many, fast, cheap
/------------------\
Test Types
| Type | Scope | Speed | Reliability |
|---|---|---|---|
| Unit | Single function/class | Fast | High |
| Integration | Multiple components | Medium | Medium |
| E2E | Full system | Slow | Lower |
| Performance | Load/stress | Varies | Medium |
Automation Framework Selection
Considerations
- Language compatibility
- Community support
- CI/CD integration
- Reporting capabilities
- Maintenance burden
Common Frameworks
- Unit: Jest, Pytest, JUnit
- Integration: Supertest, TestContainers
- E2E: Playwright, Cypress, Selenium
- API: Postman, REST Assured
Test Design Principles
FIRST
- Fast — Tests run quickly
- Independent — No dependencies between tests
- Repeatable — Same result every time
- Self-validating — Pass or fail, no interpretation
- Timely — Written alongside code
AAA Pattern
def test_example():
# Arrange - Set up test data
user = create_test_user()
# Act - Perform the action
result = login(user.email, user.password)
# Assert - Verify the outcome
assert result.success == True
Flaky Test Management
Causes
- Timing/race conditions
- Shared state
- External dependencies
- Environment differences
Solutions
- Add explicit waits
- Isolate test data
- Mock external services
- Use test containers
Test Data Management
- Factory patterns — Generate test data
- Fixtures — Reusable setup
- Seeding — Consistent database state
- Cleanup — Reset after tests
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл test-automation?
Test automation strategies and frameworks. Use when building, maintaining, or troubleshooting automated tests.
Как установить скилл test-automation?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл test-automation запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…