# bmad-tea-testarch-atdd > Generate failing acceptance tests before implementation using TDD red-green-refactor cycle - Author: Jack-R-Hong - Repository: Jack-R-Hong/BMM-opencode - Version: 20260206081850 - Stars: 0 - Forks: 0 - Last Updated: 2026-02-06 - Source: https://github.com/Jack-R-Hong/BMM-opencode - Web: https://mule.run/skillshub/@@Jack-R-Hong/BMM-opencode~bmad-tea-testarch-atdd:20260206081850 --- --- name: bmad-tea-testarch-atdd description: "Generate failing acceptance tests before implementation using TDD red-green-refactor cycle" license: MIT compatibility: opencode metadata: source: "bmad-method" module: "tea" workflow: "testarch-atdd" standalone: "false" --- # testarch-atdd Workflow Generate failing acceptance tests before implementation using TDD red-green-refactor cycle **Author:** BMad ## How to Use This skill provides a structured workflow. Follow the steps below: ## Instructions # 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`, `output_folder`, `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`