Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

workflow-plan-teach-me-testing.md 33KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950
  1. ---
  2. stepsCompleted:
  3. [
  4. 'step-01-discovery',
  5. 'step-02-classification',
  6. 'step-03-requirements',
  7. 'step-04-tools',
  8. 'step-05-plan-review',
  9. 'step-06-design',
  10. 'step-07-foundation',
  11. ]
  12. created: 2026-01-27
  13. status: FOUNDATION_COMPLETE
  14. approvedDate: 2026-01-27
  15. designCompletedDate: 2026-01-27
  16. foundationCompletedDate: 2026-01-28
  17. ---
  18. # Workflow Creation Plan
  19. ## Discovery Notes
  20. **User's Vision:**
  21. Create an ongoing learning companion that teaches testing progressively through a structured curriculum. Users at the company (and beyond) lack testing knowledge regardless of experience level - from hobbyist beginners to experienced VPs. The TEA (Test Architecture Enterprise) module has extensive documentation (~24k lines, 200 files, 9 workflows, 42 knowledge fragments), but manual teaching doesn't scale. This workflow solves that by providing self-paced, structured learning with state persistence across multiple sessions.
  22. **Who It's For:**
  23. - New QA engineers (primary onboarding use case)
  24. - Developers who need testing knowledge
  25. - Anyone at the company requiring testing fundamentals through advanced practices
  26. - Scalable to entire team without manual teaching
  27. **What It Produces:**
  28. - Multi-session learning journey (7 sessions, 30-90 min each)
  29. - Session-by-session progress tracking via persistent state file
  30. - Learning artifacts: session notes, test files, reports, completion certificate
  31. - Personalized learning paths customized by role (QA vs Dev vs Lead vs VP)
  32. - Knowledge validation through quizzes after each session
  33. - Resume capability - users can pause and continue across days/weeks
  34. **Key Insights:**
  35. - Content volume (~24k lines) makes single-session teaching infeasible
  36. - State persistence is critical for multi-session continuity
  37. - Just-in-time content loading per session keeps context manageable
  38. - First use case: new QA onboarding completing in 1-2 weeks
  39. - Workflow must reference and integrate TEA docs and knowledge base extensively
  40. - Users learn at their own pace without requiring instructor availability
  41. **Technical Architecture Requirements:**
  42. - 7-session curriculum structure
  43. - State file: tracks progress, scores, completed sessions, artifacts, next recommended session
  44. - Role-based path customization
  45. - Knowledge validation gates between sessions
  46. - Artifact generation per session
  47. - Integration with TEA module documentation and knowledge base
  48. ## Classification Decisions
  49. **Workflow Name:** teach-me-testing
  50. **Target Path:** {project-root}/src/workflows/testarch/bmad-teach-me-testing/
  51. **4 Key Decisions:**
  52. 1. **Document Output:** Yes (produces progress files, session notes, artifacts, completion certificate)
  53. 2. **Module Affiliation:** TEA module (9th workflow in test architecture)
  54. 3. **Session Type:** Continuable (multi-session learning over 1-2 weeks)
  55. 4. **Lifecycle Support:** Tri-modal (Create + Edit + Validate for future-proofing)
  56. **Structure Implications:**
  57. - **Tri-modal architecture:** Needs `steps-c/`, `steps-e/`, `steps-v/` folders
  58. - **Continuable workflow:** Requires `step-01-init.md` with continuation detection + `step-01b-continue.md` for resuming
  59. - **State tracking:** Uses `stepsCompleted` in progress file frontmatter
  60. - **Document templates:** Progress tracking YAML, session notes markdown, completion certificate
  61. - **Module integration:** Access to TEA module variables, docs paths, knowledge base paths
  62. - **Data folder:** Shared data for curriculum structure, role paths, session content mappings
  63. ## Requirements
  64. **Flow Structure:**
  65. - Pattern: Mixed (non-linear between sessions, linear within sessions, branching at start only)
  66. - Phases: Initial assessment → Session selection (non-linear) → Session execution (linear: teach → quiz → artifact) → Completion
  67. - Estimated steps: Init + Continue + Assessment + 7 Session steps + Final Polish/Certificate generation = ~10-12 core step files
  68. - Session jumping: Users can skip to any session based on experience level
  69. - Within session: Strictly linear progression through teaching content
  70. **User Interaction:**
  71. - Style: Mixed (mostly autonomous teaching with collaborative decision points)
  72. - Decision points:
  73. - Role/experience assessment (entry)
  74. - Session selection (menu-driven, can jump around)
  75. - Quiz answers (validation gates)
  76. - Continue to next session or exit
  77. - Checkpoint frequency: At session completion (save progress, offer continue/exit)
  78. - Teaching approach: AI presents content, user absorbs - minimal interruption once learning
  79. **Inputs Required:**
  80. - Required:
  81. - User role (QA, Dev, Lead, VP)
  82. - Experience level (beginner, intermediate, experienced)
  83. - Learning goals (fundamentals, TEA-specific, advanced patterns)
  84. - Optional:
  85. - Existing project for practical examples
  86. - Specific pain points (flaky tests, slow tests, hard to maintain)
  87. - Prerequisites:
  88. - TEA module installed
  89. - Access to TEA docs and knowledge base
  90. - Understanding of time commitment (30-90 min per session)
  91. **Output Specifications:**
  92. - Type: Multiple document types
  93. - Format: Mixed formats
  94. - Progress file: Structured YAML with specific schema (sessions, scores, artifacts, completed_date, next_recommended)
  95. - Session notes: Free-form markdown built progressively per session
  96. - Completion certificate: Structured format with completion data
  97. - Sections:
  98. - Progress file has fixed schema
  99. - Session notes vary by session content
  100. - Certificate has standard completion fields
  101. - Frequency:
  102. - Progress file: Updated after each session
  103. - Session notes: Generated per session
  104. - Certificate: Generated at final completion
  105. **Success Criteria:**
  106. - User completes their chosen sessions (might be 1, might be all 7)
  107. - Knowledge validated through quizzes (≥70% passing threshold)
  108. - Artifacts generated successfully (progress file exists, session notes created, learning tracked)
  109. - User can apply knowledge (write their first good test following TEA principles)
  110. - Onboarding velocity achieved (new QAs complete core sessions within 1-2 weeks)
  111. - Scalability proven (multiple team members learn without requiring instructor time)
  112. **Instruction Style:**
  113. - Overall: Mixed (prescriptive for structure, intent-based for teaching)
  114. - Prescriptive for:
  115. - Initial assessment (consistent role/experience classification)
  116. - Quiz questions (need exact validation logic)
  117. - Progress tracking (exact state file updates)
  118. - Session navigation (clear menu structure)
  119. - Intent-based for:
  120. - Teaching sessions (AI adapts explanations naturally)
  121. - Example selection (AI chooses relevant TEA docs/knowledge fragments)
  122. - Artifact generation (AI synthesizes learning into notes)
  123. - Role-flavored content (AI adjusts examples based on user role)
  124. ## Tools Configuration
  125. **Core BMAD Tools:**
  126. - **Party Mode:** Included (optional via A/P menu) - Use for collaborative exploration when the learner wants a lighter format
  127. - **Advanced Elicitation:** Included (optional via A/P menu) - Use for deeper discovery or clarification during sessions
  128. - **Brainstorming:** Excluded - Not needed for structured curriculum delivery
  129. **LLM Features:**
  130. - **Web-Browsing:** Included - Use case: Safety net for framework updates (Cypress, Jest, newer Playwright versions) and frameworks not covered in TEA docs. Motto: "Only reach out when you don't have the info"
  131. - **File I/O:** Included - Operations: Read TEA docs (/docs/_.md), read knowledge fragments (/src/agents/bmad-tea/resources/knowledge/_.md), write progress file ({user}-tea-progress.yaml), write session notes, write completion certificate
  132. - **Sub-Agents:** Excluded - Sessions are linear teaching steps handled by TEA agent, not complex specialized tasks requiring delegation
  133. - **Sub-Processes:** Excluded - Learning is sequential (one session at a time), no parallel processing needed
  134. **Memory:**
  135. - Type: Continuable workflow with persistent state
  136. - Tracking:
  137. - `stepsCompleted` array in progress YAML
  138. - Session completion tracking (id, status, completed_date, score, artifacts)
  139. - Progress metrics (completion_percentage, next_recommended)
  140. - Progress file structure:
  141. ```yaml
  142. user: { user_name }
  143. role: { qa/dev/lead/vp }
  144. sessions: [{ id, status, completed_date, score, artifacts }]
  145. completion_percentage: { percent }
  146. next_recommended: { session-id }
  147. ```
  148. - Continuation support via step-01b-continue.md with progress dashboard
  149. **External Integrations:**
  150. - None - Self-contained within TEA module, no external databases/APIs/MCP servers needed
  151. **Installation Requirements:**
  152. - None - All selected tools are built-in (Web-Browsing and File I/O are standard LLM features)
  153. - User preference: N/A (no installations required)
  154. ## Workflow Design
  155. ### Complete Flow Overview
  156. **Entry → Init (check for progress) → [New User: Assessment | Returning User: Dashboard] → Session Menu (hub) → Sessions 1-7 (loop back to menu) → Completion Certificate**
  157. ### Step Structure (CREATE mode - steps-c/)
  158. **Total: 12 step files**
  159. #### Phase 1: Initialization & Continuation
  160. 1. **step-01-init.md** (Init Step - Continuable)
  161. - Goal: Welcome user, check for existing progress file, explain workflow, create initial progress if new
  162. - Type: Init (Continuable) - checks for `{user}-tea-progress.yaml`, routes to step-01b if exists
  163. - Menu: Auto-proceed (Pattern 3) - no user menu
  164. - Logic: Checks for existing progress → routes to step-01b if exists, otherwise creates new and proceeds to step-02
  165. 2. **step-01b-continue.md** (Continuation Step)
  166. - Goal: Load existing progress, show dashboard with completion status, route to session menu
  167. - Type: Continuation - reads `stepsCompleted`, displays progress percentage
  168. - Menu: Auto-proceed (Pattern 3) - no user menu
  169. - Logic: Shows progress dashboard → auto-routes to step-03-session-menu
  170. #### Phase 2: Assessment & Path Selection
  171. 3. **step-02-assess.md** (Middle Step - Standard)
  172. - Goal: Gather role (QA/Dev/Lead/VP), experience level, learning goals, optional pain points
  173. - Type: Middle (Standard) auto-proceed
  174. - Menu: Auto-proceed (Pattern 3) - no user menu
  175. - On completion: Saves assessment to progress file → loads step-03-session-menu
  176. 4. **step-03-session-menu.md** (Branch Step - Hub)
  177. - Goal: Present 7 sessions with descriptions + completion status, allow non-linear selection
  178. - Type: Branch Step (custom menu: 1-7, X for exit)
  179. - Menu: Custom branching (Pattern 4)
  180. - Display: [1-7] Select session | [X] Exit
  181. - Logic:
  182. - 1-7: Routes to corresponding session step
  183. - X: If all sessions complete → routes to step-05-completion; if incomplete → saves and exits
  184. - **This is the hub - all sessions return here**
  185. #### Phase 3: Session Execution (7 Sessions)
  186. 5-11. **step-04-session-[01-07].md** (Middle Steps - Complex)
  187. - Each session follows same pattern:
  188. - Loads relevant TEA docs just-in-time
  189. - Presents teaching content (mostly autonomous)
  190. - Knowledge validation quiz (collaborative)
  191. - Generates session notes artifact
  192. - Updates progress file
  193. - Returns to step-03-session-menu
  194. - Menu: Standard A/P/C (Pattern 1) - users might want Advanced Elicitation
  195. - On C: Saves session notes, updates progress (mark complete, update score), returns to hub
  196. **Sessions:**
  197. - **session-01**: Quick Start (30 min) - TEA Lite intro, run automate workflow
  198. - **session-02**: Core Concepts (45 min) - Risk-based testing, DoD, philosophy
  199. - **session-03**: Architecture (60 min) - Fixtures, network patterns, framework
  200. - **session-04**: Test Design (60 min) - Risk assessment workflow
  201. - **session-05**: ATDD & Automate (60 min) - ATDD + Automate workflows
  202. - **session-06**: Quality & Trace (45 min) - Test review + Trace workflows
  203. - **session-07**: Advanced Patterns (ongoing) - Menu-driven knowledge fragment exploration
  204. #### Phase 4: Completion
  205. 12. **step-05-completion.md** (Final Step)
  206. - Goal: Generate completion certificate, final progress update, congratulate
  207. - Type: Final - no nextStepFile, marks workflow complete
  208. - Menu: None (final step)
  209. - Logic: Generates certificate, displays congratulations, workflow ends
  210. ### Interaction Patterns
  211. - **Auto-proceed steps:** step-01-init, step-01b-continue, step-02-assess
  212. - **Standard A/P/C:** step-04-session-[01-07]
  213. - **Custom branching:** step-03-session-menu (hub)
  214. - **No menu:** step-05-completion (final)
  215. ### Data Flow
  216. **Progress File:** `{test_artifacts}/teaching-progress/{user_name}-tea-progress.yaml`
  217. **Schema:**
  218. ```yaml
  219. user: { user_name }
  220. role: { qa/dev/lead/vp }
  221. experience_level: { beginner/intermediate/experienced }
  222. learning_goals: [list]
  223. pain_points: [optional list]
  224. started_date: 2026-01-27
  225. last_session_date: 2026-01-27
  226. sessions:
  227. - id: session-01-quickstart
  228. status: completed
  229. completed_date: 2026-01-27
  230. score: 90
  231. notes_artifact: '{test_artifacts}/tea-academy/{user_name}/session-01-notes.md'
  232. - id: session-02-concepts
  233. status: in-progress
  234. started_date: 2026-01-27
  235. # ... sessions 03-07
  236. sessions_completed: 1
  237. total_sessions: 7
  238. completion_percentage: 14
  239. next_recommended: session-02-concepts
  240. stepsCompleted: ['step-01-init', 'step-02-assess', 'step-04-session-01']
  241. lastStep: 'step-04-session-01'
  242. lastContinued: '2026-01-27'
  243. ```
  244. **Data Flow Per Step:**
  245. - **step-01-init:** Creates initial progress YAML if new
  246. - **step-01b-continue:** Reads progress file, updates lastContinued
  247. - **step-02-assess:** Updates role, experience, goals, pain_points
  248. - **step-03-session-menu:** Reads sessions array (display status)
  249. - **step-04-session-[N]:** Reads progress (for role), writes session notes, updates sessions array
  250. - **step-05-completion:** Reads all sessions data, writes certificate
  251. **Error Handling:**
  252. - Quiz failure (<70%): Offer review or continue anyway
  253. - Missing TEA docs: Use Web-Browsing fallback
  254. - Corrupted progress: Backup and offer fresh start
  255. - Session interrupted: Auto-save after quiz completion
  256. **Checkpoints:**
  257. - After assessment complete
  258. - After each quiz completion
  259. - After each session artifact generation
  260. - On user exit from session menu
  261. ### File Structure
  262. ```
  263. teach-me-testing/
  264. ├── workflow.md # Main entry point
  265. ├── workflow.yaml # Workflow metadata
  266. ├── steps-c/ # CREATE mode (12 steps)
  267. │ ├── step-01-init.md
  268. │ ├── step-01b-continue.md
  269. │ ├── step-02-assess.md
  270. │ ├── step-03-session-menu.md
  271. │ ├── step-04-session-01.md
  272. │ ├── step-04-session-02.md
  273. │ ├── step-04-session-03.md
  274. │ ├── step-04-session-04.md
  275. │ ├── step-04-session-05.md
  276. │ ├── step-04-session-06.md
  277. │ ├── step-04-session-07.md
  278. │ └── step-05-completion.md
  279. ├── steps-e/ # EDIT mode (2 steps)
  280. │ ├── step-e-01-assess-workflow.md
  281. │ └── step-e-02-apply-edits.md
  282. ├── steps-v/ # VALIDATE mode (1 step)
  283. │ └── step-v-01-validate.md
  284. ├── data/ # Shared data files
  285. │ ├── curriculum.yaml
  286. │ ├── role-paths.yaml
  287. │ ├── session-content-map.yaml
  288. │ ├── quiz-questions.yaml
  289. │ └── tea-resources-index.yaml
  290. ├── templates/ # Document templates
  291. │ ├── progress-template.yaml
  292. │ ├── session-notes-template.md
  293. │ └── certificate-template.md
  294. ├── instructions.md
  295. └── checklist.md
  296. ```
  297. ### Role and Persona Definition
  298. **AI Role:** Master Test Architect and Teaching Guide
  299. **Expertise:**
  300. - Deep knowledge of testing principles (risk-based, test pyramid, types)
  301. - Expert in TEA methodology (9 workflows, architecture patterns, 42 knowledge fragments)
  302. - Familiar with Playwright, test automation, CI/CD
  303. - Teaching pedagogy: progressive learning, knowledge validation, role-based examples
  304. **Communication Style:**
  305. - **Teaching:** Clear, patient, educational - adapts complexity by role
  306. - **Quizzes:** Encouraging, constructive feedback, non-judgmental
  307. - **Navigation:** Clear, concise, shows completion status prominently
  308. - **Tone:** Encouraging but not patronizing, technical but accessible
  309. **Teaching Principles:**
  310. 1. Just-in-time learning (load content when needed)
  311. 2. Active recall (quiz after teaching)
  312. 3. Spaced repetition (reference earlier concepts)
  313. 4. Role-flavored examples (same concept, different contexts)
  314. 5. Artifact generation (learners keep notes)
  315. ### Validation and Error Handling
  316. **Output Validation:**
  317. - Progress file: Schema, status, score (0-100), date, artifact paths
  318. - Session notes: Frontmatter present, content not empty (min 100 chars)
  319. - Certificate: All 7 sessions complete, valid dates, user info present
  320. **User Input Validation:**
  321. - Role: Must be QA, Dev, Lead, or VP
  322. - Experience: beginner, intermediate, or experienced
  323. - Quiz answers: 3 attempts before showing correct answer
  324. - Session selection: Must be 1-7 or X
  325. **Error Recovery:**
  326. - Corrupted progress: Backup, offer fresh start
  327. - Missing docs: Web-Browsing fallback
  328. - Quiz failure: Review or continue options
  329. - Interrupted session: Auto-save progress
  330. **Success Criteria:**
  331. - Session complete: Content presented, quiz passed, notes generated, progress updated
  332. - Workflow complete: All 7 sessions done, avg score ≥70%, artifacts created, certificate generated
  333. ### Special Features
  334. **Conditional Logic:**
  335. - Session menu routing: Check if all complete → route to completion or show menu
  336. - Quiz scoring: If ≥70% proceed, if <70% offer review
  337. **Branch Points:**
  338. - Initial entry: Progress exists? → continue vs new
  339. - Experience-based recommendations: Beginner → session 1, Experienced → session 7
  340. **Integration with TEA Workflows:**
  341. - Session 1: Demonstrates [TA] Automate
  342. - Session 3: May run [TF] Framework
  343. - Session 4: Runs [TD] Test Design
  344. - Session 5: Runs [AT] ATDD + [TA] Automate
  345. - Session 6: Runs [RV] Test Review + [TR] Trace
  346. **Role-Based Content:**
  347. - QA: Practical testing focus
  348. - Dev: Integration and TDD focus
  349. - Lead: Architecture and patterns focus
  350. - VP: Strategy and metrics focus
  351. **Session 7 Special Handling:**
  352. - Exploratory menu-driven deep-dive into 42 knowledge fragments
  353. - Organized by categories (Testing Patterns, Playwright Utils, Config/Governance, etc.)
  354. - Links to GitHub for browsing
  355. **Content Sources (Triple Reference System):**
  356. - Local files: `/docs/*.md`, `/src/agents/bmad-tea/resources/knowledge/*.md`
  357. - Online docs: `<https://bmad-code-org.github.io/bmad-method-test-architecture-enterprise/`>
  358. - GitHub fragments: Direct links to knowledge fragment source files
  359. ### Design Summary
  360. **Complete:** 12-step CREATE workflow with hub pattern
  361. **Continuable:** Progress file tracks state across sessions
  362. **Non-linear:** Users jump to any session from hub
  363. **Role-flavored:** Same concepts, role-specific examples
  364. **Triple content:** Local + online + GitHub sources
  365. **Web-Browsing:** Fallback for missing/updated docs
  366. **Auto-save:** After each session completion
  367. **Tri-modal:** Create (12 steps) + Edit (2 steps) + Validate (1 step)
  368. ## Foundation Build Complete
  369. **Created:** 2026-01-28
  370. **Folder Structure:**
  371. ```
  372. teach-me-testing/
  373. ├── workflow.md ✓ Created
  374. ├── steps-c/ ✓ Created (empty, to be populated)
  375. ├── steps-e/ ✓ Created (empty, to be populated)
  376. ├── steps-v/ ✓ Created (empty, to be populated)
  377. ├── data/ ✓ Created (empty, to be populated)
  378. ├── templates/ ✓ Created
  379. │ ├── progress-template.yaml ✓ Created
  380. │ ├── session-notes-template.md ✓ Created
  381. │ └── certificate-template.md ✓ Created
  382. ├── instructions.md ✓ Created
  383. └── checklist.md ✓ Created
  384. ```
  385. **Location:** {external-project-root}/\_bmad-output/bmb-creations/workflows/teach-me-testing/
  386. **Configuration:**
  387. - Workflow name: teach-me-testing
  388. - Continuable: Yes (multi-session learning)
  389. - Document output: Yes (Progress YAML, Session notes MD, Certificate MD)
  390. - Mode: Tri-modal (Create + Edit + Validate)
  391. - Module: TEA (Test Architecture Enterprise)
  392. **Files Created:**
  393. 1. **workflow.md**
  394. - Tri-modal routing logic (Create/Edit/Validate)
  395. - Configuration loading from TEA module
  396. - Step-file architecture principles
  397. - Initialization sequence
  398. 2. **templates/progress-template.yaml**
  399. - Complete progress tracking schema
  400. - 7 sessions defined
  401. - Session status tracking (not-started/in-progress/completed)
  402. - stepsCompleted array for continuation
  403. - Progress metrics (completion_percentage, next_recommended)
  404. 3. **templates/session-notes-template.md**
  405. - Session metadata
  406. - Key concepts, objectives, takeaways
  407. - TEA resources referenced
  408. - Quiz results
  409. - Practical examples
  410. 4. **templates/certificate-template.md**
  411. - Completion certificate structure
  412. - All 7 sessions with scores
  413. - Skills acquired checklist
  414. - Learning artifacts paths
  415. - Next steps recommendations
  416. 5. **instructions.md**
  417. - How to run the workflow
  418. - Session structure and flow
  419. - Progress tracking details
  420. - Troubleshooting guide
  421. 6. **checklist.md**
  422. - Quality validation checklist
  423. - Foundation quality checks
  424. - Step file quality standards
  425. - Data file quality requirements
  426. - Completion criteria
  427. **Next Steps:**
  428. - Step 8: Build step-01-init.md (initialization with continuation detection)
  429. - Step 9: Build step-01b-continue.md (continuation/resume logic)
  430. - Step 10+: Build remaining 10 step files (assessment, session menu, 7 sessions, completion)
  431. - Populate data/ folder with curriculum, role paths, session content map, quizzes, resources index
  432. ## Step 01 Build Complete
  433. **Created:** 2026-01-28
  434. **Files:**
  435. - `steps-c/step-01-init.md` ✓
  436. - `steps-c/step-01b-continue.md` ✓
  437. **Step Configuration:**
  438. - **Type:** Continuable (multi-session learning)
  439. - **Input Discovery:** No (self-contained teaching)
  440. - **Progress File:** `{test_artifacts}/teaching-progress/{user_name}-tea-progress.yaml`
  441. - **Menu Pattern:** Auto-proceed (no user menu)
  442. **step-01-init.md:**
  443. - Checks for existing progress file
  444. - If exists → routes to step-01b-continue
  445. - If not → creates new progress from template, proceeds to step-02-assess
  446. - Initializes stepsCompleted array
  447. - Creates complete session tracking structure (all 7 sessions)
  448. **step-01b-continue.md:**
  449. - Loads existing progress file
  450. - Updates lastContinued timestamp
  451. - Displays progress dashboard with completion status
  452. - Shows session indicators (✅ completed, 🔄 in-progress, ⬜ not-started)
  453. - Auto-routes to step-03-session-menu (hub)
  454. **Frontmatter Compliance:**
  455. - All variables used in step body
  456. - Relative paths for internal references
  457. - No hardcoded paths
  458. - Follows frontmatter standards
  459. **Next Steps:**
  460. - Build step-02-assess.md (assessment)
  461. - Build step-03-session-menu.md (hub)
  462. - Build 7 session steps (step-04-session-01 through step-04-session-07)
  463. - Build step-05-completion.md (certificate generation)
  464. ## Step 02 Build Complete
  465. **Created:** 2026-01-28
  466. **Files:**
  467. - `steps-c/step-02-assess.md` ✓
  468. **Step Configuration:**
  469. - **Type:** Middle Step (Standard) auto-proceed
  470. - **Next Step:** step-03-session-menu
  471. - **Menu Pattern:** Auto-proceed (Pattern 3) - no user menu
  472. **step-02-assess.md:**
  473. - Gathers role (QA/Dev/Lead/VP) with validation
  474. - Gathers experience level (beginner/intermediate/experienced) with validation
  475. - Gathers learning goals (required, validated)
  476. - Gathers pain points (optional)
  477. - Updates progress file with all assessment data
  478. - Provides experience-based session recommendations
  479. - Updates stepsCompleted array with 'step-02-assess'
  480. - Routes to step-03-session-menu (hub)
  481. **Frontmatter Compliance:**
  482. - All variables used in step body
  483. - Relative paths for internal references
  484. - No hardcoded paths
  485. - Follows frontmatter standards
  486. **Remaining Steps:** 9 more to build
  487. - step-03-session-menu (hub with branching)
  488. - step-04-session-01 through step-04-session-07 (7 teaching sessions)
  489. - step-05-completion (certificate generation)
  490. ## Step 03 Build Complete
  491. **Created:** 2026-01-28
  492. **Files:**
  493. - `steps-c/step-03-session-menu.md` ✓
  494. **Step Configuration:**
  495. - **Type:** Branch Step (Hub) with custom menu (1-7, X)
  496. - **Routes To:** Any of 7 sessions OR completion OR exit
  497. - **Menu Pattern:** Custom branching (Pattern 4)
  498. **step-03-session-menu.md:**
  499. - Loads progress file to get session completion status
  500. - Displays all 7 sessions with status indicators (✅ completed, 🔄 in-progress, ⬜ not-started)
  501. - Shows completion percentage and scores
  502. - Provides session descriptions and durations
  503. - Recommends next session based on progress
  504. - Detects when all 7 sessions complete → routes to completion
  505. - Allows non-linear session selection (jump to any session)
  506. - Exit option (X) saves progress and ends workflow
  507. - This is the HUB - all sessions return here
  508. - No stepsCompleted update (routing hub, not content step)
  509. **Routing Logic:**
  510. - 1-7 → Routes to corresponding session step
  511. - X → Saves and exits workflow
  512. - All complete → Auto-routes to step-05-completion
  513. **Frontmatter Compliance:**
  514. - All 7 session file references used in routing logic
  515. - Completion file reference used for all-done scenario
  516. - Progress file loaded for status display
  517. - Relative paths for all step files
  518. **Remaining Steps:** 8 more to build
  519. - step-04-session-01 through step-04-session-07 (7 teaching sessions)
  520. - step-05-completion (certificate generation)
  521. ## Step 04-Session-01 Build Complete
  522. **Created:** 2026-01-28
  523. **Files:**
  524. - `steps-c/step-04-session-01.md` ✓
  525. **Step Configuration:**
  526. - **Type:** Middle Step (Complex) with A/P/C menu
  527. - **Session:** Quick Start (30 min)
  528. - **Next Step:** Returns to step-03-session-menu (hub)
  529. - **Menu Pattern:** Standard A/P/C (Pattern 1)
  530. **step-04-session-01.md:**
  531. - Session 1: Quick Start - TEA Lite intro, run automate workflow
  532. - Updates progress (status: in-progress at start, completed at end)
  533. - Teaching content: What is TEA, TEA Lite, Automate workflow, engagement models
  534. - Role-adapted examples (QA/Dev/Lead/VP perspectives)
  535. - 3-question quiz with validation (passing: ≥70%)
  536. - Quiz retry option if failing (<70%)
  537. - Generates session notes using template with all quiz results
  538. - Updates progress file (status, score, notes_artifact, completion_percentage)
  539. - Updates stepsCompleted array with 'step-04-session-01'
  540. - Returns to session menu hub (step-03)
  541. **Teaching Topics:**
  542. - What is TEA and why it exists
  543. - 9 workflows + 42 knowledge fragments
  544. - Quality standards (Definition of Done)
  545. - Risk-based testing (P0-P3 matrix)
  546. - TEA engagement models (Lite/Solo/Integrated/Enterprise/Brownfield)
  547. - Automate workflow conceptual overview
  548. **TEA Resources Referenced:**
  549. - TEA Overview, TEA Lite Quickstart, Automate Workflow docs
  550. - Online URLs provided for further reading
  551. **Remaining Steps:** 7 more to build
  552. - step-04-session-02 through step-04-session-07 (6 more teaching sessions)
  553. - step-05-completion (certificate generation)
  554. ## Step 04-Session-02 Build Complete
  555. **Created:** 2026-01-28
  556. **Files:** `steps-c/step-04-session-02.md` ✓
  557. **Session:** Core Concepts (45 min) - Testing as Engineering, Risk-based testing (P0-P3), TEA Definition of Done
  558. **Pattern:** Middle Step (Complex) with A/P/C menu, returns to hub
  559. **Teaching:** Philosophy, risk matrix, quality standards with role-adapted examples
  560. **Quiz:** 3 questions on P0-P3, hard waits, self-cleaning tests
  561. **Knowledge Fragments:** test-quality.md, probability-impact.md
  562. **Remaining:** 6 steps (sessions 03-07 + completion)
  563. ## Step 04-Session-03 Build Complete
  564. **Created:** 2026-01-28
  565. **Files:** `steps-c/step-04-session-03.md` ✓
  566. **Session:** Architecture & Patterns (60 min)
  567. **Topics:** Fixture composition, network-first patterns, data factories, step-file architecture
  568. **Knowledge Fragments:** fixture-architecture.md, network-first.md, data-factories.md
  569. **Quiz:** 3 questions on fixtures, network-first, step-file architecture
  570. ## Step 04-Session-04 Build Complete
  571. **Created:** 2026-01-28
  572. **Files:** `steps-c/step-04-session-04.md` ✓
  573. **Session:** Test Design (60 min)
  574. **Topics:** Test Design workflow, risk/testability assessment, coverage planning, test priorities matrix
  575. **Knowledge Fragments:** test-levels-framework.md, test-priorities-matrix.md
  576. **Quiz:** 3 questions on test design, risk calculation, P0 coverage
  577. ## Step 04-Session-05 Build Complete
  578. **Created:** 2026-01-28
  579. **Files:** `steps-c/step-04-session-05.md` ✓
  580. **Session:** ATDD & Automate (60 min)
  581. **Topics:** ATDD workflow (red-green TDD), Automate workflow, component TDD, API testing patterns
  582. **Knowledge Fragments:** component-tdd.md, api-testing-patterns.md, api-request.md
  583. **Quiz:** 3 questions on TDD red phase, ATDD vs Automate, API testing
  584. ## Step 04-Session-06 Build Complete
  585. **Created:** 2026-01-28
  586. **Files:** `steps-c/step-04-session-06.md` ✓
  587. **Session:** Quality & Trace (45 min)
  588. **Topics:** Test Review workflow (5 dimensions), Trace workflow, quality metrics
  589. **Quiz:** 3 questions on quality dimensions, release gates, metrics
  590. ## Step 04-Session-07 Build Complete
  591. **Created:** 2026-01-28
  592. **Files:** `steps-c/step-04-session-07.md` ✓
  593. **Session:** Advanced Patterns (ongoing)
  594. **Format:** Menu-driven exploration of 42 knowledge fragments
  595. **Categories:** Testing Patterns (9), Playwright Utils (11), Config/Governance (6), Quality Frameworks (5), Auth/Security (3)
  596. **No Quiz:** Exploratory session, score: 100 on completion
  597. **Special:** Repeatable, user can explore multiple fragments, returns to hub
  598. ## Step 05-Completion Build Complete
  599. **Created:** 2026-01-28
  600. **Files:** `steps-c/step-05-completion.md` ✓
  601. **Type:** Final Step (no next step)
  602. **Purpose:** Verify all 7 sessions complete, generate certificate, final progress update, celebrate
  603. **Certificate:** Includes all session scores, skills acquired, learning artifacts, next steps
  604. **Final:** Updates progress (certificate_generated: true, completion_date)
  605. **No Menu:** Workflow ends here
  606. ---
  607. ## CREATE Mode Build Complete (12 Steps)
  608. **All CREATE mode steps built:** ✓
  609. 1. step-01-init.md - Initialize with continuation detection
  610. 2. step-01b-continue.md - Resume with progress dashboard
  611. 3. step-02-assess.md - Role/experience assessment
  612. 4. step-03-session-menu.md - Session selection hub
  613. 5. step-04-session-01.md - Quick Start
  614. 6. step-04-session-02.md - Core Concepts
  615. 7. step-04-session-03.md - Architecture & Patterns
  616. 8. step-04-session-04.md - Test Design
  617. 9. step-04-session-05.md - ATDD & Automate
  618. 10. step-04-session-06.md - Quality & Trace
  619. 11. step-04-session-07.md - Advanced Patterns
  620. 12. step-05-completion.md - Certificate generation
  621. **Remaining:**
  622. - Data files (curriculum.yaml, role-paths.yaml, session-content-map.yaml, quiz-questions.yaml, tea-resources-index.yaml)
  623. - EDIT mode steps (2 steps)
  624. - VALIDATE mode steps (1 step)
  625. ---
  626. ## Data Files Build Complete
  627. **Created:** 2026-01-28
  628. **Files:**
  629. 1. `data/curriculum.yaml` ✓ - 7-session structure, learning paths by experience, completion requirements
  630. 2. `data/role-paths.yaml` ✓ - Role customizations for QA/Dev/Lead/VP with focus areas and teaching adaptations
  631. 3. `data/session-content-map.yaml` ✓ - Maps sessions to TEA docs, knowledge fragments, online URLs, workflows
  632. 4. `data/quiz-questions.yaml` ✓ - Question bank for sessions 1-6 (session 7 is exploratory, no quiz)
  633. 5. `data/tea-resources-index.yaml` ✓ - Comprehensive index of 32 docs + 42 knowledge fragments with GitHub links
  634. **All 5 data files complete.**
  635. ---
  636. ## EDIT Mode Build Complete
  637. **Created:** 2026-01-28
  638. **Files:**
  639. 1. `steps-e/step-e-01-assess-workflow.md` ✓ - Identify what to edit, gather edit requirements
  640. 2. `steps-e/step-e-02-apply-edits.md` ✓ - Apply modifications with user approval, validate integrity
  641. **All 2 EDIT mode steps complete.**
  642. ---
  643. ## VALIDATE Mode Build Complete
  644. **Created:** 2026-01-28
  645. **Files:**
  646. 1. `steps-v/step-v-01-validate.md` ✓ - Comprehensive quality validation against BMAD standards, generates validation report
  647. **All 1 VALIDATE mode step complete.**
  648. ---
  649. ## 🏆 WORKFLOW BUILD COMPLETE
  650. **Status:** ✅ 100% COMPLETE
  651. **Total Files Created:** 24 files
  652. ### Foundation (6 files)
  653. - workflow.md
  654. - instructions.md
  655. - checklist.md
  656. - workflow-plan-teach-me-testing.md
  657. - (plus 3 templates)
  658. ### Templates (3 files)
  659. - progress-template.yaml
  660. - session-notes-template.md
  661. - certificate-template.md
  662. ### CREATE Mode (12 step files)
  663. - step-01-init.md
  664. - step-01b-continue.md
  665. - step-02-assess.md
  666. - step-03-session-menu.md
  667. - step-04-session-01.md through step-04-session-07.md (7 sessions)
  668. - step-05-completion.md
  669. ### Data Files (5 files)
  670. - curriculum.yaml
  671. - role-paths.yaml
  672. - session-content-map.yaml
  673. - quiz-questions.yaml
  674. - tea-resources-index.yaml
  675. ### EDIT Mode (2 step files)
  676. - step-e-01-assess-workflow.md
  677. - step-e-02-apply-edits.md
  678. ### VALIDATE Mode (1 step file)
  679. - step-v-01-validate.md
  680. ---
  681. ## Next Action Required
  682. **DEPLOYMENT:** Move workflow from staging to TEA module
  683. **Source (Staging):**
  684. `{external-project-root}/_bmad-output/bmb-creations/workflows/teach-me-testing/`
  685. **Target (Production):**
  686. `{project-root}/src/workflows/testarch/bmad-teach-me-testing/`
  687. **Command:**
  688. ```bash
  689. cp -r {external-project-root}/_bmad-output/bmb-creations/workflows/teach-me-testing \
  690. {project-root}/src/workflows/testarch/
  691. ```
  692. **After deployment:**
  693. 1. Update TEA agent menu to add [TMT] Teach Me Testing
  694. 2. Test the workflow: `bmad run teach-me-testing`
  695. 3. Validate: `bmad run teach-me-testing -v`
  696. 4. Document in TEA module README
  697. ---
  698. **Workflow Creation: COMPLETE** ✅
  699. **Ready for Deployment:** YES
  700. **Validation Status:** Not yet validated (run -v mode after deployment)