Test plan template for SaaS: Markdown you can drop in the repo
Copy-paste Markdown test plan for one SaaS release: scope, cases, environment, data, risks, and exit criteria — built for teams without a QA hire.
A test plan answers how this release gets tested. A test strategy answers what we invest in this sprint. Keep them separate: strategy first (one-page strategy), then this plan for the release ticket or docs/test-plan-<release>.md.
This template is for SaaS teams without a QA hire. It is short on purpose. For what evidence to keep after execution, see ISTQB test activities & testware. Syllabus context: ISTQB.
Strategy vs plan (30 seconds)
| Document | Question it answers | Lifespan |
|---|---|---|
| Strategy | What risks matter this sprint; Must/Should/Won't | Sprint |
| Plan | Cases, env, data, owners, exit for this release | One release / tag |
If the plan restates company values, delete that section.
Markdown template (copy into the repo)
# Test plan — <product> — <release / tag> — <YYYY-MM-DD>
## 1. Goal
One sentence: what must be true to ship.
## 2. Scope
### In
- Features / APIs / jobs:
- Browsers / clients (if UI):
### Out
- Explicit skips (and why):
## 3. References
- Strategy doc:
- Specs / tickets:
- OpenAPI / contracts:
- Related suites (paths in repo):
## 4. Environment & builds
| Item | Value |
| --- | --- |
| Staging / preview URL | |
| Build / commit SHA | |
| Feature flags | |
| Who can reset env | |
## 5. Test data
| Need | How created | Cleanup |
| --- | --- | --- |
| Users / tenants | | |
| Seed entities | | |
| Secrets | vault / CI secret (not git) | |
## 6. Cases (traceable)
| ID | Case | Layer | Risk / req | Expect | Owner | Result |
| --- | --- | --- | --- | --- | --- | --- |
| TP-01 | | API / E2E / manual | | | | |
| TP-02 | | | | | | |
## 7. Automation map
| Case IDs | Suite / job | Blocks merge? |
| --- | --- | --- |
| | | yes / no |
## 8. Risks & contingencies
| Risk | Mitigation | Trigger to stop ship |
| --- | --- | --- |
| | | |
## 9. Exit criteria
- [ ] All Must cases Pass (or waived in writing by <role>)
- [ ] No open P0/P1 on in-scope paths
- [ ] Suites green on SHA above
- [ ] Debrief notes linked:
## 10. Sign-off
| Role | Name | Date | Decision |
| --- | --- | --- | --- |
| Tech lead | | | ship / hold |Empty rows are incomplete work. Delete unused rows; do not leave “TBD” through release day.
Mini example — invoice PDF release
Goal: Paying tenants can download a correct PDF invoice for the current period; failed PDF jobs do not mark the invoice paid twice.
| ID | Case | Layer | Expect |
|---|---|---|---|
| TP-01 | User A cannot fetch User B invoice PDF | API | 403/404 — see OWASP API checklist |
| TP-02 | Pay → generate PDF → download | E2E | PDF contains period + amount |
| TP-03 | PDF worker fails once then retries | API / job | Invoice stays paid once; one PDF object |
| TP-04 | Staging login → invoices list | E2E smoke | Page loads; link visible |
Env: staging SHA pinned; seed tenant [email protected]; secrets in CI only.
Exit: TP-01–03 Pass; TP-04 Pass on Chromium PR gate; no P0 open.
What not to put in this plan
- Full company org chart or tool catalogues with no case attached
- “Test everything” as scope
- Passwords or production customer data
- A second copy of the strategy’s Won't list without linking the strategy doc
If the case table grows past ~25 rows for one release, split releases or move bulk regression to a named suite referenced from section 7.
If you want this template filled against your next release, request the free 20-minute check-up: you get a written gap list (missing env, data, exit, owners). Scoping a full engagement: services.
Want a second pair of eyes on your system?
Request the free 20-minute check-up: short written findings, non-intrusive, no obligation.
Related: scoped vs hire vs TaaS.