You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

test-design-handoff-template.md 3.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. ---
  2. title: 'TEA Test Design → BMAD Handoff Document'
  3. version: '1.0'
  4. workflowType: 'testarch-test-design-handoff'
  5. inputDocuments: []
  6. sourceWorkflow: 'testarch-test-design'
  7. generatedBy: 'TEA Master Test Architect'
  8. generatedAt: '{timestamp}'
  9. projectName: '{project_name}'
  10. ---
  11. # TEA → BMAD Integration Handoff
  12. ## Purpose
  13. This document bridges TEA's test design outputs with BMAD's epic/story decomposition workflow (`create-epics-and-stories`). It provides structured integration guidance so that quality requirements, risk assessments, and test strategies flow into implementation planning.
  14. ## TEA Artifacts Inventory
  15. | Artifact | Path | BMAD Integration Point |
  16. | -------------------- | ------------------------- | ---------------------------------------------------- |
  17. | Test Design Document | `{test_design_path}` | Epic quality requirements, story acceptance criteria |
  18. | Risk Assessment | (embedded in test design) | Epic risk classification, story priority |
  19. | Coverage Strategy | (embedded in test design) | Story test requirements |
  20. ## Epic-Level Integration Guidance
  21. ### Risk References
  22. <!-- TEA will populate: P0/P1 risks that should appear as epic-level quality gates -->
  23. ### Quality Gates
  24. <!-- TEA will populate: recommended quality gates per epic based on risk assessment -->
  25. ## Story-Level Integration Guidance
  26. ### P0/P1 Test Scenarios → Story Acceptance Criteria
  27. <!-- TEA will populate: critical test scenarios that MUST be acceptance criteria -->
  28. ### Data-TestId Requirements
  29. <!-- TEA will populate: recommended data-testid attributes for testability -->
  30. ## Risk-to-Story Mapping
  31. | Risk ID | Category | P×I | Recommended Story/Epic | Test Level |
  32. | ------- | -------- | --- | ---------------------- | ---------- |
  33. <!-- TEA will populate from risk assessment -->
  34. ## Recommended BMAD → TEA Workflow Sequence
  35. 1. **TEA Test Design** (`TD`) → produces this handoff document
  36. 2. **BMAD Create Epics & Stories** → consumes this handoff, embeds quality requirements
  37. 3. **TEA ATDD** (`AT`) → generates acceptance tests per story
  38. 4. **BMAD Implementation** → developers implement with test-first guidance
  39. 5. **TEA Automate** (`TA`) → generates full test suite
  40. 6. **TEA Trace** (`TR`) → validates coverage completeness
  41. ## Phase Transition Quality Gates
  42. | From Phase | To Phase | Gate Criteria |
  43. | ------------------- | ------------------- | ------------------------------------------------------ |
  44. | Test Design | Epic/Story Creation | All P0 risks have mitigation strategy |
  45. | Epic/Story Creation | ATDD | Stories have acceptance criteria from test design |
  46. | ATDD | Implementation | Failing acceptance tests exist for all P0/P1 scenarios |
  47. | Implementation | Test Automation | All acceptance tests pass |
  48. | Test Automation | Release | Trace matrix shows ≥80% coverage of P0/P1 requirements |