workflow.yaml 1.6 KB

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