2025-09-30 15:19:55 -05:00
# Test Architect workflow: test-design
2025-10-16 11:09:51 -05:00
name : testarch-test-design
2025-11-11 10:03:00 -06:00
description : "Dual-mode workflow: (1) System-level testability review in Solutioning phase, or (2) Epic-level test planning in Implementation phase. Auto-detects mode based on project phase."
2025-09-30 15:19:55 -05:00
author : "BMad"
2025-10-16 11:09:51 -05:00
# Critical variables from config
2025-11-08 13:58:43 -06:00
config_source : "{project-root}/{bmad_folder}/bmm/config.yaml"
2025-09-30 15:19:55 -05:00
output_folder : "{config_source}:output_folder"
user_name : "{config_source}:user_name"
communication_language : "{config_source}:communication_language"
2025-10-17 19:46:25 -05:00
document_output_language : "{config_source}:document_output_language"
2025-09-30 15:19:55 -05:00
date : system-generated
2025-10-16 11:09:51 -05:00
# Workflow components
2025-11-08 13:58:43 -06:00
installed_path : "{project-root}/{bmad_folder}/bmm/workflows/testarch/test-design"
2025-09-30 15:19:55 -05:00
instructions : "{installed_path}/instructions.md"
2025-10-16 11:09:51 -05:00
validation : "{installed_path}/checklist.md"
template : "{installed_path}/test-design-template.md"
2025-09-30 15:19:55 -05:00
2025-10-16 11:09:51 -05:00
# Variables and inputs
variables :
2025-10-16 19:58:37 -05:00
design_level : "full" # full, targeted, minimal - scope of design effort
2025-11-11 10:03:00 -06:00
mode : "auto-detect" # auto-detect (default), system-level, epic-level
2025-10-16 11:09:51 -05:00
# Output configuration
2025-11-11 10:03:00 -06:00
# Note: Actual output file determined dynamically based on mode detection
# - System-Level (Phase 3): {output_folder}/test-design-system.md
# - Epic-Level (Phase 4): {output_folder}/test-design-epic-{epic_num}.md
2025-10-16 11:09:51 -05:00
default_output_file : "{output_folder}/test-design-epic-{epic_num}.md"
# Required tools
required_tools :
- read_file # Read PRD, epics, stories, architecture docs
- write_file # Create test design document
- list_files # Find related documentation
- search_repo # Search for existing tests and patterns
# Recommended inputs
recommended_inputs :
- prd : "Product Requirements Document for context"
- epics : "Epic documentation (epics.md or specific epic)"
- story : "Story markdown with acceptance criteria"
2025-10-19 23:28:38 -05:00
- architecture : "Architecture documents (architecture.md, tech-spec)"
2025-10-16 11:09:51 -05:00
- existing_tests : "Current test coverage for gap analysis"
2025-09-30 15:19:55 -05:00
tags :
- qa
- planning
- test-architect
2025-10-16 11:09:51 -05:00
- risk-assessment
- coverage
2025-09-30 15:19:55 -05:00
execution_hints :
2025-10-16 11:09:51 -05:00
interactive : false # Minimize prompts
autonomous : true # Proceed without user input unless blocked
2025-09-30 15:19:55 -05:00
iterative : true
2025-10-16 11:09:51 -05:00
web_bundle : false