test-case-design
Design high-value test cases from requirements, risks, state transitions, input partitions, boundaries, permissions, decisions, failures, and realistic user…
от Dadmin88★ 52 звезды на GitHub
Установить test-case-design в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Test Case Design
Use when a feature or change needs deliberate test coverage before or alongside execution.
Procedure
- Extract the observable requirements, acceptance criteria, invariants, user roles, supported environments, data constraints, and known risks. Mark ambiguities that prevent a reliable expected result.
- Model the behavior before enumerating cases. Identify inputs, states, transitions, decisions, side effects, dependencies, and outputs so tests target the system's logic rather than a list of screens.
- Partition inputs into meaningfully different classes such as valid/invalid, empty/non-empty, authorized/unauthorized, existing/new, supported/unsupported, or other domain-specific equivalence groups.
- Test boundaries around each meaningful constraint: minimum/maximum, just inside/outside, zero/one/many, before/at/after time thresholds, length/size limits, and transition edges where defects commonly hide.
- Use decision tables when outcomes depend on combinations of independent conditions, and state-transition cases when behavior depends on what happened previously.
- Include permission and ownership variations for protected behavior, especially cross-user, cross-role, and cross-tenant cases where applicable.
- Include dependency and recovery behavior: slow response, failure, retry, duplicate request, cancellation, partial success, offline/reconnect, stale state, and other failure modes implicated by the architecture.
- Include realistic user journeys and sequencing, not only isolated inputs. Vary order, repeat actions, navigation, refresh/restart, persistence, and re-entry when the feature maintains state.
- Prioritize cases by risk and uniqueness. Remove redundant cases that prove the same rule unless a platform, data shape, or environment creates a distinct failure mode.
- For every case record preconditions, action/input, expected observable result, important side effects or persisted state, cleanup, and the level/environment where the case should run.
Decision rules
- Every test case should prove a distinct behavior, boundary, risk, or state transition.
- Pairwise or combinatorial techniques can reduce large configuration spaces, but do not omit combinations known to interact materially.
- Expected results must come from accepted requirements or authoritative behavior, not the current implementation when that implementation is what is being tested.
- Ambiguous requirements are a product/specification issue to escalate, not an invitation for QA to invent the rule.
Quality gate
The test design is ready when important requirements and risks map to distinct cases, boundaries and state/decision logic are represented, permission and failure paths are included where relevant, redundancy is controlled, and every case has an unambiguous expected outcome and execution context.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл test-case-design?
Design high-value test cases from requirements, risks, state transitions, input partitions, boundaries, permissions, decisions, failures, and realistic user workflows.
Как установить скилл test-case-design?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл test-case-design запускает скрипты?
Нет, скилл состоит только из инструкций (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…