- 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>
47 lines
1.4 KiB
YAML
47 lines
1.4 KiB
YAML
# Test Architect workflow: bmad-testarch-atdd
|
|
name: bmad-testarch-atdd
|
|
# prettier-ignore
|
|
description: 'Generate red-phase acceptance test scaffolds using TDD cycle. Use when the user says "lets write acceptance tests" or "I want to do ATDD"'
|
|
|
|
# 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: "./atdd-checklist-template.md"
|
|
|
|
# Variables and inputs
|
|
variables:
|
|
test_dir: "{project-root}/tests" # Root test directory
|
|
|
|
# Output configuration
|
|
default_output_file: "{test_artifacts}/atdd-checklist-{story_key}.md"
|
|
|
|
# Required tools
|
|
required_tools:
|
|
- read_file # Read story markdown, framework config
|
|
- write_file # Create test files, checklist, factory stubs
|
|
- create_directory # Create test directories
|
|
- list_files # Find existing fixtures and helpers
|
|
- search_repo # Search for similar test patterns
|
|
|
|
tags:
|
|
- qa
|
|
- atdd
|
|
- test-architect
|
|
- tdd
|
|
- red-green-refactor
|
|
|
|
execution_hints:
|
|
interactive: false # Minimize prompts
|
|
autonomous: true # Proceed without user input unless blocked
|
|
iterative: true
|