- Nx 22.7 monorepo (pnpm 11.1, TypeScript 5.9, Node 24) - apps/api: NestJS 11 (CJS conforme CODING-RULES.md PGD-DB-004) - apps/web: React 19 + Vite 8 (ESM) - libs/shared/api-interface: Zod contract base - Docker Compose dev: Postgres 18, Valkey 8, MinIO, Mailpit - WDS artifacts: - design-artifacts/A-Product-Brief/ (5 docs canônicos + 16 dialogs) - design-artifacts/B-Trigger-Map/ (hub + 4 personas + feature impact) - Stack canon: STACK.md v2.2 + CODING-RULES.md v2.0 + brand.md - AGENTS.md + README.md como entrada para devs/agentes Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
49 lines
1.6 KiB
YAML
49 lines
1.6 KiB
YAML
# Test Architect workflow: bmad-testarch-test-review
|
|
name: bmad-testarch-test-review
|
|
# prettier-ignore
|
|
description: 'Review test quality using best practices validation. Use when the user says "lets review tests" or "I want to evaluate test quality"'
|
|
|
|
# Critical variables from config
|
|
config_source: "{project-root}/_bmad/tea/config.yaml"
|
|
output_folder: "{config_source}:output_folder"
|
|
test_artifacts: "{config_source}:test_artifacts"
|
|
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: "."
|
|
instructions: "./instructions.md"
|
|
validation: "./checklist.md"
|
|
template: "./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)
|
|
test_stack_type: "auto" # auto, frontend, backend, fullstack - from config or auto-detected
|
|
|
|
# Output configuration
|
|
default_output_file: "{test_artifacts}/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
|
|
|
|
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
|