workflow.yaml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # Test Architect workflow: automate
  2. name: testarch-automate
  3. description: "Expand test automation coverage after implementation or analyze existing codebase to generate comprehensive test suite"
  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/automate"
  14. instructions: "{installed_path}/instructions.md"
  15. validation: "{installed_path}/checklist.md"
  16. template: false
  17. # Variables and inputs
  18. variables:
  19. # Execution mode and targeting
  20. standalone_mode: true # Can work without BMad artifacts (true) or integrate with BMad (false)
  21. coverage_target: "critical-paths" # critical-paths, comprehensive, selective
  22. # Directory paths
  23. test_dir: "{project-root}/tests" # Root test directory
  24. source_dir: "{project-root}/src" # Source code directory
  25. # Output configuration
  26. default_output_file: "{output_folder}/automation-summary.md"
  27. # Required tools
  28. required_tools:
  29. - read_file # Read source code, existing tests, BMad artifacts
  30. - write_file # Create test files, fixtures, factories, summaries
  31. - create_directory # Create test directories
  32. - list_files # Discover features and existing tests
  33. - search_repo # Find coverage gaps and patterns
  34. - glob # Find test files and source files
  35. tags:
  36. - qa
  37. - automation
  38. - test-architect
  39. - regression
  40. - coverage
  41. execution_hints:
  42. interactive: false # Minimize prompts
  43. autonomous: true # Proceed without user input unless blocked
  44. iterative: true