test-design

Design risk-prioritized test strategies with P0/P1/P2 priorities and CI/CD integration plans.

2|2|Updated Oct 28, 2025
One-click install
npx skills add https://github.com/adolfoaranaes12/BMAD-ENHANCED --skill test-design
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-design
Source: https://github.com/adolfoaranaes12/BMAD-ENHANCED/tree/main/.claude/skills/test-design
Command: npx skills add https://github.com/adolfoaranaes12/BMAD-ENHANCED --skill test-design

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires risk-profile, and includes references (resource) and templates (resource) components.

What problem does it solve?

This Skill designs a comprehensive test strategy with P0/P1/P2 priorities, mock strategies for external dependencies, and CI/CD integration plans.

Core Features & Use Cases

  • Prioritize test scenarios by risk
  • Define test levels (unit/integration/E2E) and coverage targets
  • Propose mock strategies for APIs, databases, and services
  • Plan CI/CD integration with test stages and thresholds

Quick Start

Create a test design document for a feature, including AC coverage, test levels, and mocks.

Frequently Asked Questions about test-design

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I design a test strategy with risk-based prioritization before coding?

Risk-based test design prioritizes test scenarios by impact and likelihood, then maps them across unit, integration, and end-to-end test levels with P0/P1/P2 priorities. This approach ensures critical paths receive adequate coverage before implementation begins, reducing defect escape and rework downstream.

What's the best way to plan mock strategies for external dependencies in CI/CD?

Mock strategies isolate external APIs, databases, and services by replacing them with controlled test doubles, enabling fast, deterministic test execution. Define mocks per test level—unit tests mock all externals, integration tests mock downstream systems, end-to-end tests use staging environments—then integrate mock configuration into CI/CD pipeline stages.

How do I structure acceptance criteria into test levels with coverage targets?

Convert acceptance criteria into Given-When-Then test cases, then distribute across test levels: unit tests validate business logic in isolation, integration tests verify component interactions, end-to-end tests confirm user workflows. Assign P0/P1/P2 priorities by risk, define data specifications per level, and document coverage targets to guide implementation.

What should a comprehensive test design document include before implementation?

A test design document specifies test levels, acceptance criteria coverage, mock strategies for each external dependency, P0/P1/P2 priorities, test data requirements, and CI/CD integration thresholds. This artifact ensures developers, QA, and CI systems align on test scope and execution order before coding begins.

When do I need risk-based testing instead of uniform test coverage?

Risk-based testing prioritizes resources on high-impact, high-likelihood failure modes—essential for complex features with external dependencies, strict SLAs, or limited test budget. Use it when uniform coverage is infeasible; focus testing effort on scenarios with greatest business impact and technical complexity.

Can I integrate test design artifacts into existing CI/CD pipelines?

Yes. Map test levels to CI/CD stages (unit in pre-commit, integration in merge gate, E2E in staging), configure mock endpoints and test data in pipeline environment variables, and set pass/fail thresholds aligned with P0/P1/P2 priorities. Document this mapping in your test design to enable repeatable execution.