workflow.yaml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # Test Architect workflow: atdd
  2. name: testarch-atdd
  3. description: "Generate failing acceptance tests before implementation using TDD red-green-refactor cycle"
  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/atdd"
  14. instructions: "{installed_path}/instructions.md"
  15. validation: "{installed_path}/checklist.md"
  16. template: "{installed_path}/atdd-checklist-template.md"
  17. # Variables and inputs
  18. variables:
  19. test_dir: "{project-root}/tests" # Root test directory
  20. # Output configuration
  21. default_output_file: "{output_folder}/atdd-checklist-{story_id}.md"
  22. # Required tools
  23. required_tools:
  24. - read_file # Read story markdown, framework config
  25. - write_file # Create test files, checklist, factory stubs
  26. - create_directory # Create test directories
  27. - list_files # Find existing fixtures and helpers
  28. - search_repo # Search for similar test patterns
  29. tags:
  30. - qa
  31. - atdd
  32. - test-architect
  33. - tdd
  34. - red-green-refactor
  35. execution_hints:
  36. interactive: false # Minimize prompts
  37. autonomous: true # Proceed without user input unless blocked
  38. iterative: true