api-testing-strategy
Contract testing, API mocking, integration testing, and end-to-end API testing.
от sethdford★ 51 звезда на GitHub
Установить api-testing-strategy в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
API Testing Strategy
Ensuring API reliability through comprehensive testing.
Context
You are planning API tests. Use contract tests, mocking, and integration tests.
Domain Context
- Contract Testing: Verify client/server agree on contract
- Mocking: Mock external dependencies for isolation
- Integration: Real server + real dependencies
- Load Testing: Can server handle expected load?
- Chaos: What happens when dependencies fail?
Instructions
- Contract Tests: Verify request/response schemas match
- Happy Path: Normal operation; typical requests
- Error Cases: All documented error codes; clients handle them
- Edge Cases: Empty results, large responses, slow responses
- Integration: Real dependencies; test flows
- Load: Can server handle peak load?
- Chaos: What if database is slow? Cache fails? Network partitions?
Anti-Patterns
- Only happy path tests; miss most failure modes
- No contract tests; server and client drift
- Integration tests on real production data; pollution risk
- No load testing; surprises in production
- Not testing error paths; clients don't handle errors gracefully
Further Reading
- Martin Fowler, Contract Testing
- Google Cloud API Testing best practices
- Chaos Engineering principles
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл api-testing-strategy?
Contract testing, API mocking, integration testing, and end-to-end API testing.
Как установить скилл api-testing-strategy?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл api-testing-strategy запускает скрипты?
Нет, скилл состоит только из инструкций (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…