workflow.yaml 1.5 KB

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