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,176 @@
|
|
|
1
|
+
# Entry and Exit Criteria Reference
|
|
2
|
+
|
|
3
|
+
Common entry and exit criteria for different test levels. Use these checklists when defining conditions to start and complete testing in a test strategy.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Entry Criteria (Definition of Ready)
|
|
8
|
+
|
|
9
|
+
Conditions that must be met **before** testing can begin at a given level.
|
|
10
|
+
|
|
11
|
+
### Unit Test Entry
|
|
12
|
+
|
|
13
|
+
- [ ] Code is committed and buildable
|
|
14
|
+
- [ ] Dependencies are resolvable
|
|
15
|
+
- [ ] Test framework configured
|
|
16
|
+
- [ ] Coverage tooling in place
|
|
17
|
+
|
|
18
|
+
### Integration Test Entry
|
|
19
|
+
|
|
20
|
+
- [ ] Unit tests passing
|
|
21
|
+
- [ ] Services/APIs available (or mocked)
|
|
22
|
+
- [ ] Test environment provisioned
|
|
23
|
+
- [ ] Test data prepared
|
|
24
|
+
- [ ] Database migrations applied
|
|
25
|
+
|
|
26
|
+
### System/E2E Test Entry
|
|
27
|
+
|
|
28
|
+
- [ ] Integration tests passing
|
|
29
|
+
- [ ] Build deployed to test environment
|
|
30
|
+
- [ ] Environment health checks pass
|
|
31
|
+
- [ ] Test accounts and data ready
|
|
32
|
+
- [ ] Smoke test suite available
|
|
33
|
+
|
|
34
|
+
### UAT Entry
|
|
35
|
+
|
|
36
|
+
- [ ] System testing complete (or agreed partial completion)
|
|
37
|
+
- [ ] Known defects documented and accepted
|
|
38
|
+
- [ ] UAT environment matches production parity (or agreed delta)
|
|
39
|
+
- [ ] Business scenarios and acceptance criteria documented
|
|
40
|
+
- [ ] UAT participants identified and available
|
|
41
|
+
|
|
42
|
+
### Performance Test Entry
|
|
43
|
+
|
|
44
|
+
- [ ] Functional tests passing
|
|
45
|
+
- [ ] Performance environment sized appropriately
|
|
46
|
+
- [ ] Load profiles and SLAs defined
|
|
47
|
+
- [ ] Monitoring/APM configured
|
|
48
|
+
- [ ] Test data volume representative
|
|
49
|
+
|
|
50
|
+
### Release/Go-Live Entry
|
|
51
|
+
|
|
52
|
+
- [ ] All test levels completed per exit criteria
|
|
53
|
+
- [ ] Critical/high defects resolved or accepted
|
|
54
|
+
- [ ] Rollback plan documented and tested
|
|
55
|
+
- [ ] Sign-off from required stakeholders
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## Exit Criteria (Definition of Done for Testing)
|
|
60
|
+
|
|
61
|
+
Conditions that must be met **to complete** testing at a given level.
|
|
62
|
+
|
|
63
|
+
### Unit Test Exit
|
|
64
|
+
|
|
65
|
+
- [ ] Target coverage achieved (e.g., 70%+ for critical paths)
|
|
66
|
+
- [ ] No failing unit tests
|
|
67
|
+
- [ ] Linter/static analysis clean
|
|
68
|
+
- [ ] Code review completed
|
|
69
|
+
|
|
70
|
+
### Integration Test Exit
|
|
71
|
+
|
|
72
|
+
- [ ] All integration tests passing
|
|
73
|
+
- [ ] API contract tests passing
|
|
74
|
+
- [ ] No critical integration defects open
|
|
75
|
+
- [ ] Integration coverage report reviewed
|
|
76
|
+
|
|
77
|
+
### System/E2E Test Exit
|
|
78
|
+
|
|
79
|
+
- [ ] All planned E2E scenarios executed
|
|
80
|
+
- [ ] Critical user journeys pass
|
|
81
|
+
- [ ] No critical/high defects open (or accepted with waiver)
|
|
82
|
+
- [ ] Test execution report complete
|
|
83
|
+
- [ ] Regression suite run and results documented
|
|
84
|
+
|
|
85
|
+
### UAT Exit
|
|
86
|
+
|
|
87
|
+
- [ ] All UAT scenarios executed
|
|
88
|
+
- [ ] Acceptance criteria met or explicitly waived
|
|
89
|
+
- [ ] Business sign-off obtained
|
|
90
|
+
- [ ] Feedback and defects logged
|
|
91
|
+
- [ ] UAT report delivered
|
|
92
|
+
|
|
93
|
+
### Performance Test Exit
|
|
94
|
+
|
|
95
|
+
- [ ] Load tests executed per profile
|
|
96
|
+
- [ ] SLAs met (response time, throughput, error rate)
|
|
97
|
+
- [ ] No performance regressions vs baseline
|
|
98
|
+
- [ ] Performance report with recommendations
|
|
99
|
+
- [ ] Bottlenecks documented
|
|
100
|
+
|
|
101
|
+
### Release/Go-Live Exit
|
|
102
|
+
|
|
103
|
+
- [ ] All exit criteria for prior levels met
|
|
104
|
+
- [ ] Release checklist completed
|
|
105
|
+
- [ ] Stakeholder sign-off obtained
|
|
106
|
+
- [ ] Deployment runbook validated
|
|
107
|
+
- [ ] Post-release monitoring plan in place
|
|
108
|
+
|
|
109
|
+
---
|
|
110
|
+
|
|
111
|
+
## Level-Specific Checklists
|
|
112
|
+
|
|
113
|
+
### Sprint/Iteration Level
|
|
114
|
+
|
|
115
|
+
**Entry:**
|
|
116
|
+
- [ ] Stories meet DoR (clear acceptance criteria, estimable)
|
|
117
|
+
- [ ] Dev environment available
|
|
118
|
+
- [ ] Test cases/automation ready for new scope
|
|
119
|
+
|
|
120
|
+
**Exit:**
|
|
121
|
+
- [ ] All committed stories tested
|
|
122
|
+
- [ ] No critical bugs in "Done"
|
|
123
|
+
- [ ] Demo completed
|
|
124
|
+
- [ ] Retrospective held
|
|
125
|
+
|
|
126
|
+
### Regression Level
|
|
127
|
+
|
|
128
|
+
**Entry:**
|
|
129
|
+
- [ ] Regression scope defined (risk-based or full)
|
|
130
|
+
- [ ] Test environment stable
|
|
131
|
+
- [ ] Baseline from last run available
|
|
132
|
+
|
|
133
|
+
**Exit:**
|
|
134
|
+
- [ ] Regression suite executed
|
|
135
|
+
- [ ] Results compared to baseline
|
|
136
|
+
- [ ] New failures triaged and logged
|
|
137
|
+
- [ ] Regression report updated
|
|
138
|
+
|
|
139
|
+
### Release Level
|
|
140
|
+
|
|
141
|
+
**Entry:**
|
|
142
|
+
- [ ] Release scope frozen
|
|
143
|
+
- [ ] All test levels planned
|
|
144
|
+
- [ ] Environments and data ready
|
|
145
|
+
|
|
146
|
+
**Exit:**
|
|
147
|
+
- [ ] All test levels passed per their exit criteria
|
|
148
|
+
- [ ] Release notes and known issues documented
|
|
149
|
+
- [ ] Go/no-go decision made
|
|
150
|
+
- [ ] Sign-off obtained
|
|
151
|
+
|
|
152
|
+
---
|
|
153
|
+
|
|
154
|
+
## Measurable vs Subjective
|
|
155
|
+
|
|
156
|
+
Prefer **measurable** criteria:
|
|
157
|
+
|
|
158
|
+
| Avoid | Prefer |
|
|
159
|
+
| ----- | ------ |
|
|
160
|
+
| "Testing complete" | "All E2E scenarios executed; 0 critical defects open" |
|
|
161
|
+
| "Quality is good" | "Pass rate ≥ 95%; no P1/P2 open" |
|
|
162
|
+
| "Ready for release" | "All exit criteria met; sign-off from PM and QA lead" |
|
|
163
|
+
|
|
164
|
+
---
|
|
165
|
+
|
|
166
|
+
## Suspension and Resumption
|
|
167
|
+
|
|
168
|
+
Document when to **suspend** testing:
|
|
169
|
+
- Critical environment failure
|
|
170
|
+
- Blocking defect in core flow
|
|
171
|
+
- Missing test data or access
|
|
172
|
+
|
|
173
|
+
Document when to **resume**:
|
|
174
|
+
- Environment restored
|
|
175
|
+
- Blocking defect fixed and verified
|
|
176
|
+
- Access/data provided
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
# Risk Assessment Matrix Template
|
|
2
|
+
|
|
3
|
+
Use this template when populating the risk assessment section of a test strategy. Covers risk categories, scoring, and mitigation strategies.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Risk Categories
|
|
8
|
+
|
|
9
|
+
| Category | Description | Examples |
|
|
10
|
+
| -------- | ----------- | -------- |
|
|
11
|
+
| **Technical** | Architecture, integration, performance, security, tooling | New tech stack, third-party APIs, legacy integration |
|
|
12
|
+
| **Business** | Requirements, scope, stakeholders, compliance | Vague requirements, scope creep, regulatory deadlines |
|
|
13
|
+
| **Process** | Team, schedule, environment, data | Resource turnover, tight timeline, env instability |
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## Probability × Impact Scoring
|
|
18
|
+
|
|
19
|
+
### Probability (Likelihood)
|
|
20
|
+
|
|
21
|
+
| Score | Level | Description |
|
|
22
|
+
| ----- | ----- | ----------- |
|
|
23
|
+
| 1 | Low | Unlikely; rare occurrence |
|
|
24
|
+
| 2 | Medium | Possible; has happened before |
|
|
25
|
+
| 3 | High | Likely; frequent or expected |
|
|
26
|
+
|
|
27
|
+
### Impact (Severity)
|
|
28
|
+
|
|
29
|
+
| Score | Level | Description |
|
|
30
|
+
| ----- | ----- | ----------- |
|
|
31
|
+
| 1 | Low | Minor delay; workaround exists |
|
|
32
|
+
| 2 | Medium | Notable impact; extra effort to fix |
|
|
33
|
+
| 3 | High | Major impact; release blocker or critical defect |
|
|
34
|
+
|
|
35
|
+
### Risk Score = Probability × Impact
|
|
36
|
+
|
|
37
|
+
| Score | Risk Level | Action |
|
|
38
|
+
| ----- | ---------- | ------ |
|
|
39
|
+
| 1 | Low | Monitor; standard testing |
|
|
40
|
+
| 2–4 | Medium | Mitigate; add targeted tests |
|
|
41
|
+
| 6–9 | High | Actively mitigate; prioritize coverage, exploratory, early testing |
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
## Risk Matrix Template
|
|
46
|
+
|
|
47
|
+
| ID | Risk | Category | Prob | Impact | Score | Mitigation |
|
|
48
|
+
| -- | ---- | -------- | ---- | ------ | ----- | ---------- |
|
|
49
|
+
| R1 | [Description] | Technical/Business/Process | 1–3 | 1–3 | P×I | [Strategy] |
|
|
50
|
+
| R2 | | | | | | |
|
|
51
|
+
| R3 | | | | | | |
|
|
52
|
+
|
|
53
|
+
---
|
|
54
|
+
|
|
55
|
+
## Mitigation Strategies by Category
|
|
56
|
+
|
|
57
|
+
### Technical Risks
|
|
58
|
+
|
|
59
|
+
| Risk Type | Mitigation |
|
|
60
|
+
| --------- | ---------- |
|
|
61
|
+
| New technology | Spike/POC; early automation; training |
|
|
62
|
+
| Third-party dependency | Contract tests; mock in CI; fallback scenarios |
|
|
63
|
+
| Performance | Early load testing; baseline metrics; capacity planning |
|
|
64
|
+
| Security | OWASP scan; auth testing; penetration test |
|
|
65
|
+
| Legacy integration | Integration tests; compatibility matrix; rollback plan |
|
|
66
|
+
|
|
67
|
+
### Business Risks
|
|
68
|
+
|
|
69
|
+
| Risk Type | Mitigation |
|
|
70
|
+
| --------- | ---------- |
|
|
71
|
+
| Vague requirements | Exploratory testing; early UAT; clarify DoR |
|
|
72
|
+
| Scope creep | Change control; impact assessment; regression scope |
|
|
73
|
+
| Compliance | Dedicated compliance test plan; audit trail |
|
|
74
|
+
| Stakeholder availability | Async reviews; documented sign-off criteria |
|
|
75
|
+
|
|
76
|
+
### Process Risks
|
|
77
|
+
|
|
78
|
+
| Risk Type | Mitigation |
|
|
79
|
+
| --------- | ---------- |
|
|
80
|
+
| Resource turnover | Documentation; pair testing; knowledge sharing |
|
|
81
|
+
| Tight timeline | Risk-based prioritization; reduce scope; parallel execution |
|
|
82
|
+
| Environment instability | Dedicated env; containerization; env health checks |
|
|
83
|
+
| Test data | Synthetic data; masking; refresh strategy |
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## Example Risk Entries
|
|
88
|
+
|
|
89
|
+
| ID | Risk | Category | P | I | Score | Mitigation |
|
|
90
|
+
| -- | ---- | -------- | - | - | ----- | ---------- |
|
|
91
|
+
| R1 | Third-party payment API changes without notice | Technical | 2 | 3 | 6 | Contract tests; mock in CI; monitor changelog |
|
|
92
|
+
| R2 | Requirements unclear for checkout flow | Business | 3 | 2 | 6 | Exploratory sessions; early UAT; DoR checklist |
|
|
93
|
+
| R3 | Single QA resource; vacation in release week | Process | 2 | 3 | 6 | Cross-train; document runbooks; automate smoke |
|
|
94
|
+
|
|
95
|
+
---
|
|
96
|
+
|
|
97
|
+
## Visualization
|
|
98
|
+
|
|
99
|
+
Use **qa-diagram-generator** with `references/charts.md` (quadrant chart) to visualize risks:
|
|
100
|
+
- X-axis: Probability
|
|
101
|
+
- Y-axis: Impact
|
|
102
|
+
- Quadrants: Low / Medium / High priority
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
# Testing Types Reference
|
|
2
|
+
|
|
3
|
+
Reference for all testing types with descriptions, tools, and when to apply. Use this when selecting and justifying testing types in a test strategy.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Functional Testing
|
|
8
|
+
|
|
9
|
+
### Unit Testing
|
|
10
|
+
| Attribute | Detail |
|
|
11
|
+
| --------- | ------ |
|
|
12
|
+
| **Description** | Tests individual units (functions, methods, classes) in isolation with mocks/stubs |
|
|
13
|
+
| **Tools** | Jest, Vitest, pytest, JUnit, NUnit, xUnit |
|
|
14
|
+
| **When to Apply** | All projects; highest volume in pyramid; developer-owned |
|
|
15
|
+
| **Coverage Target** | 70–80% for critical paths |
|
|
16
|
+
|
|
17
|
+
### Integration Testing
|
|
18
|
+
| Attribute | Detail |
|
|
19
|
+
| --------- | ------ |
|
|
20
|
+
| **Description** | Tests interactions between components, modules, or services |
|
|
21
|
+
| **Tools** | Supertest, pytest, TestContainers, WireMock |
|
|
22
|
+
| **When to Apply** | API contracts, DB interactions, service-to-service calls |
|
|
23
|
+
| **Coverage Target** | ~20% of test suite |
|
|
24
|
+
|
|
25
|
+
### End-to-End (E2E) Testing
|
|
26
|
+
| Attribute | Detail |
|
|
27
|
+
| --------- | ------ |
|
|
28
|
+
| **Description** | Tests full user journeys through the system from UI to backend |
|
|
29
|
+
| **Tools** | Playwright, Cypress, Selenium, WebdriverIO, CodeceptJS |
|
|
30
|
+
| **When to Apply** | Critical flows, smoke, release validation |
|
|
31
|
+
| **Coverage Target** | ~10%; focus on happy paths and high-risk flows |
|
|
32
|
+
|
|
33
|
+
### API Testing
|
|
34
|
+
| Attribute | Detail |
|
|
35
|
+
| --------- | ------ |
|
|
36
|
+
| **Description** | Tests REST/GraphQL/gRPC endpoints for correctness, status codes, payloads |
|
|
37
|
+
| **Tools** | Supertest, Postman, REST Assured, httpx, Pact |
|
|
38
|
+
| **When to Apply** | API-first apps, microservices, contract validation |
|
|
39
|
+
| **Coverage Target** | All public endpoints |
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## Non-Functional Testing
|
|
44
|
+
|
|
45
|
+
### Performance Testing
|
|
46
|
+
| Attribute | Detail |
|
|
47
|
+
| --------- | ------ |
|
|
48
|
+
| **Description** | Load, stress, spike, endurance testing; measures response time, throughput |
|
|
49
|
+
| **Tools** | k6, Locust, JMeter, Gatling, Artillery |
|
|
50
|
+
| **When to Apply** | Before release; after major changes; SLA validation |
|
|
51
|
+
| **Coverage Target** | Critical user paths, peak load scenarios |
|
|
52
|
+
|
|
53
|
+
### Security Testing
|
|
54
|
+
| Attribute | Detail |
|
|
55
|
+
| --------- | ------ |
|
|
56
|
+
| **Description** | Vulnerability scanning, OWASP checks, auth/authz, injection, XSS |
|
|
57
|
+
| **Tools** | OWASP ZAP, Burp Suite, Snyk, npm audit, Bandit |
|
|
58
|
+
| **When to Apply** | Pre-release; after auth changes; compliance requirements |
|
|
59
|
+
| **Coverage Target** | Per OWASP WSTG baseline |
|
|
60
|
+
|
|
61
|
+
### Accessibility Testing
|
|
62
|
+
| Attribute | Detail |
|
|
63
|
+
| --------- | ------ |
|
|
64
|
+
| **Description** | WCAG compliance; screen reader, keyboard, contrast, ARIA |
|
|
65
|
+
| **Tools** | axe-core, Pa11y, Lighthouse, WAVE |
|
|
66
|
+
| **When to Apply** | Public-facing apps; regulated industries |
|
|
67
|
+
| **Coverage Target** | All public pages; WCAG 2.2 AA minimum |
|
|
68
|
+
|
|
69
|
+
### Visual Regression Testing
|
|
70
|
+
| Attribute | Detail |
|
|
71
|
+
| --------- | ------ |
|
|
72
|
+
| **Description** | Pixel/screenshot comparison to detect unintended UI changes |
|
|
73
|
+
| **Tools** | Playwright screenshots, Percy, Chromatic, BackstopJS |
|
|
74
|
+
| **When to Apply** | UI-heavy apps; design system changes |
|
|
75
|
+
| **Coverage Target** | Key pages and components |
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
## Specialized Testing
|
|
80
|
+
|
|
81
|
+
### Contract Testing
|
|
82
|
+
| Attribute | Detail |
|
|
83
|
+
| --------- | ------ |
|
|
84
|
+
| **Description** | Validates API contracts between consumer and provider |
|
|
85
|
+
| **Tools** | Pact, Spring Cloud Contract |
|
|
86
|
+
| **When to Apply** | Microservices; independent deployments |
|
|
87
|
+
| **Coverage Target** | All consumer-provider pairs |
|
|
88
|
+
|
|
89
|
+
### Mobile Testing
|
|
90
|
+
| Attribute | Detail |
|
|
91
|
+
| --------- | ------ |
|
|
92
|
+
| **Description** | Native/hybrid app testing on iOS/Android; device fragmentation |
|
|
93
|
+
| **Tools** | Appium, Detox, Maestro, XCTest, Espresso |
|
|
94
|
+
| **When to Apply** | Mobile apps; cross-device validation |
|
|
95
|
+
| **Coverage Target** | Critical flows on representative devices |
|
|
96
|
+
|
|
97
|
+
---
|
|
98
|
+
|
|
99
|
+
## Execution-Based Testing
|
|
100
|
+
|
|
101
|
+
### Smoke Testing
|
|
102
|
+
| Attribute | Detail |
|
|
103
|
+
| --------- | ------ |
|
|
104
|
+
| **Description** | Quick sanity check that core functionality works after deploy |
|
|
105
|
+
| **Tools** | Same as E2E (Playwright, Cypress, etc.) |
|
|
106
|
+
| **When to Apply** | After every deployment; CI gate |
|
|
107
|
+
| **Coverage Target** | 5–15 critical paths; < 15 min |
|
|
108
|
+
|
|
109
|
+
### Sanity Testing
|
|
110
|
+
| Attribute | Detail |
|
|
111
|
+
| --------- | ------ |
|
|
112
|
+
| **Description** | Narrow, focused test of changed areas |
|
|
113
|
+
| **Tools** | Manual or automated; subset of regression |
|
|
114
|
+
| **When to Apply** | After hotfixes; quick validation |
|
|
115
|
+
| **Coverage Target** | Changed modules only |
|
|
116
|
+
|
|
117
|
+
### Regression Testing
|
|
118
|
+
| Attribute | Detail |
|
|
119
|
+
| --------- | ------ |
|
|
120
|
+
| **Description** | Full or partial re-test to ensure no unintended breakage |
|
|
121
|
+
| **Tools** | Automated suite; risk-based selection |
|
|
122
|
+
| **When to Apply** | Before release; after major merges |
|
|
123
|
+
| **Coverage Target** | Risk-based; high-risk + changed areas |
|
|
124
|
+
|
|
125
|
+
### Exploratory Testing
|
|
126
|
+
| Attribute | Detail |
|
|
127
|
+
| --------- | ------ |
|
|
128
|
+
| **Description** | Unscripted, session-based testing; learning and discovery |
|
|
129
|
+
| **Tools** | Session sheets, heuristics, charters |
|
|
130
|
+
| **When to Apply** | New features; complex flows; high-risk areas |
|
|
131
|
+
| **Coverage Target** | Time-boxed sessions; charter-driven |
|
|
132
|
+
|
|
133
|
+
---
|
|
134
|
+
|
|
135
|
+
## Selection Matrix
|
|
136
|
+
|
|
137
|
+
| Project Type | Primary Types | Secondary Types |
|
|
138
|
+
| ------------ | ------------- | ---------------- |
|
|
139
|
+
| Web app | Unit, Integration, E2E, API | Performance, Accessibility, Visual |
|
|
140
|
+
| Mobile app | Unit, E2E (Appium), API | Performance, Security |
|
|
141
|
+
| API-only | Unit, Integration, API, Contract | Performance, Security |
|
|
142
|
+
| Microservices | Unit, Integration, Contract, API | Performance, Security |
|
|
143
|
+
| Legacy | Smoke, Regression, Exploratory | Integration where possible |
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: qa-testcase-from-docs
|
|
3
|
+
description: Generate structured test cases from requirements and specification documents using test model-based approach per ISO 29119-4.
|
|
4
|
+
output_dir: test-cases/from-docs
|
|
5
|
+
dependencies:
|
|
6
|
+
recommended:
|
|
7
|
+
- qa-requirements-generator
|
|
8
|
+
- qa-spec-writer
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# QA Test Case from Docs
|
|
12
|
+
|
|
13
|
+
## Purpose
|
|
14
|
+
|
|
15
|
+
Generate structured test cases from Phase 1 documentation (requirements, specifications) using a test model-based approach per ISO/IEC/IEEE 29119-4. Transform requirements and specs into traceable, measurable test cases with coverage criteria.
|
|
16
|
+
|
|
17
|
+
## Trigger Phrases
|
|
18
|
+
|
|
19
|
+
- "Generate test cases from requirements" / "Create test cases from [spec/requirements doc]"
|
|
20
|
+
- "Derive test cases from specifications"
|
|
21
|
+
- "Build test model from [feature/module]"
|
|
22
|
+
- "Test cases with traceability to requirements"
|
|
23
|
+
- "Export test cases to Zephyr/TestRail/CSV"
|
|
24
|
+
- "Coverage matrix for [requirement set]"
|
|
25
|
+
- "Equivalence classes and boundary tests for [field/feature]"
|
|
26
|
+
- "State transition test cases for [workflow]"
|
|
27
|
+
- "Decision table tests for [business rules]"
|
|
28
|
+
|
|
29
|
+
## Test Model-Based Approach (ISO 29119-4)
|
|
30
|
+
|
|
31
|
+
1. **Normalize requirements** — Unify IDs, remove ambiguity, add missing acceptance criteria. Ensure each requirement is testable and uniquely identified.
|
|
32
|
+
|
|
33
|
+
2. **Build test models** — Create formal models from requirements:
|
|
34
|
+
- **State models** — For workflows, lifecycles, multi-step processes
|
|
35
|
+
- **Decision tables** — For business rules, conditional logic, combinations
|
|
36
|
+
- **Equivalence classes** — For input domains (valid/invalid partitions)
|
|
37
|
+
- **Boundary values** — For numeric ranges, string lengths, limits
|
|
38
|
+
|
|
39
|
+
3. **Derive test cases** — Generate test cases from models with measurable coverage:
|
|
40
|
+
- State coverage: all states, all transitions, transition pairs
|
|
41
|
+
- Decision coverage: all conditions, all branches
|
|
42
|
+
- Equivalence: at least one per partition
|
|
43
|
+
- Boundary: min, max, min-1, max+1, typical
|
|
44
|
+
|
|
45
|
+
4. **Formalize tests** — Add traceability links (Requirement ID → Test Model → Test Case), assign types, priorities, and automation status.
|
|
46
|
+
|
|
47
|
+
## Test Case Output Format
|
|
48
|
+
|
|
49
|
+
| Field | Description |
|
|
50
|
+
| ----- | ------------ |
|
|
51
|
+
| **ID** | Unique identifier (e.g., TC-{module}-{number}) |
|
|
52
|
+
| **Title** | Short, descriptive name |
|
|
53
|
+
| **Module** | Feature/component under test |
|
|
54
|
+
| **Priority** | Critical / High / Medium / Low |
|
|
55
|
+
| **Type** | positive / negative / boundary / edge |
|
|
56
|
+
| **Preconditions** | State, data, environment before execution |
|
|
57
|
+
| **Steps** | Table: Step# \| Action \| Expected Result |
|
|
58
|
+
| **Postconditions** | Expected state after execution |
|
|
59
|
+
| **Test Data** | Input values, datasets, fixtures |
|
|
60
|
+
| **Traceability** | Requirement ID(s) covered |
|
|
61
|
+
|
|
62
|
+
### Steps Table Format
|
|
63
|
+
|
|
64
|
+
| Step# | Action | Expected Result |
|
|
65
|
+
| ----- | ------ | --------------- |
|
|
66
|
+
| 1 | {user/system action} | {observable outcome} |
|
|
67
|
+
| 2 | ... | ... |
|
|
68
|
+
|
|
69
|
+
## RTM Output (Requirements Traceability Matrix)
|
|
70
|
+
|
|
71
|
+
```
|
|
72
|
+
Requirement ID → Test Model → Test Case(s) → Automation Status
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
| Req ID | Test Model | Test Case(s) | Automation |
|
|
76
|
+
| ------ | ---------- | ------------ | ---------- |
|
|
77
|
+
| REQ-FN-001 | EP: valid/invalid email | TC-LOGIN-001, TC-LOGIN-002 | Planned |
|
|
78
|
+
| REQ-FN-001 | BVA: min/max length | TC-LOGIN-003, TC-LOGIN-004 | Manual |
|
|
79
|
+
| REQ-FN-002 | State: login flow | TC-LOGIN-005..008 | Automated |
|
|
80
|
+
|
|
81
|
+
## Auto-Categorization
|
|
82
|
+
|
|
83
|
+
| Type | When to Use | Example |
|
|
84
|
+
| ---- | ----------- | ------- |
|
|
85
|
+
| **positive** | Valid inputs, happy path | Valid email + password → login success |
|
|
86
|
+
| **negative** | Invalid inputs, error handling | Wrong password → error message |
|
|
87
|
+
| **boundary** | At limits (min, max, exactly) | Password length = 8 (min) |
|
|
88
|
+
| **edge** | Unusual but valid, concurrency, race | Empty optional field, simultaneous requests |
|
|
89
|
+
|
|
90
|
+
## Output Formats
|
|
91
|
+
|
|
92
|
+
- **Markdown tables** — Human-readable, version-control friendly
|
|
93
|
+
- **JSON** — Structured, tool-agnostic, scriptable
|
|
94
|
+
- **CSV** — Import into spreadsheets, bulk tools
|
|
95
|
+
- **Zephyr-ready** — Structure compatible with Zephyr Scale/ Squad
|
|
96
|
+
- **TestRail-ready** — Structure compatible with TestRail API/import
|
|
97
|
+
|
|
98
|
+
## Workflow
|
|
99
|
+
|
|
100
|
+
1. **Input:** Requirements document (from qa-requirements-generator) and/or specifications (from qa-spec-writer)
|
|
101
|
+
2. **Normalize:** Unify IDs, resolve ambiguity, ensure acceptance criteria exist
|
|
102
|
+
3. **Model:** Select and build test models per `references/test-design-techniques.md`
|
|
103
|
+
4. **Derive:** Generate test cases with coverage criteria
|
|
104
|
+
5. **Categorize:** Assign type (positive/negative/boundary/edge), priority
|
|
105
|
+
6. **Format:** Output in requested format (Markdown, JSON, CSV, Zephyr, TestRail)
|
|
106
|
+
7. **RTM:** Produce traceability matrix
|
|
107
|
+
|
|
108
|
+
## Scope
|
|
109
|
+
|
|
110
|
+
**Can do (autonomous):**
|
|
111
|
+
- Generate test cases from requirements and specifications
|
|
112
|
+
- Build test models (state, decision table, equivalence, boundary)
|
|
113
|
+
- Derive test cases with traceability
|
|
114
|
+
- Auto-categorize by type (positive/negative/boundary/edge)
|
|
115
|
+
- Export to Markdown, JSON, CSV, Zephyr, TestRail formats
|
|
116
|
+
- Produce RTM with requirement → model → test case links
|
|
117
|
+
- Call qa-diagram-generator for state/flow diagrams
|
|
118
|
+
|
|
119
|
+
**Cannot do (requires confirmation):**
|
|
120
|
+
- Change requirement scope or priority
|
|
121
|
+
- Add requirements not in source documents
|
|
122
|
+
- Override stakeholder-defined test priorities
|
|
123
|
+
|
|
124
|
+
**Will not do (out of scope):**
|
|
125
|
+
- Write test automation code
|
|
126
|
+
- Execute tests
|
|
127
|
+
- Modify production code or environments
|
|
128
|
+
|
|
129
|
+
## Embedding: Diagram Generator
|
|
130
|
+
|
|
131
|
+
When visualization is needed, reference qa-diagram-generator:
|
|
132
|
+
- State models → `references/state-diagram.md`
|
|
133
|
+
- Decision logic → `references/flowchart.md`
|
|
134
|
+
- Test flow → `references/flowchart.md`
|
|
135
|
+
|
|
136
|
+
## References
|
|
137
|
+
|
|
138
|
+
- `references/test-design-techniques.md` — ISO 29119-4 techniques: EP, BVA, decision tables, state transition, use case, classification trees
|
|
139
|
+
- `references/test-case-format.md` — Detailed format reference with examples per test type
|
|
140
|
+
|
|
141
|
+
## Quality Checklist
|
|
142
|
+
|
|
143
|
+
- [ ] Every test case traces to at least one requirement ID
|
|
144
|
+
- [ ] Steps are atomic and measurable (no subjective language)
|
|
145
|
+
- [ ] Expected results are observable and verifiable
|
|
146
|
+
- [ ] Coverage criteria stated (e.g., "all equivalence partitions")
|
|
147
|
+
- [ ] Types correctly assigned (positive/negative/boundary/edge)
|
|
148
|
+
- [ ] No duplicate test cases for same requirement + condition
|
|
149
|
+
- [ ] RTM complete: all requirements have at least one test case
|
|
150
|
+
- [ ] Preconditions and postconditions defined where relevant
|
|
151
|
+
|
|
152
|
+
## Troubleshooting
|
|
153
|
+
|
|
154
|
+
| Symptom | Likely Cause | Fix |
|
|
155
|
+
| ------- | ------------ | --- |
|
|
156
|
+
| Vague test steps | Specs lack detail | Run qa-spec-writer first, add acceptance criteria |
|
|
157
|
+
| Missing negative cases | Only happy path modeled | Apply equivalence partitioning, add invalid partitions |
|
|
158
|
+
| Low coverage | Few test models | Add decision tables, state models, BVA |
|
|
159
|
+
| Duplicate test cases | Overlapping models | Deduplicate by (requirement, condition, expected result) |
|
|
160
|
+
| Unclear traceability | Requirement IDs missing | Normalize requirements, assign IDs before modeling |
|
|
161
|
+
| Export fails | Format mismatch | Check Zephyr/TestRail schema, adjust field mapping |
|