54 lines
1.8 KiB
YAML
54 lines
1.8 KiB
YAML
# Test Architect workflow: test-review
|
|
name: testarch-test-review
|
|
description: "Review test quality using comprehensive knowledge base and best practices validation"
|
|
author: "BMad"
|
|
|
|
# Critical variables from config
|
|
config_source: "{project-root}/bmad/bmm/config.yaml"
|
|
output_folder: "{config_source}:output_folder"
|
|
user_name: "{config_source}:user_name"
|
|
communication_language: "{config_source}:communication_language"
|
|
document_output_language: "{config_source}:document_output_language"
|
|
date: system-generated
|
|
|
|
# Workflow components
|
|
installed_path: "{project-root}/bmad/bmm/workflows/testarch/test-review"
|
|
instructions: "{installed_path}/instructions.md"
|
|
validation: "{installed_path}/checklist.md"
|
|
template: "{installed_path}/test-review-template.md"
|
|
|
|
# Variables and inputs
|
|
variables:
|
|
test_dir: "{project-root}/tests" # Root test directory
|
|
review_scope: "single" # single (one file), directory (folder), suite (all tests)
|
|
|
|
# Output configuration
|
|
default_output_file: "{output_folder}/test-review.md"
|
|
|
|
# Required tools
|
|
required_tools:
|
|
- read_file # Read test files, story, test-design
|
|
- write_file # Create review report
|
|
- list_files # Discover test files in directory
|
|
- search_repo # Find tests by patterns
|
|
- glob # Find test files matching patterns
|
|
|
|
# Recommended inputs
|
|
recommended_inputs:
|
|
- test_file: "Test file to review (single file mode)"
|
|
- test_dir: "Directory of tests to review (directory mode)"
|
|
- story: "Related story for acceptance criteria context (optional)"
|
|
- test_design: "Test design for priority context (optional)"
|
|
|
|
tags:
|
|
- qa
|
|
- test-architect
|
|
- code-review
|
|
- quality
|
|
- best-practices
|
|
|
|
execution_hints:
|
|
interactive: false # Minimize prompts
|
|
autonomous: true # Proceed without user input unless blocked
|
|
iterative: true # Can review multiple files
|