65 lines
3.0 KiB
HTML
65 lines
3.0 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>ln-334-test-executor - State Diagram</title>
|
|
<script src="https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.min.js"></script>
|
|
<link rel="stylesheet" href="../shared/css/diagram.css">
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<header>
|
|
<h1>⚙️ ln-334-test-executor</h1>
|
|
<p class="subtitle">Story Finalizer Test Task Executor - State Diagram</p>
|
|
</header>
|
|
<div class="info-box">
|
|
<h3>📋 Overview</h3>
|
|
<ul>
|
|
<li><strong>Purpose:</strong> Execute Story Finalizer test tasks from ln-350-story-test-planner (11 sections)</li>
|
|
<li><strong>6 Steps:</strong> Fix existing tests → New tests → Infrastructure → Docs → Cleanup → Verify</li>
|
|
<li><strong>Testing:</strong> E2E-first Risk-Based (2-5 E2E, 3-8 Integration, 5-15 Unit, Priority ≥15)</li>
|
|
</ul>
|
|
</div>
|
|
<div class="diagram-container">
|
|
<div class="mermaid">
|
|
graph TD
|
|
Start([Start: Execute Story Finalizer Test Task]) --> Phase1[Phase 1: Discovery<br/>Team ID auto-discovery]
|
|
Phase1 --> Phase2[Phase 2: Preparation<br/>Load task Todo<br/>Update status: Todo → In Progress]
|
|
Phase2 --> Phase3[Phase 3: Implementation 6 steps]
|
|
subgraph Steps [6 Steps - Sequential]
|
|
Step1[Step 1: Fix Existing Tests<br/>Section 8]
|
|
Step1 --> Step2[Step 2: Implement New Tests<br/>E2E→Integration→Unit Priority ≥15<br/>NO performance/load tests<br/>Sections 3-5]
|
|
Step2 --> Step3[Step 3: Update Infrastructure<br/>Section 9: package.json Docker]
|
|
Step3 --> Step4[Step 4: Update Documentation<br/>Section 10: README CHANGELOG]
|
|
Step4 --> Step5[Step 5: Cleanup Legacy Code<br/>Section 11]
|
|
Step5 --> Step6[Step 6: Final Verification<br/>Delete scripts/tmp_[story_id].sh]
|
|
end
|
|
Phase3 --> Step1
|
|
Step6 --> Phase4
|
|
Phase4[Phase 4: Quality Gates<br/>All tests pass 10-28 total<br/>Priority ≥15 tested]
|
|
Phase4 --> QualityPass{Quality gates<br/>pass?}
|
|
QualityPass -->|No| Phase3
|
|
QualityPass -->|Yes| Phase5
|
|
Phase5[Phase 4: Handoff<br/>Update: In Progress → To Review]
|
|
Phase5 --> End([End])
|
|
classDef discovery fill:#E3F2FD,stroke:#1976D2,stroke-width:2px
|
|
classDef processing fill:#FFF9C4,stroke:#F57C00,stroke-width:2px
|
|
classDef decision fill:#FFE0B2,stroke:#E64A19,stroke-width:2px
|
|
classDef action fill:#C8E6C9,stroke:#388E3C,stroke-width:2px
|
|
class Phase1,Phase2 discovery
|
|
class Phase3,Step1,Step2,Step3,Step4,Step5,Step6,Phase4 processing
|
|
class QualityPass decision
|
|
class Phase5 action
|
|
</div>
|
|
</div>
|
|
<footer>
|
|
<p>ln-334-test-executor | Chat prefix: ⚙️ [EXECUTOR]</p>
|
|
</footer>
|
|
</div>
|
|
<script>
|
|
mermaid.initialize({ startOnLoad: true, theme: 'default', flowchart: { useMaxWidth: true, htmlLabels: true, curve: 'basis' } });
|
|
</script>
|
|
</body>
|
|
</html>
|