workflow.yaml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # Test Architect workflow: test-design
  2. name: testarch-test-design
  3. 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."
  4. author: "BMad"
  5. # Critical variables from config
  6. config_source: "{project-root}/_bmad/bmm/config.yaml"
  7. output_folder: "{config_source}:output_folder"
  8. user_name: "{config_source}:user_name"
  9. communication_language: "{config_source}:communication_language"
  10. document_output_language: "{config_source}:document_output_language"
  11. date: system-generated
  12. # Workflow components
  13. installed_path: "{project-root}/_bmad/bmm/workflows/testarch/test-design"
  14. instructions: "{installed_path}/instructions.md"
  15. validation: "{installed_path}/checklist.md"
  16. template: "{installed_path}/test-design-template.md"
  17. # Variables and inputs
  18. variables:
  19. design_level: "full" # full, targeted, minimal - scope of design effort
  20. mode: "auto-detect" # auto-detect (default), system-level, epic-level
  21. # Output configuration
  22. # Note: Actual output file determined dynamically based on mode detection
  23. # Declared outputs for new workflow format
  24. outputs:
  25. - id: system-level
  26. description: "System-level testability review (Phase 3)"
  27. path: "{output_folder}/test-design-system.md"
  28. - id: epic-level
  29. description: "Epic-level test plan (Phase 4)"
  30. path: "{output_folder}/test-design-epic-{epic_num}.md"
  31. default_output_file: "{output_folder}/test-design-epic-{epic_num}.md"
  32. # Required tools
  33. required_tools:
  34. - read_file # Read PRD, epics, stories, architecture docs
  35. - write_file # Create test design document
  36. - list_files # Find related documentation
  37. - search_repo # Search for existing tests and patterns
  38. tags:
  39. - qa
  40. - planning
  41. - test-architect
  42. - risk-assessment
  43. - coverage
  44. execution_hints:
  45. interactive: false # Minimize prompts
  46. autonomous: true # Proceed without user input unless blocked
  47. iterative: true