Migration Guide
Migration Guide: BMM-Embedded TEA â Standalone TEA Module
Section titled âMigration Guide: BMM-Embedded TEA â Standalone TEA ModuleâThis guide helps you migrate from the BMM-embedded version of TEA to the standalone TEA module (v1.0.0+).
Overview
Section titled âOverviewâTEA (Test Engineering Architect) has been extracted from the BMAD Method (BMM) core repository into a standalone, independently installable module. This allows:
- Independent versioning and release cycles
- Optional installation - use TEA only when needed
- Cleaner separation of concerns
- Easier maintenance and contribution
Breaking Changes
Section titled âBreaking Changesâ1. Command Namespace
Section titled â1. Command NamespaceâAll TEA commands have changed namespace from /bmad:bmm:tea:* to /bmad:tea:*.
| Old Command (BMM-embedded) | New Command (Standalone) |
|---|---|
/bmad:bmm:tea:framework | /bmad:tea:framework |
/bmad:bmm:tea:ci | /bmad:tea:ci |
/bmad:bmm:tea:test-design | /bmad:tea:test-design |
/bmad:bmm:tea:atdd | /bmad:tea:atdd |
/bmad:bmm:tea:automate | /bmad:tea:automate |
/bmad:bmm:tea:test-review | /bmad:tea:test-review |
/bmad:bmm:tea:trace | /bmad:tea:trace |
/bmad:bmm:tea:nfr-assess | /bmad:tea:nfr-assess |
| Short triggers (unchanged) | |
TF, CI, TD, AT, TA | Same |
RV, TR, NR | Same |
Action Required: Update any saved prompts, scripts, or documentation that reference the old commands.
2. Module Installation
Section titled â2. Module InstallationâTEA is no longer bundled with BMM by default. You must install it separately.
Old Behavior (BMM-embedded)
Section titled âOld Behavior (BMM-embedded)â# TEA automatically includednpx bmad-method installNew Behavior (Standalone)
Section titled âNew Behavior (Standalone)â# Install BMAD Method firstnpx bmad-method install# Select modules (BMM, TEA, etc.)
# Or install TEA separately laternpx bmad-method install# Select: Test Architect (TEA)Action Required: Install TEA module explicitly if not already installed.
3. File Path Changes
Section titled â3. File Path ChangesâInternal file paths have changed to reflect TEAâs standalone structure.
| Old Path (BMM-embedded) | New Path (Standalone) |
|---|---|
src/bmm/agents/tea.agent.yaml | src/agents/tea.agent.yaml |
src/bmm/testarch/knowledge/ | src/testarch/knowledge/ |
src/bmm/workflows/testarch/ | src/workflows/testarch/ |
_bmad/bmm/tea | _bmad/tea/ |
Action Required: None for end users. This only affects contributors and maintainers.
4. Configuration Variables
Section titled â4. Configuration VariablesâTEA configuration is now in its own src/module.yaml instead of BMMâs configuration.
Old Configuration (BMM-embedded)
Section titled âOld Configuration (BMM-embedded)âConfiguration was embedded in BMMâs module.yaml:
# In BMM module.yamlvariables: bmm_test_artifacts: test-results # TEA variables mixed with BMMNew Configuration (Standalone)
Section titled âNew Configuration (Standalone)âTEA has its own configuration file:
# In TEA src/module.yamlvariables: test_artifacts: description: Base folder for test artifacts default: test-results prompt: true
tea_use_playwright_utils: description: Enable Playwright Utils integration default: false prompt: true
tea_use_mcp_enhancements: description: Enable Playwright MCP enhancements default: false prompt: true
test_design_output: description: Test design documents folder default: test-design prompt: false
test_review_output: description: Test review reports folder default: test-review prompt: false
trace_output: description: Traceability reports folder default: trace prompt: falseAction Required: Reconfigure TEA variables during installation or update _bmad/tea/module.yaml manually.
Migration Steps
Section titled âMigration StepsâStep 1: Check Current BMAD Version
Section titled âStep 1: Check Current BMAD VersionâEnsure you have BMAD Method v7.0.0+ (upcoming) or the latest version that supports modular installation.
# Check BMAD versionbmad --versionStep 2: Install Standalone TEA
Section titled âStep 2: Install Standalone TEAâRun the BMAD installer and select TEA:
npx bmad-method install# When prompted, select:# â Test Architect (TEA)Follow the installation prompts to configure TEA variables:
- test_artifacts: Base folder for test outputs (default:
test-results) - tea_use_playwright_utils: Enable Playwright Utils integration (yes/no)
- tea_use_mcp_enhancements: Enable MCP enhancements (yes/no)
Step 3: Update Command References
Section titled âStep 3: Update Command ReferencesâUpdate any saved prompts, documentation, or scripts:
Example: Updating CI/CD Scripts
# Oldclaude "/bmad:bmm:tea:test-design"
# Newclaude "/bmad:tea:test-design"Example: Updating Documentation
<!-- Old -->
Run `/bmad:bmm:tea:automate` to expand test coverage.
<!-- New -->
Run `/bmad:tea:automate` to expand test coverage.Step 4: Verify Installation
Section titled âStep 4: Verify InstallationâLoad the TEA agent and run a test command:
# Start Claude Code or Claude Desktopclaude
# Load TEA agenttea
# Test a workflowtest-designYou should see TEA load successfully with the message:
â Loaded agent: Murat (Master Test Architect and Quality Advisor)Step 5: Validate Configuration
Section titled âStep 5: Validate ConfigurationâCheck that TEA variables are correctly configured:
# Check _bmad directoryls -la _bmad/tea/
# Verify module.yamlcat _bmad/tea/module.yamlExpected contents:
_bmad/tea/âââ module.yaml # TEA configurationâââ agents/â âââ tea.agent.yamlâââ workflows/â âââ testarch/ # 9 workflowsâââ testarch/ âââ tea-index.csv # Knowledge base index âââ knowledge/ # 34 fragmentsWhat Stays the Same
Section titled âWhat Stays the SameâDespite the migration, these aspects remain unchanged:
â
Short Trigger Commands: TMT, TF, CI, TD, AT, TA, RV, TR, NR work exactly the same
â Workflow Behavior: All 9 workflows function identically
â Knowledge Base: Same 34 knowledge fragments with identical content
â Output Formats: Test designs, reports, and checklists maintain the same structure
â Playwright Utils Integration: Same integration patterns and utilities
â MCP Enhancements: Same enhancements available with identical configuration
â Quality Standards: Same testing best practices and quality gates
Configuration Differences
Section titled âConfiguration DifferencesâOld: BMM-Embedded Configuration
Section titled âOld: BMM-Embedded Configurationâ# Variables were part of BMM modulevariables: bmm_test_artifacts: test-results # Mixed BMM and TEA configNew: Standalone Configuration
Section titled âNew: Standalone Configurationâ# TEA has its own module.yamlcode: teaname: Test Architect (TEA)
variables: test_artifacts: description: Base folder for test artifacts default: test-results prompt: true
tea_use_playwright_utils: description: Enable Playwright Utils integration default: false prompt: true
tea_use_mcp_enhancements: description: Enable Playwright MCP enhancements default: false prompt: true
test_design_output: description: Test design documents folder default: test-design prompt: false
test_review_output: description: Test review reports folder default: test-review prompt: false
trace_output: description: Traceability reports folder default: trace prompt: falseTroubleshooting
Section titled âTroubleshootingâIssue: âAgent Not Foundâ Error
Section titled âIssue: âAgent Not Foundâ ErrorâSymptom: Error: Agent '_bmad/tea' not found
Solution:
- Verify TEA is installed:
Terminal window ls -la _bmad/tea/ - If missing, reinstall TEA:
Terminal window npx bmad-method install# Select: Test Architect (TEA)
Issue: Old Commands Not Working
Section titled âIssue: Old Commands Not WorkingâSymptom: /bmad:bmm:tea:test-design returns âCommand not foundâ
Solution: Update to new namespace:
# Old (won't work)/bmad:bmm:tea:test-design
# New (correct)/bmad:tea:test-designIssue: Configuration Variables Not Set
Section titled âIssue: Configuration Variables Not SetâSymptom: TEA asks for variables every time
Solution: Ensure _bmad/tea/module.yaml exists and contains variable definitions.
Issue: Knowledge Base Fragments Not Loading
Section titled âIssue: Knowledge Base Fragments Not LoadingâSymptom: TEA workflows run but donât include knowledge base context
Solution:
- Check tea-index.csv exists:
Terminal window ls -la _bmad/tea/testarch/tea-index.csv - Verify knowledge fragments:
Terminal window ls -la _bmad/tea/testarch/knowledge/# Should show 34 .md files
Issue: Workflows Producing Different Outputs
Section titled âIssue: Workflows Producing Different OutputsâSymptom: Test designs or reports look different than before
Solution: This shouldnât happen - workflows are functionally identical. If you notice differences:
- Check youâre using the same workflow (e.g.,
test-designnottest-review) - Verify knowledge base fragments loaded correctly
- Check variable configuration matches your previous setup
For additional help, see docs/reference/troubleshooting.md or open an issue on GitHub.
Benefits of Standalone TEA
Section titled âBenefits of Standalone TEAâFor End Users
Section titled âFor End Usersâ- â Optional Installation: Only install TEA if you need test architecture guidance
- â Lighter Weight: Donât carry TEAâs dependencies if youâre not using it
- â Clearer Purpose: TEA focuses exclusively on test engineering
- â Faster Updates: TEA can release independently of BMM
For Contributors
Section titled âFor Contributorsâ- â Focused Codebase: Work on testing features without BMM complexity
- â Independent Testing: Test suite focused only on TEA functionality
- â Easier Maintenance: Changes to TEA donât affect BMM and vice versa
- â Clearer Ownership: Test engineering contributions go to TEA repo
Compatibility Matrix
Section titled âCompatibility Matrixâ| BMAD Method Version | TEA Version | Compatible? | Notes |
|---|---|---|---|
| v6.x (legacy) | Embedded | â | Old BMM-embedded TEA |
| v7.0.0+ | 1.0.0+ | â | Standalone TEA module |
| v7.0.0+ | Embedded | â | TEA removed from BMM in v7.0.0 |
| v6.x (legacy) | 1.0.0+ | â | Standalone TEA requires BMM v7.0.0+ |
Migration Checklist
Section titled âMigration ChecklistâUse this checklist to ensure a smooth migration:
- Verify BMAD Method version is v7.0.0 or later
- Install standalone TEA module via
npx bmad-method install - Configure TEA variables (test_artifacts, Playwright Utils, MCP)
- Update saved prompts to use new namespace (
/bmad:tea:*) - Update documentation references to new commands
- Update CI/CD scripts if they invoke TEA commands
- Test each workflow you use (e.g.,
test-design,automate,atdd) - Verify knowledge base fragments load correctly
- Confirm output formats match expectations
- Update team documentation and onboarding guides
Getting Help
Section titled âGetting HelpâIf you encounter issues during migration:
- Documentation: Check test-architect.bmad-method.org
- Troubleshooting: See docs/reference/troubleshooting.md
- GitHub Issues: Open an issue at bmad-code-org/bmad-method-test-architecture-enterprise
- Community: Join discussions in GitHub Discussions
Do I need to migrate immediately?
Section titled âDo I need to migrate immediately?âNo. If youâre on BMAD Method v6.x with embedded TEA, you can continue using it. However, new features and updates will only be released for standalone TEA (v1.0.0+).
Can I use both BMM and TEA together?
Section titled âCan I use both BMM and TEA together?âYes! Thatâs the recommended approach. Install both modules for integrated development and testing workflows.
Will my old test designs/reports still work?
Section titled âWill my old test designs/reports still work?âYes. Output formats remain compatible. You can continue using test designs and reports generated by BMM-embedded TEA.
What if I donât want to use TEA?
Section titled âWhat if I donât want to use TEA?âThatâs fine! TEA is now optional. Simply donât install it during BMAD Method setup.
Is standalone TEA compatible with Playwright Utils?
Section titled âIs standalone TEA compatible with Playwright Utils?âYes. Standalone TEA has the same Playwright Utils integration as BMM-embedded TEA. Enable it via the tea_use_playwright_utils variable during installation.
Where can I find the old BMM-embedded TEA?
Section titled âWhere can I find the old BMM-embedded TEA?âBMM-embedded TEA will remain available in BMAD Method v6.x releases for backwards compatibility. However, it wonât receive new features or updates.
Ready to migrate? Start with Step 1: Check Current BMAD Version
Need help? See Troubleshooting or Getting Help