workflow.yaml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # Test Architect workflow: test-review
  2. name: testarch-test-review
  3. description: "Review test quality using comprehensive knowledge base and best practices validation"
  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/test-review"
  14. instructions: "{installed_path}/instructions.md"
  15. validation: "{installed_path}/checklist.md"
  16. template: "{installed_path}/test-review-template.md"
  17. # Variables and inputs
  18. variables:
  19. test_dir: "{project-root}/tests" # Root test directory
  20. review_scope: "single" # single (one file), directory (folder), suite (all tests)
  21. # Output configuration
  22. default_output_file: "{output_folder}/test-review.md"
  23. # Required tools
  24. required_tools:
  25. - read_file # Read test files, story, test-design
  26. - write_file # Create review report
  27. - list_files # Discover test files in directory
  28. - search_repo # Find tests by patterns
  29. - glob # Find test files matching patterns
  30. tags:
  31. - qa
  32. - test-architect
  33. - code-review
  34. - quality
  35. - best-practices
  36. execution_hints:
  37. interactive: false # Minimize prompts
  38. autonomous: true # Proceed without user input unless blocked
  39. iterative: true # Can review multiple files