You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

workflow.yaml 2.9KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. # Test Architect workflow: bmad-testarch-test-design
  2. name: bmad-testarch-test-design
  3. # prettier-ignore
  4. description: 'Create system-level or epic-level test plans. Use when the user says "lets design test plan" or "I want to create test strategy"'
  5. # Critical variables from config
  6. config_source: "{project-root}/_bmad/tea/config.yaml"
  7. output_folder: "{config_source}:output_folder"
  8. test_artifacts: "{config_source}:test_artifacts"
  9. user_name: "{config_source}:user_name"
  10. communication_language: "{config_source}:communication_language"
  11. document_output_language: "{config_source}:document_output_language"
  12. date: system-generated
  13. # Workflow components
  14. installed_path: "."
  15. instructions: "./instructions.md"
  16. validation: "./checklist.md"
  17. # Note: Template selection is mode-based (see instructions.md Step 1.5):
  18. # - System-level: test-design-architecture-template.md + test-design-qa-template.md
  19. # - Epic-level: test-design-template.md (unchanged)
  20. template: "./test-design-template.md"
  21. # Variables and inputs
  22. variables:
  23. design_level: "full" # full, targeted, minimal - scope of design effort
  24. mode: "auto-detect" # auto-detect (default), system-level, epic-level
  25. test_stack_type: "auto" # auto, frontend, backend, fullstack - from config or auto-detected
  26. # Output configuration
  27. # Note: Actual output file determined dynamically based on mode detection
  28. # Declared outputs for new workflow format
  29. outputs:
  30. # System-Level Mode (Phase 3) - TWO documents
  31. - id: test-design-architecture
  32. description: "System-level test architecture: Architectural concerns, testability gaps, NFR requirements for Architecture/Dev teams"
  33. path: "{test_artifacts}/test-design-architecture.md"
  34. mode: system-level
  35. audience: architecture
  36. - id: test-design-qa
  37. description: "System-level test design: Test execution recipe, coverage plan, pre-implementation setup for QA team"
  38. path: "{test_artifacts}/test-design-qa.md"
  39. mode: system-level
  40. audience: qa
  41. - id: test-design-handoff
  42. description: "TEA → BMAD handoff document: Bridges test design outputs with epic/story decomposition"
  43. path: "{test_artifacts}/test-design/{project_name}-handoff.md"
  44. mode: system-level
  45. audience: bmad-integration
  46. # Epic-Level Mode (Phase 4) - ONE document (unchanged)
  47. - id: epic-level
  48. description: "Epic-level test plan (Phase 4)"
  49. path: "{test_artifacts}/test-design-epic-{epic_num}.md"
  50. mode: epic-level
  51. # Note: No default_output_file - mode detection determines which outputs to write
  52. # Required tools
  53. required_tools:
  54. - read_file # Read PRD, epics, stories, architecture docs
  55. - write_file # Create test design document
  56. - list_files # Find related documentation
  57. - search_repo # Search for existing tests and patterns
  58. tags:
  59. - qa
  60. - planning
  61. - test-architect
  62. - risk-assessment
  63. - coverage
  64. execution_hints:
  65. interactive: false # Minimize prompts
  66. autonomous: true # Proceed without user input unless blocked
  67. iterative: true