Files
L-Ami-Fiduciaire/_bmad/tea/workflows/testarch/atdd/instructions.md
Saad Zoubir 7a18c40361 chore: add BMAD framework modules, folder features, and tooling configs
Includes BMAD bmb/bmm/cis/tea workflow modules, folder (declaration)
feature implementation (controllers, models, enums, views, tests),
claude/cursor command configs, and email templates.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-22 21:24:17 +01:00

1.3 KiB

Acceptance Test-Driven Development (ATDD)

Workflow ID: _bmad/tea/testarch/atdd Version: 5.0 (Step-File Architecture)


Overview

Generates failing acceptance tests before implementation (TDD red phase), plus an implementation checklist. Produces tests at appropriate levels (E2E/API/Component) with supporting fixtures and helpers.


WORKFLOW ARCHITECTURE

This workflow uses step-file architecture:

  • Micro-file Design: Each step is self-contained
  • JIT Loading: Only the current step file is in memory
  • Sequential Enforcement: Execute steps in order without skipping

INITIALIZATION SEQUENCE

1. Configuration Loading

From workflow.yaml, resolve:

  • config_source, test_artifacts, user_name, communication_language, document_output_language, date
  • test_dir

2. First Step

Load, read completely, and execute: {project-root}/_bmad/tea/workflows/testarch/atdd/steps-c/step-01-preflight-and-context.md

3. Resume Support

If the user selects Resume mode, load, read completely, and execute: {project-root}/_bmad/tea/workflows/testarch/atdd/steps-c/step-01b-resume.md

This checks the output document for progress tracking frontmatter and routes to the next incomplete step.