qa-skills 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +168 -0
- package/bin/cli.js +42 -0
- package/dist/agents/registry.d.ts +5 -0
- package/dist/agents/registry.d.ts.map +1 -0
- package/dist/agents/registry.js +101 -0
- package/dist/agents/registry.js.map +1 -0
- package/dist/agents/types.d.ts +9 -0
- package/dist/agents/types.d.ts.map +1 -0
- package/dist/agents/types.js +2 -0
- package/dist/agents/types.js.map +1 -0
- package/dist/dependencies.d.ts +21 -0
- package/dist/dependencies.d.ts.map +1 -0
- package/dist/dependencies.js +125 -0
- package/dist/dependencies.js.map +1 -0
- package/dist/installer.d.ts +25 -0
- package/dist/installer.d.ts.map +1 -0
- package/dist/installer.js +437 -0
- package/dist/installer.js.map +1 -0
- package/dist/scaffold.d.ts +27 -0
- package/dist/scaffold.d.ts.map +1 -0
- package/dist/scaffold.js +182 -0
- package/dist/scaffold.js.map +1 -0
- package/package.json +40 -0
- package/skills/qa-accessibility-test-writer/SKILL.md +127 -0
- package/skills/qa-accessibility-test-writer/references/axe-core-patterns.md +349 -0
- package/skills/qa-accessibility-test-writer/references/best-practices.md +184 -0
- package/skills/qa-accessibility-test-writer/references/wcag-tests.md +331 -0
- package/skills/qa-api-contract-curator/SKILL.md +104 -0
- package/skills/qa-api-contract-curator/references/breaking-changes.md +363 -0
- package/skills/qa-api-contract-curator/references/openapi-structure.md +404 -0
- package/skills/qa-browser-data-collector/SKILL.md +132 -0
- package/skills/qa-browser-data-collector/references/data-collection-checklist.md +91 -0
- package/skills/qa-browser-data-collector/references/playwright-mcp-patterns.md +113 -0
- package/skills/qa-bug-ticket-creator/SKILL.md +148 -0
- package/skills/qa-bug-ticket-creator/references/bug-report-format.md +149 -0
- package/skills/qa-bug-ticket-creator/references/severity-guide.md +81 -0
- package/skills/qa-bug-ticket-creator/templates/bug-ticket-template.md +39 -0
- package/skills/qa-changelog-analyzer/SKILL.md +134 -0
- package/skills/qa-changelog-analyzer/references/git-analysis-patterns.md +138 -0
- package/skills/qa-changelog-analyzer/references/impact-mapping.md +120 -0
- package/skills/qa-clickup-integration/SKILL.md +166 -0
- package/skills/qa-clickup-integration/references/api-patterns.md +102 -0
- package/skills/qa-clickup-integration/references/field-mapping.md +71 -0
- package/skills/qa-codeceptjs-writer/SKILL.md +136 -0
- package/skills/qa-codeceptjs-writer/references/best-practices.md +207 -0
- package/skills/qa-codeceptjs-writer/references/config.md +255 -0
- package/skills/qa-codeceptjs-writer/references/patterns.md +285 -0
- package/skills/qa-coverage-analyzer/SKILL.md +166 -0
- package/skills/qa-coverage-analyzer/references/best-practices.md +142 -0
- package/skills/qa-coverage-analyzer/references/coverage-dimensions.md +155 -0
- package/skills/qa-coverage-analyzer/references/tools.md +204 -0
- package/skills/qa-cypress-writer/SKILL.md +134 -0
- package/skills/qa-cypress-writer/references/assertions.md +121 -0
- package/skills/qa-cypress-writer/references/best-practices.md +82 -0
- package/skills/qa-cypress-writer/references/config.md +121 -0
- package/skills/qa-cypress-writer/references/patterns.md +170 -0
- package/skills/qa-data-factory/SKILL.md +126 -0
- package/skills/qa-data-factory/references/factory-patterns.md +164 -0
- package/skills/qa-data-factory/references/faker-guide.md +131 -0
- package/skills/qa-diagram-generator/SKILL.md +125 -0
- package/skills/qa-diagram-generator/references/c4-model.md +53 -0
- package/skills/qa-diagram-generator/references/charts.md +58 -0
- package/skills/qa-diagram-generator/references/class-diagram.md +85 -0
- package/skills/qa-diagram-generator/references/er-diagram.md +69 -0
- package/skills/qa-diagram-generator/references/flowchart.md +92 -0
- package/skills/qa-diagram-generator/references/from-screenshot.md +45 -0
- package/skills/qa-diagram-generator/references/gantt.md +49 -0
- package/skills/qa-diagram-generator/references/journey.md +50 -0
- package/skills/qa-diagram-generator/references/mindmap.md +75 -0
- package/skills/qa-diagram-generator/references/sequence.md +69 -0
- package/skills/qa-diagram-generator/references/state-diagram.md +56 -0
- package/skills/qa-discovery-interview/SKILL.md +182 -0
- package/skills/qa-discovery-interview/references/completeness-checklist.md +53 -0
- package/skills/qa-discovery-interview/references/conflict-patterns.md +101 -0
- package/skills/qa-discovery-interview/references/qa-categories.md +147 -0
- package/skills/qa-discovery-interview/templates/qa-brief-template.md +168 -0
- package/skills/qa-environment-checker/SKILL.md +142 -0
- package/skills/qa-environment-checker/references/dependency-matrix.md +101 -0
- package/skills/qa-environment-checker/references/health-checks.md +209 -0
- package/skills/qa-environment-checker/templates/env-readiness-template.md +64 -0
- package/skills/qa-flaky-detector/SKILL.md +153 -0
- package/skills/qa-flaky-detector/references/ci-analysis.md +140 -0
- package/skills/qa-flaky-detector/references/flaky-patterns.md +247 -0
- package/skills/qa-github-issues-enhanced/SKILL.md +175 -0
- package/skills/qa-github-issues-enhanced/references/issue-templates.md +425 -0
- package/skills/qa-github-issues-enhanced/references/label-taxonomy.md +130 -0
- package/skills/qa-github-issues-enhanced/references/workflow-patterns.md +188 -0
- package/skills/qa-httpx-writer/SKILL.md +138 -0
- package/skills/qa-httpx-writer/references/assertions.md +195 -0
- package/skills/qa-httpx-writer/references/best-practices.md +140 -0
- package/skills/qa-httpx-writer/references/config.md +212 -0
- package/skills/qa-httpx-writer/references/patterns.md +262 -0
- package/skills/qa-jest-writer/SKILL.md +131 -0
- package/skills/qa-jest-writer/references/assertions.md +125 -0
- package/skills/qa-jest-writer/references/best-practices.md +136 -0
- package/skills/qa-jest-writer/references/config.md +134 -0
- package/skills/qa-jest-writer/references/patterns.md +172 -0
- package/skills/qa-jira-integration/SKILL.md +135 -0
- package/skills/qa-jira-integration/references/api-patterns.md +143 -0
- package/skills/qa-jira-integration/references/field-mapping.md +79 -0
- package/skills/qa-jira-integration/references/xray-integration.md +85 -0
- package/skills/qa-jmeter-writer/SKILL.md +171 -0
- package/skills/qa-jmeter-writer/references/best-practices.md +157 -0
- package/skills/qa-jmeter-writer/references/config.md +204 -0
- package/skills/qa-jmeter-writer/references/patterns.md +242 -0
- package/skills/qa-junit5-writer/SKILL.md +157 -0
- package/skills/qa-junit5-writer/references/assertions.md +118 -0
- package/skills/qa-junit5-writer/references/config.md +97 -0
- package/skills/qa-junit5-writer/references/patterns.md +162 -0
- package/skills/qa-k6-writer/SKILL.md +155 -0
- package/skills/qa-k6-writer/references/best-practices.md +236 -0
- package/skills/qa-k6-writer/references/config.md +219 -0
- package/skills/qa-k6-writer/references/patterns.md +304 -0
- package/skills/qa-linear-integration/SKILL.md +137 -0
- package/skills/qa-linear-integration/references/api-patterns.md +249 -0
- package/skills/qa-linear-integration/references/field-mapping.md +121 -0
- package/skills/qa-locust-writer/SKILL.md +151 -0
- package/skills/qa-locust-writer/references/best-practices.md +126 -0
- package/skills/qa-locust-writer/references/config.md +170 -0
- package/skills/qa-locust-writer/references/patterns.md +235 -0
- package/skills/qa-manual-test-designer/SKILL.md +145 -0
- package/skills/qa-manual-test-designer/references/exploratory-charters.md +138 -0
- package/skills/qa-manual-test-designer/references/personas.md +146 -0
- package/skills/qa-manual-test-designer/templates/exploratory-charter-template.md +47 -0
- package/skills/qa-manual-test-designer/templates/test-case-template.md +31 -0
- package/skills/qa-mobile-test-writer/SKILL.md +144 -0
- package/skills/qa-mobile-test-writer/references/best-practices.md +214 -0
- package/skills/qa-mobile-test-writer/references/config.md +309 -0
- package/skills/qa-mobile-test-writer/references/patterns.md +304 -0
- package/skills/qa-nfr-analyst/SKILL.md +177 -0
- package/skills/qa-nfr-analyst/references/iso-25010-model.md +159 -0
- package/skills/qa-nfr-analyst/references/owasp-wstg-baseline.md +202 -0
- package/skills/qa-nfr-analyst/references/wcag-checklist.md +184 -0
- package/skills/qa-nfr-analyst/templates/owasp-checklist-template.md +89 -0
- package/skills/qa-nfr-analyst/templates/wcag-checklist-template.md +48 -0
- package/skills/qa-orchestrator/SKILL.md +132 -0
- package/skills/qa-orchestrator/references/handoff-chains.md +105 -0
- package/skills/qa-orchestrator/references/pipeline-modes.md +115 -0
- package/skills/qa-orchestrator/references/scheduler-rules.md +84 -0
- package/skills/qa-pact-writer/SKILL.md +133 -0
- package/skills/qa-pact-writer/references/best-practices.md +100 -0
- package/skills/qa-pact-writer/references/config.md +135 -0
- package/skills/qa-pact-writer/references/patterns.md +161 -0
- package/skills/qa-plan-creator/SKILL.md +139 -0
- package/skills/qa-plan-creator/references/introduction-plan.md +43 -0
- package/skills/qa-plan-creator/references/migration-plan.md +44 -0
- package/skills/qa-plan-creator/references/onboarding-plan.md +46 -0
- package/skills/qa-plan-creator/references/performance-plan.md +44 -0
- package/skills/qa-plan-creator/references/regression-plan.md +45 -0
- package/skills/qa-plan-creator/references/release-plan.md +45 -0
- package/skills/qa-plan-creator/references/sprint-plan.md +44 -0
- package/skills/qa-plan-creator/references/test-plan.md +59 -0
- package/skills/qa-plan-creator/references/uat-plan.md +43 -0
- package/skills/qa-plan-creator/templates/checklist-template.md +36 -0
- package/skills/qa-plan-creator/templates/regression-checklist-template.md +49 -0
- package/skills/qa-plan-creator/templates/release-checklist-template.md +46 -0
- package/skills/qa-plan-creator/templates/test-plan-template.md +74 -0
- package/skills/qa-playwright-py-writer/SKILL.md +156 -0
- package/skills/qa-playwright-py-writer/references/best-practices.md +194 -0
- package/skills/qa-playwright-py-writer/references/config.md +195 -0
- package/skills/qa-playwright-py-writer/references/patterns.md +212 -0
- package/skills/qa-playwright-ts-writer/SKILL.md +151 -0
- package/skills/qa-playwright-ts-writer/references/assertions.md +109 -0
- package/skills/qa-playwright-ts-writer/references/best-practices.md +191 -0
- package/skills/qa-playwright-ts-writer/references/config.md +144 -0
- package/skills/qa-playwright-ts-writer/references/patterns.md +171 -0
- package/skills/qa-pytest-writer/SKILL.md +145 -0
- package/skills/qa-pytest-writer/references/assertions.md +149 -0
- package/skills/qa-pytest-writer/references/best-practices.md +97 -0
- package/skills/qa-pytest-writer/references/config.md +176 -0
- package/skills/qa-pytest-writer/references/patterns.md +251 -0
- package/skills/qa-qase-integration/SKILL.md +149 -0
- package/skills/qa-qase-integration/references/api-reference.md +354 -0
- package/skills/qa-qase-integration/references/ci-integration.md +196 -0
- package/skills/qa-qase-integration/references/field-mapping.md +157 -0
- package/skills/qa-requirements-generator/SKILL.md +152 -0
- package/skills/qa-requirements-generator/references/iso-29148-structure.md +153 -0
- package/skills/qa-requirements-generator/references/requirement-patterns.md +278 -0
- package/skills/qa-rest-assured-writer/SKILL.md +137 -0
- package/skills/qa-rest-assured-writer/references/best-practices.md +50 -0
- package/skills/qa-rest-assured-writer/references/config.md +124 -0
- package/skills/qa-rest-assured-writer/references/patterns.md +192 -0
- package/skills/qa-risk-analyzer/SKILL.md +158 -0
- package/skills/qa-risk-analyzer/references/impact-analysis.md +133 -0
- package/skills/qa-risk-analyzer/references/risk-factors.md +123 -0
- package/skills/qa-robot-framework-writer/SKILL.md +147 -0
- package/skills/qa-robot-framework-writer/references/best-practices.md +249 -0
- package/skills/qa-robot-framework-writer/references/config.md +204 -0
- package/skills/qa-robot-framework-writer/references/libraries.md +273 -0
- package/skills/qa-robot-framework-writer/references/patterns.md +216 -0
- package/skills/qa-security-test-writer/SKILL.md +123 -0
- package/skills/qa-security-test-writer/references/best-practices.md +155 -0
- package/skills/qa-security-test-writer/references/owasp-top10.md +331 -0
- package/skills/qa-security-test-writer/references/zap-config.md +258 -0
- package/skills/qa-selenium-java-writer/SKILL.md +143 -0
- package/skills/qa-selenium-java-writer/references/best-practices.md +59 -0
- package/skills/qa-selenium-java-writer/references/config.md +143 -0
- package/skills/qa-selenium-java-writer/references/patterns.md +170 -0
- package/skills/qa-selenium-py-writer/SKILL.md +150 -0
- package/skills/qa-selenium-py-writer/references/best-practices.md +175 -0
- package/skills/qa-selenium-py-writer/references/config.md +224 -0
- package/skills/qa-selenium-py-writer/references/patterns.md +255 -0
- package/skills/qa-shortcut-integration/SKILL.md +143 -0
- package/skills/qa-shortcut-integration/references/api-patterns.md +126 -0
- package/skills/qa-shortcut-integration/references/field-mapping.md +66 -0
- package/skills/qa-spec-auditor/SKILL.md +162 -0
- package/skills/qa-spec-auditor/references/audit-checklist.md +144 -0
- package/skills/qa-spec-auditor/references/drift-patterns.md +207 -0
- package/skills/qa-spec-writer/SKILL.md +143 -0
- package/skills/qa-spec-writer/references/gherkin-guide.md +253 -0
- package/skills/qa-spec-writer/references/specification-patterns.md +274 -0
- package/skills/qa-spring-test-writer/SKILL.md +170 -0
- package/skills/qa-spring-test-writer/references/best-practices.md +57 -0
- package/skills/qa-spring-test-writer/references/config.md +179 -0
- package/skills/qa-spring-test-writer/references/patterns.md +235 -0
- package/skills/qa-supertest-writer/SKILL.md +150 -0
- package/skills/qa-supertest-writer/references/assertions.md +192 -0
- package/skills/qa-supertest-writer/references/best-practices.md +102 -0
- package/skills/qa-supertest-writer/references/config.md +166 -0
- package/skills/qa-supertest-writer/references/patterns.md +242 -0
- package/skills/qa-task-creator/SKILL.md +142 -0
- package/skills/qa-task-creator/references/linking-patterns.md +127 -0
- package/skills/qa-task-creator/references/task-types.md +169 -0
- package/skills/qa-task-creator/templates/task-template.md +24 -0
- package/skills/qa-test-doc-compiler/SKILL.md +114 -0
- package/skills/qa-test-doc-compiler/references/agile-tailoring.md +220 -0
- package/skills/qa-test-doc-compiler/references/iso-29119-3-documents.md +302 -0
- package/skills/qa-test-healer/SKILL.md +101 -0
- package/skills/qa-test-healer/references/diagnosis-patterns.md +142 -0
- package/skills/qa-test-healer/references/fix-strategies.md +177 -0
- package/skills/qa-test-reporter/SKILL.md +130 -0
- package/skills/qa-test-reporter/references/best-practices.md +162 -0
- package/skills/qa-test-reporter/references/iso-29119-reports.md +236 -0
- package/skills/qa-test-reporter/references/report-formats.md +287 -0
- package/skills/qa-test-reviewer/SKILL.md +142 -0
- package/skills/qa-test-reviewer/references/anti-patterns.md +268 -0
- package/skills/qa-test-reviewer/references/review-checklist.md +93 -0
- package/skills/qa-test-strategy/SKILL.md +133 -0
- package/skills/qa-test-strategy/references/entry-exit-criteria.md +176 -0
- package/skills/qa-test-strategy/references/risk-matrix.md +102 -0
- package/skills/qa-test-strategy/references/testing-types.md +143 -0
- package/skills/qa-testcase-from-docs/SKILL.md +161 -0
- package/skills/qa-testcase-from-docs/references/test-case-format.md +196 -0
- package/skills/qa-testcase-from-docs/references/test-design-techniques.md +126 -0
- package/skills/qa-testcase-from-docs/templates/test-case-template.md +31 -0
- package/skills/qa-testcase-from-ui/SKILL.md +109 -0
- package/skills/qa-testcase-from-ui/references/ui-element-patterns.md +126 -0
- package/skills/qa-testcase-from-ui/references/visual-analysis-guide.md +146 -0
- package/skills/qa-testcase-from-ui/templates/test-case-template.md +31 -0
- package/skills/qa-visual-regression-writer/SKILL.md +175 -0
- package/skills/qa-visual-regression-writer/references/best-practices.md +154 -0
- package/skills/qa-visual-regression-writer/references/config.md +220 -0
- package/skills/qa-visual-regression-writer/references/patterns.md +213 -0
- package/skills/qa-vitest-writer/SKILL.md +141 -0
- package/skills/qa-vitest-writer/references/assertions.md +105 -0
- package/skills/qa-vitest-writer/references/best-practices.md +62 -0
- package/skills/qa-vitest-writer/references/config.md +127 -0
- package/skills/qa-vitest-writer/references/patterns.md +141 -0
- package/skills/qa-webdriverio-writer/SKILL.md +145 -0
- package/skills/qa-webdriverio-writer/references/best-practices.md +176 -0
- package/skills/qa-webdriverio-writer/references/config.md +240 -0
- package/skills/qa-webdriverio-writer/references/patterns.md +269 -0
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: qa-diagram-generator
|
|
3
|
+
description: Universal diagram generator supporting 14 Mermaid diagram types. Works standalone or as an embedded service for other QA skills.
|
|
4
|
+
output_dir: docs/diagrams
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# QA Diagram Generator
|
|
8
|
+
|
|
9
|
+
## Purpose
|
|
10
|
+
|
|
11
|
+
Universal diagram generator for the QA skills ecosystem. Works in two modes:
|
|
12
|
+
- **Standalone:** User directly asks for a diagram (e.g., "create a flowchart for the login test process")
|
|
13
|
+
- **Embedded:** Other QA skills invoke this skill's patterns when they need visualizations
|
|
14
|
+
|
|
15
|
+
## Trigger Phrases
|
|
16
|
+
|
|
17
|
+
- "Draw a flowchart for [process/flow]"
|
|
18
|
+
- "Create a sequence diagram for [API/auth flow]"
|
|
19
|
+
- "Generate a Mermaid diagram from [description/screenshot]"
|
|
20
|
+
- "Visualize the [test process/architecture/data model]"
|
|
21
|
+
- "Diagram from screenshot" / "Create diagram from this image"
|
|
22
|
+
- "State diagram for [bug lifecycle/test case states]"
|
|
23
|
+
- "Gantt chart for [test schedule/sprint plan]"
|
|
24
|
+
- "ER diagram for [test data model]"
|
|
25
|
+
- "Mind map for [test coverage/feature decomposition]"
|
|
26
|
+
- "C4 diagram for [system architecture]"
|
|
27
|
+
- "User journey for [E2E scenario]"
|
|
28
|
+
- "Pie chart / quadrant chart for [results/risk matrix]"
|
|
29
|
+
|
|
30
|
+
## Dual-Use Pattern
|
|
31
|
+
|
|
32
|
+
| Mode | Trigger | Output |
|
|
33
|
+
|------|---------|--------|
|
|
34
|
+
| **Standalone** | User: "Draw a sequence diagram for API auth flow" | Full Mermaid diagram + explanation |
|
|
35
|
+
| **Embedded** | qa-spec-writer needs state diagram for spec | Reference `references/state-diagram.md` + generate inline |
|
|
36
|
+
|
|
37
|
+
When embedded, the calling skill references the appropriate `references/*.md` file and generates Mermaid code following those patterns.
|
|
38
|
+
|
|
39
|
+
## Input Sources
|
|
40
|
+
|
|
41
|
+
- **Text description** — User or skill describes the flow/structure
|
|
42
|
+
- **Screenshot/image analysis** — UI, architecture diagrams, whiteboards → appropriate diagram type
|
|
43
|
+
- **Existing documentation** — Extract structure from specs, requirements, test plans
|
|
44
|
+
- **Code analysis** — Infer from code structure (classes, flows, state machines)
|
|
45
|
+
|
|
46
|
+
## Supported Diagram Types
|
|
47
|
+
|
|
48
|
+
| Type | Use Cases | Mermaid Syntax | Reference |
|
|
49
|
+
|------|-----------|----------------|-----------|
|
|
50
|
+
| **Flowchart** | Test process flows, decision trees, regression flow | `flowchart` | `references/flowchart.md` |
|
|
51
|
+
| **Sequence Diagram** | API interactions, login flow, test execution flow | `sequenceDiagram` | `references/sequence.md` |
|
|
52
|
+
| **Class Diagram** | Test architecture, Page Object Model | `classDiagram` | `references/class-diagram.md` |
|
|
53
|
+
| **State Diagram** | Bug lifecycle, test case states, user session states | `stateDiagram-v2` | `references/state-diagram.md` |
|
|
54
|
+
| **ER Diagram** | Test data models, database schemas | `erDiagram` | `references/er-diagram.md` |
|
|
55
|
+
| **Mind Map** | Test coverage mapping, feature decomposition | `mindmap` | `references/mindmap.md` |
|
|
56
|
+
| **Gantt Chart** | Test schedules, sprint planning, release timelines | `gantt` | `references/gantt.md` |
|
|
57
|
+
| **C4 Model** | System architecture (context/container/component) | `C4Context`, `C4Container`, `C4Component` | `references/c4-model.md` |
|
|
58
|
+
| **User Journey** | User experience testing flows, E2E scenarios | `journey` | `references/journey.md` |
|
|
59
|
+
| **Pie Chart** | Test result distribution, coverage breakdown | `pie` | `references/charts.md` |
|
|
60
|
+
| **Quadrant Chart** | Risk matrix, priority vs effort, impact vs likelihood | `quadrantChart` | `references/charts.md` |
|
|
61
|
+
| **Git Graph** | Branch strategy, release flow, merge workflows | `gitGraph` | `references/flowchart.md` (see note) |
|
|
62
|
+
| **Block Diagram** | System components, data flow blocks | `block-beta` | `references/flowchart.md` |
|
|
63
|
+
| **BPMN** | Business process flows, approval workflows | `bpmn` | `references/flowchart.md` |
|
|
64
|
+
|
|
65
|
+
## Embedding Pattern for Other Skills
|
|
66
|
+
|
|
67
|
+
When another skill needs a diagram, reference the appropriate file:
|
|
68
|
+
|
|
69
|
+
| Visualization Need | Reference | Example |
|
|
70
|
+
|--------------------|-----------|---------|
|
|
71
|
+
| State machines, lifecycle | `references/state-diagram.md` | Bug lifecycle, test case states |
|
|
72
|
+
| API flows, interactions | `references/sequence.md` | Login flow, API contract validation |
|
|
73
|
+
| Decision logic, process flow | `references/flowchart.md` | Test process, regression flow |
|
|
74
|
+
| Timelines, schedules | `references/gantt.md` | Sprint plan, release schedule |
|
|
75
|
+
| Architecture layers | `references/c4-model.md` | System context, container diagram |
|
|
76
|
+
| Test data structure | `references/er-diagram.md` | Test DB schema, fixture models |
|
|
77
|
+
| Coverage/feature breakdown | `references/mindmap.md` | Test coverage map, feature tree |
|
|
78
|
+
| User flows, E2E scenarios | `references/journey.md` | UAT journey, UX test flow |
|
|
79
|
+
| Result distribution, risk | `references/charts.md` | Pass/fail pie, risk quadrant |
|
|
80
|
+
| From screenshot/image | `references/from-screenshot.md` | UI → flowchart, whiteboard → diagram |
|
|
81
|
+
|
|
82
|
+
## Workflow
|
|
83
|
+
|
|
84
|
+
1. **Input:** Determine source (text, screenshot, doc, code)
|
|
85
|
+
2. **Diagram type:** Select from 14 types based on content and purpose
|
|
86
|
+
3. **Generate:** Produce valid Mermaid syntax per reference patterns
|
|
87
|
+
4. **Output:** Markdown with fenced Mermaid block, ready for rendering
|
|
88
|
+
|
|
89
|
+
## Scope
|
|
90
|
+
|
|
91
|
+
**Can do (autonomous):**
|
|
92
|
+
- Generate any of the 14 diagram types from description
|
|
93
|
+
- Infer diagram type from content when not specified
|
|
94
|
+
- Produce valid Mermaid syntax per reference guides
|
|
95
|
+
- Support embedded invocation from other skills
|
|
96
|
+
- Analyze screenshots/images to suggest diagram type and content
|
|
97
|
+
|
|
98
|
+
**Cannot do (requires confirmation):**
|
|
99
|
+
- Render diagrams (output is Mermaid source only)
|
|
100
|
+
- Modify source documents or code
|
|
101
|
+
- Choose diagram type that contradicts user intent
|
|
102
|
+
|
|
103
|
+
**Will not do (out of scope):**
|
|
104
|
+
- Non-Mermaid diagram formats (PlantUML, etc.) unless explicitly requested
|
|
105
|
+
- Hand-drawn or raster image output
|
|
106
|
+
|
|
107
|
+
## Quality Checklist
|
|
108
|
+
|
|
109
|
+
- [ ] Diagram type matches content and purpose
|
|
110
|
+
- [ ] Mermaid syntax is valid (no parse errors)
|
|
111
|
+
- [ ] Labels and nodes are descriptive and QA-relevant
|
|
112
|
+
- [ ] Diagram fits intended audience (technical vs business)
|
|
113
|
+
- [ ] No sensitive data in labels
|
|
114
|
+
- [ ] Reference file patterns followed when embedded
|
|
115
|
+
|
|
116
|
+
## Troubleshooting
|
|
117
|
+
|
|
118
|
+
| Symptom | Likely Cause | Fix |
|
|
119
|
+
|---------|--------------|-----|
|
|
120
|
+
| Mermaid parse error | Invalid syntax, reserved keywords | Check reference syntax; escape special chars |
|
|
121
|
+
| Wrong diagram type | Ambiguous input | Ask user or infer from dominant structure (flow vs state vs sequence) |
|
|
122
|
+
| Too complex | Too many nodes/edges | Split into multiple diagrams or simplify |
|
|
123
|
+
| Embedded skill gets wrong ref | Mismatch between need and ref | Use embedding table to map visualization need → reference |
|
|
124
|
+
| Screenshot analysis fails | Low quality or non-diagram image | Fall back to text description; ask user to describe |
|
|
125
|
+
| C4/ER syntax errors | Mermaid version differences | Use standard syntax from references; avoid experimental features |
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Mermaid C4 Model Syntax
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
C4 diagrams show system architecture at Context, Container, and Component levels. Mermaid supports C4 via `C4Context`, `C4Container`, `C4Component` blocks.
|
|
5
|
+
|
|
6
|
+
## Syntax
|
|
7
|
+
```mermaid
|
|
8
|
+
C4Context
|
|
9
|
+
title System Context
|
|
10
|
+
Person(user, "User")
|
|
11
|
+
System(system, "System")
|
|
12
|
+
Rel(user, system, "Uses")
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## QA Examples
|
|
16
|
+
|
|
17
|
+
### System Context
|
|
18
|
+
```mermaid
|
|
19
|
+
C4Context
|
|
20
|
+
title E-commerce System Context
|
|
21
|
+
Person(customer, "Customer")
|
|
22
|
+
System(ecom, "E-commerce Platform")
|
|
23
|
+
System(payment, "Payment Gateway")
|
|
24
|
+
Rel(customer, ecom, "Browses, Orders")
|
|
25
|
+
Rel(ecom, payment, "Processes payment")
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
### Container Diagram
|
|
29
|
+
```mermaid
|
|
30
|
+
C4Container
|
|
31
|
+
title API Test Target Architecture
|
|
32
|
+
Person(tester, "QA Engineer")
|
|
33
|
+
Container(api, "REST API", "Node.js")
|
|
34
|
+
Container(db, "Database", "PostgreSQL")
|
|
35
|
+
Rel(tester, api, "Tests")
|
|
36
|
+
Rel(api, db, "Reads/Writes")
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### Component View
|
|
40
|
+
```mermaid
|
|
41
|
+
C4Component
|
|
42
|
+
title API Service Components
|
|
43
|
+
Container_Boundary(api, "API Service") {
|
|
44
|
+
Component(auth, "Auth", "JWT validation")
|
|
45
|
+
Component(handler, "Handlers", "Request routing")
|
|
46
|
+
Component(repo, "Repository", "Data access")
|
|
47
|
+
}
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## When to Use
|
|
51
|
+
- Test scope definition (what to test)
|
|
52
|
+
- Integration test planning
|
|
53
|
+
- Understanding system boundaries for E2E coverage
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# Mermaid Pie and Quadrant Charts
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
- **Pie chart:** `pie` block with `title` and `"label" : value` pairs.
|
|
5
|
+
- **Quadrant chart:** `quadrantChart` with `title`, `x-axis`, `y-axis`, and `quadrant` definitions.
|
|
6
|
+
|
|
7
|
+
## Pie Chart Syntax
|
|
8
|
+
```mermaid
|
|
9
|
+
pie title Test Result Distribution
|
|
10
|
+
"Pass" : 85
|
|
11
|
+
"Fail" : 10
|
|
12
|
+
"Blocked" : 3
|
|
13
|
+
"Skip" : 2
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Quadrant Chart Syntax
|
|
17
|
+
```mermaid
|
|
18
|
+
quadrantChart
|
|
19
|
+
title Risk Matrix
|
|
20
|
+
x-axis Low Impact --> High Impact
|
|
21
|
+
y-axis Low Probability --> High Probability
|
|
22
|
+
quadrant-1 Monitor
|
|
23
|
+
quadrant-2 Mitigate
|
|
24
|
+
quadrant-3 Accept
|
|
25
|
+
quadrant-4 Transfer
|
|
26
|
+
"Feature A": [0.8, 0.6]
|
|
27
|
+
"Feature B": [0.3, 0.9]
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## QA Examples
|
|
31
|
+
|
|
32
|
+
### Test Results
|
|
33
|
+
```mermaid
|
|
34
|
+
pie title Sprint 24 Results
|
|
35
|
+
"Pass" : 142
|
|
36
|
+
"Fail" : 18
|
|
37
|
+
"Blocked" : 5
|
|
38
|
+
"Skip" : 3
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### Risk Matrix
|
|
42
|
+
```mermaid
|
|
43
|
+
quadrantChart
|
|
44
|
+
title Test Risk Assessment
|
|
45
|
+
x-axis Low Impact --> High Impact
|
|
46
|
+
y-axis Low Likelihood --> High Likelihood
|
|
47
|
+
quadrant-1 Low priority
|
|
48
|
+
quadrant-2 High priority
|
|
49
|
+
quadrant-3 Monitor
|
|
50
|
+
quadrant-4 Critical
|
|
51
|
+
"Auth flow": [0.9, 0.8]
|
|
52
|
+
"Reports": [0.4, 0.3]
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## When to Use
|
|
56
|
+
- Test result distribution, coverage breakdown
|
|
57
|
+
- Risk prioritization, defect severity mapping
|
|
58
|
+
- Stakeholder reporting visuals
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
# Mermaid Class Diagram Syntax — QA Use Cases
|
|
2
|
+
|
|
3
|
+
## Syntax Overview
|
|
4
|
+
|
|
5
|
+
Class diagrams use `classDiagram`. Classes: `class ClassName { +field +method() }`. Relationships: `-->` (association), `--|>` (inheritance), `*--` (composition), `o--` (aggregation). Visibility: `+` public, `-` private, `#` protected.
|
|
6
|
+
|
|
7
|
+
```mermaid
|
|
8
|
+
classDiagram
|
|
9
|
+
class TestCase {
|
|
10
|
+
+string id
|
|
11
|
+
+string title
|
|
12
|
+
+run() Result
|
|
13
|
+
}
|
|
14
|
+
TestCase --> Assertion : uses
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Example 1: Test Architecture
|
|
18
|
+
|
|
19
|
+
```mermaid
|
|
20
|
+
classDiagram
|
|
21
|
+
class TestRunner {
|
|
22
|
+
+run(suite) Results
|
|
23
|
+
+stop()
|
|
24
|
+
}
|
|
25
|
+
class TestSuite {
|
|
26
|
+
+List~TestCase~ tests
|
|
27
|
+
+add(TestCase)
|
|
28
|
+
}
|
|
29
|
+
class TestCase {
|
|
30
|
+
+string id
|
|
31
|
+
+run() Result
|
|
32
|
+
}
|
|
33
|
+
TestRunner --> TestSuite : executes
|
|
34
|
+
TestSuite *-- TestCase : contains
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Example 2: Page Object Model
|
|
38
|
+
|
|
39
|
+
```mermaid
|
|
40
|
+
classDiagram
|
|
41
|
+
class BasePage {
|
|
42
|
+
#WebDriver driver
|
|
43
|
+
+visit(url)
|
|
44
|
+
+find(locator)
|
|
45
|
+
}
|
|
46
|
+
class LoginPage {
|
|
47
|
+
+usernameInput
|
|
48
|
+
+passwordInput
|
|
49
|
+
+loginButton
|
|
50
|
+
+login(user, pass)
|
|
51
|
+
}
|
|
52
|
+
class DashboardPage {
|
|
53
|
+
+welcomeMessage
|
|
54
|
+
+logout()
|
|
55
|
+
}
|
|
56
|
+
BasePage <|-- LoginPage
|
|
57
|
+
BasePage <|-- DashboardPage
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## Example 3: Test Data Model
|
|
61
|
+
|
|
62
|
+
```mermaid
|
|
63
|
+
classDiagram
|
|
64
|
+
class TestResult {
|
|
65
|
+
+string status
|
|
66
|
+
+number duration
|
|
67
|
+
+string error
|
|
68
|
+
}
|
|
69
|
+
class TestCase {
|
|
70
|
+
+string id
|
|
71
|
+
+run() TestResult
|
|
72
|
+
}
|
|
73
|
+
class Report {
|
|
74
|
+
+List~TestResult~ results
|
|
75
|
+
+generate() HTML
|
|
76
|
+
}
|
|
77
|
+
TestCase --> TestResult : produces
|
|
78
|
+
Report *-- TestResult : aggregates
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
## When to Use
|
|
82
|
+
|
|
83
|
+
- **Test architecture:** Runner, suite, case hierarchy
|
|
84
|
+
- **Page Object Model:** Base page, page classes
|
|
85
|
+
- **Test data models:** Result, report, fixture structures
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# Mermaid ER Diagram Syntax — QA Use Cases
|
|
2
|
+
|
|
3
|
+
## Syntax Overview
|
|
4
|
+
|
|
5
|
+
ER diagrams use `erDiagram`. Entities: `ENTITY { type attribute PK }`. Relationships: `ENTITY1 ||--o{ ENTITY2 : "relationship"`. Cardinality: `||--||` one-to-one, `||--o{` one-to-many, `}o--o{` many-to-many.
|
|
6
|
+
|
|
7
|
+
```mermaid
|
|
8
|
+
erDiagram
|
|
9
|
+
USER ||--o{ ORDER : places
|
|
10
|
+
ORDER ||--|{ ITEM : contains
|
|
11
|
+
USER {
|
|
12
|
+
string id PK
|
|
13
|
+
string name
|
|
14
|
+
}
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Example 1: Test Data Model
|
|
18
|
+
|
|
19
|
+
```mermaid
|
|
20
|
+
erDiagram
|
|
21
|
+
TEST_SUITE ||--o{ TEST_CASE : contains
|
|
22
|
+
TEST_CASE ||--o{ TEST_RUN : produces
|
|
23
|
+
TEST_RUN {
|
|
24
|
+
string id PK
|
|
25
|
+
string status
|
|
26
|
+
datetime executed_at
|
|
27
|
+
}
|
|
28
|
+
TEST_CASE {
|
|
29
|
+
string id PK
|
|
30
|
+
string title
|
|
31
|
+
string steps
|
|
32
|
+
}
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Example 2: Bug–Test Traceability
|
|
36
|
+
|
|
37
|
+
```mermaid
|
|
38
|
+
erDiagram
|
|
39
|
+
REQUIREMENT ||--o{ TEST_CASE : validates
|
|
40
|
+
TEST_CASE ||--o{ BUG : reveals
|
|
41
|
+
BUG ||--o| REQUIREMENT : relates_to
|
|
42
|
+
REQUIREMENT {
|
|
43
|
+
string id PK
|
|
44
|
+
string title
|
|
45
|
+
}
|
|
46
|
+
BUG {
|
|
47
|
+
string id PK
|
|
48
|
+
string status
|
|
49
|
+
}
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## Example 3: Test Environment Model
|
|
53
|
+
|
|
54
|
+
```mermaid
|
|
55
|
+
erDiagram
|
|
56
|
+
ENVIRONMENT ||--o{ TEST_RUN : hosts
|
|
57
|
+
TEST_RUN }o--|| TEST_SUITE : belongs_to
|
|
58
|
+
ENVIRONMENT {
|
|
59
|
+
string id PK
|
|
60
|
+
string name
|
|
61
|
+
string url
|
|
62
|
+
}
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
## When to Use
|
|
66
|
+
|
|
67
|
+
- **Test data models:** Suite, case, run relationships
|
|
68
|
+
- **Traceability:** Requirement ↔ Test Case ↔ Bug
|
|
69
|
+
- **Environment/config:** Environment, run, suite links
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
# Mermaid Flowchart Syntax — QA Use Cases
|
|
2
|
+
|
|
3
|
+
## Syntax Overview
|
|
4
|
+
|
|
5
|
+
Flowcharts use `flowchart` or `graph` keyword. Direction: `TB` (top-bottom), `LR` (left-right), `RL`, `BT`. Nodes: `[rect]`, `(rounded)`, `{diamond}`, `[(database)]`, `[[subroutine]]`. Edges: `-->`, `---`, `-.->`, `==>`.
|
|
6
|
+
|
|
7
|
+
```mermaid
|
|
8
|
+
flowchart LR
|
|
9
|
+
A[Start] --> B{Decision}
|
|
10
|
+
B -->|Yes| C[Action]
|
|
11
|
+
B -->|No| D[End]
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Example 1: Test Process Flow
|
|
15
|
+
|
|
16
|
+
```mermaid
|
|
17
|
+
flowchart TB
|
|
18
|
+
subgraph Input
|
|
19
|
+
R[Requirements]
|
|
20
|
+
S[Specs]
|
|
21
|
+
end
|
|
22
|
+
R --> TC[Test Case Design]
|
|
23
|
+
S --> TC
|
|
24
|
+
TC --> EX[Execute Tests]
|
|
25
|
+
EX --> RPT{Pass?}
|
|
26
|
+
RPT -->|Yes| DONE[Done]
|
|
27
|
+
RPT -->|No| BUG[Log Bug]
|
|
28
|
+
BUG --> FIX[Dev Fix]
|
|
29
|
+
FIX --> EX
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Example 2: Regression Decision Tree
|
|
33
|
+
|
|
34
|
+
```mermaid
|
|
35
|
+
flowchart LR
|
|
36
|
+
CHG[Code Change] --> AFFECT{Affected Area?}
|
|
37
|
+
AFFECT -->|Core| FULL[Full Regression]
|
|
38
|
+
AFFECT -->|Module X| MOD[Module X Suite]
|
|
39
|
+
AFFECT -->|Config Only| SMOKE[Smoke Only]
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Example 3: Test Execution Flow
|
|
43
|
+
|
|
44
|
+
```mermaid
|
|
45
|
+
flowchart TB
|
|
46
|
+
START[CI Trigger] --> UNIT[Unit Tests]
|
|
47
|
+
UNIT --> INT[Integration Tests]
|
|
48
|
+
INT --> E2E[E2E Tests]
|
|
49
|
+
E2E --> REPORT[Report]
|
|
50
|
+
REPORT --> GATE{All Pass?}
|
|
51
|
+
GATE -->|Yes| DEPLOY[Deploy]
|
|
52
|
+
GATE -->|No| BLOCK[Block Pipeline]
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## Related: Git Graph, Block Diagram, BPMN
|
|
56
|
+
|
|
57
|
+
**Git Graph** — Branch strategy, release flow:
|
|
58
|
+
```mermaid
|
|
59
|
+
gitGraph
|
|
60
|
+
commit
|
|
61
|
+
branch develop
|
|
62
|
+
checkout develop
|
|
63
|
+
commit
|
|
64
|
+
checkout main
|
|
65
|
+
merge develop
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
**Block Diagram** (`block-beta`) — System components:
|
|
69
|
+
```mermaid
|
|
70
|
+
block-beta
|
|
71
|
+
columns 2
|
|
72
|
+
block:core["API + DB"]
|
|
73
|
+
block:qa["Tests"]
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
**BPMN** — Approval workflows:
|
|
77
|
+
```mermaid
|
|
78
|
+
bpmn
|
|
79
|
+
task(Submit)
|
|
80
|
+
task(Review)
|
|
81
|
+
task(Approve)
|
|
82
|
+
Submit --> Review --> Approve
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
## When to Use
|
|
86
|
+
|
|
87
|
+
- **Test process flows:** End-to-end QA workflow
|
|
88
|
+
- **Decision trees:** Regression scope, test selection logic
|
|
89
|
+
- **Pipeline flows:** CI/CD test stages, gates
|
|
90
|
+
- **Git Graph:** Release flow, branch strategy
|
|
91
|
+
- **Block Diagram:** System component layout
|
|
92
|
+
- **BPMN:** Approval workflows, business process testing
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Diagram Generation from Screenshots/Images
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
When the user provides a screenshot or image, analyze it to infer structure and generate an appropriate Mermaid diagram. Use vision capabilities to extract UI layout, flow, or relationships.
|
|
5
|
+
|
|
6
|
+
## Analysis Steps
|
|
7
|
+
|
|
8
|
+
1. **Identify diagram type:** UI flow → flowchart/sequence; form layout → class/ER; state transitions → state diagram; timeline → Gantt.
|
|
9
|
+
2. **Extract elements:** Buttons, fields, steps, screens, entities.
|
|
10
|
+
3. **Map relationships:** Navigation, data flow, dependencies.
|
|
11
|
+
4. **Generate Mermaid:** Use the matching reference (flowchart, sequence, etc.).
|
|
12
|
+
|
|
13
|
+
## Input Types
|
|
14
|
+
|
|
15
|
+
| Image Content | Diagram Type | Reference |
|
|
16
|
+
| ------------- | ------------ | --------- |
|
|
17
|
+
| Multi-step wizard, form flow | Flowchart | flowchart.md |
|
|
18
|
+
| Login/auth screens | Sequence | sequence.md |
|
|
19
|
+
| Form with fields, entities | Class/ER | class-diagram.md, er-diagram.md |
|
|
20
|
+
| Status badges, lifecycle | State | state-diagram.md |
|
|
21
|
+
| Dashboard with charts | Pie/Quadrant | charts.md |
|
|
22
|
+
| Calendar, timeline view | Gantt | gantt.md |
|
|
23
|
+
|
|
24
|
+
## Example: Login Screen → Sequence
|
|
25
|
+
Given a login screenshot with email, password, submit:
|
|
26
|
+
- Actors: User, Browser, API
|
|
27
|
+
- Steps: Enter credentials → Submit → Validate → Redirect
|
|
28
|
+
- Output: `references/sequence.md` pattern
|
|
29
|
+
|
|
30
|
+
## Example: Multi-Step Form → Flowchart
|
|
31
|
+
Given screenshots of Step 1 → Step 2 → Step 3:
|
|
32
|
+
- Nodes: Each step
|
|
33
|
+
- Edges: Next/Back/Submit
|
|
34
|
+
- Output: `references/flowchart.md` pattern
|
|
35
|
+
|
|
36
|
+
## When to Use
|
|
37
|
+
- User provides screenshot instead of text description
|
|
38
|
+
- Reverse-engineering UI flows for test design
|
|
39
|
+
- Documenting existing interfaces from visuals
|
|
40
|
+
|
|
41
|
+
## Limitations
|
|
42
|
+
Low-resolution or hand-drawn images may require user clarification. Fall back to asking for a text description when structure cannot be reliably inferred.
|
|
43
|
+
|
|
44
|
+
## Limitations
|
|
45
|
+
Low-resolution or hand-drawn images may require user clarification. Fall back to asking for a text description when structure cannot be reliably inferred.
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Mermaid Gantt Chart Syntax
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
Gantt charts show tasks over time. Use `gantt` block with `title`, `dateFormat`, and task definitions. Tasks use `section`, `task name :crit, id, start, end`.
|
|
5
|
+
|
|
6
|
+
## Syntax
|
|
7
|
+
```mermaid
|
|
8
|
+
gantt
|
|
9
|
+
title Example
|
|
10
|
+
dateFormat YYYY-MM-DD
|
|
11
|
+
section Phase 1
|
|
12
|
+
Task A :a1, 2024-01-01, 7d
|
|
13
|
+
Task B :a2, after a1, 5d
|
|
14
|
+
section Phase 2
|
|
15
|
+
Task C :crit, 2024-01-15, 3d
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## QA Examples
|
|
19
|
+
|
|
20
|
+
### Test Schedule
|
|
21
|
+
```mermaid
|
|
22
|
+
gantt
|
|
23
|
+
title Sprint 24 Test Schedule
|
|
24
|
+
dateFormat YYYY-MM-DD
|
|
25
|
+
section Unit Tests
|
|
26
|
+
Unit test execution :ut, 2024-03-01, 3d
|
|
27
|
+
section Integration
|
|
28
|
+
API integration tests :api, after ut, 2d
|
|
29
|
+
section E2E
|
|
30
|
+
E2E regression :crit, e2e, after api, 4d
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### Release Test Plan
|
|
34
|
+
```mermaid
|
|
35
|
+
gantt
|
|
36
|
+
title Release 2.0 Test Phases
|
|
37
|
+
dateFormat YYYY-MM-DD
|
|
38
|
+
section Smoke
|
|
39
|
+
Smoke tests :s1, 2024-03-10, 1d
|
|
40
|
+
section Regression
|
|
41
|
+
Full regression :crit, r1, after s1, 5d
|
|
42
|
+
section UAT
|
|
43
|
+
UAT window :u1, after r1, 3d
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## When to Use
|
|
47
|
+
- Test schedules, sprint planning, release timelines
|
|
48
|
+
- Phase dependencies and critical path
|
|
49
|
+
- Resource allocation over time
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# Mermaid User Journey Syntax
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
User journeys map user actions and experiences over time. Use `journey` block with `title` and `section` for phases. Tasks use `Task name: score: participant`.
|
|
5
|
+
|
|
6
|
+
## Syntax
|
|
7
|
+
```mermaid
|
|
8
|
+
journey
|
|
9
|
+
title User Journey
|
|
10
|
+
section Phase 1
|
|
11
|
+
Action 1: 5: User
|
|
12
|
+
Action 2: 3: System
|
|
13
|
+
section Phase 2
|
|
14
|
+
Action 3: 5: User
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## QA Examples
|
|
18
|
+
|
|
19
|
+
### Login Flow UX
|
|
20
|
+
```mermaid
|
|
21
|
+
journey
|
|
22
|
+
title Login User Journey
|
|
23
|
+
section Enter
|
|
24
|
+
Open login page: 5: User
|
|
25
|
+
Enter credentials: 4: User
|
|
26
|
+
section Validate
|
|
27
|
+
Submit form: 5: User
|
|
28
|
+
Validate & redirect: 3: System
|
|
29
|
+
section Success
|
|
30
|
+
Land on dashboard: 5: User
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### Checkout Flow
|
|
34
|
+
```mermaid
|
|
35
|
+
journey
|
|
36
|
+
title Checkout Experience
|
|
37
|
+
section Cart
|
|
38
|
+
Add items: 5: Customer
|
|
39
|
+
Review cart: 4: Customer
|
|
40
|
+
section Payment
|
|
41
|
+
Enter payment: 3: Customer
|
|
42
|
+
Confirm order: 5: Customer
|
|
43
|
+
section Confirmation
|
|
44
|
+
Receive confirmation: 5: Customer
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## When to Use
|
|
48
|
+
- UAT scenario design
|
|
49
|
+
- UX testing flows
|
|
50
|
+
- Identifying pain points (low scores) for test focus
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# Mermaid Mind Map Syntax — QA Use Cases
|
|
2
|
+
|
|
3
|
+
## Syntax Overview
|
|
4
|
+
|
|
5
|
+
Mind maps use `mindmap`. Root: `root((Topic))`. Children: indented with `()` for nodes. Use `:` for multiple children. Supports `[]` and `(())` for styling.
|
|
6
|
+
|
|
7
|
+
```mermaid
|
|
8
|
+
mindmap
|
|
9
|
+
root((Topic))
|
|
10
|
+
Branch A
|
|
11
|
+
Branch B
|
|
12
|
+
Sub 1
|
|
13
|
+
Sub 2
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Example 1: Test Coverage Mapping
|
|
17
|
+
|
|
18
|
+
```mermaid
|
|
19
|
+
mindmap
|
|
20
|
+
root((Test Coverage))
|
|
21
|
+
Unit
|
|
22
|
+
Services
|
|
23
|
+
Utils
|
|
24
|
+
Models
|
|
25
|
+
Integration
|
|
26
|
+
API
|
|
27
|
+
DB
|
|
28
|
+
E2E
|
|
29
|
+
Critical Paths
|
|
30
|
+
Happy Paths
|
|
31
|
+
Accessibility
|
|
32
|
+
WCAG
|
|
33
|
+
Screen Reader
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Example 2: Feature Decomposition
|
|
37
|
+
|
|
38
|
+
```mermaid
|
|
39
|
+
mindmap
|
|
40
|
+
root((Checkout Feature))
|
|
41
|
+
Cart
|
|
42
|
+
Add item
|
|
43
|
+
Remove item
|
|
44
|
+
Update qty
|
|
45
|
+
Payment
|
|
46
|
+
Card
|
|
47
|
+
PayPal
|
|
48
|
+
Wallet
|
|
49
|
+
Shipping
|
|
50
|
+
Address
|
|
51
|
+
Options
|
|
52
|
+
Tracking
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## Example 3: Risk Areas
|
|
56
|
+
|
|
57
|
+
```mermaid
|
|
58
|
+
mindmap
|
|
59
|
+
root((Test Risks))
|
|
60
|
+
High
|
|
61
|
+
Payment flows
|
|
62
|
+
Auth
|
|
63
|
+
Medium
|
|
64
|
+
Search
|
|
65
|
+
Filters
|
|
66
|
+
Low
|
|
67
|
+
Static pages
|
|
68
|
+
Help
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
## When to Use
|
|
72
|
+
|
|
73
|
+
- **Test coverage mapping:** Areas to cover, hierarchy
|
|
74
|
+
- **Feature decomposition:** Modules, sub-features
|
|
75
|
+
- **Risk/priority mapping:** High/medium/low areas
|