workflow.yaml 1.9 KB

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