Skip to content
Back to skills

Test Strategy Author

ASecurity

Use for any question or task about a test strategy or master test plan, including what one contains or teams that test inconsistently so nobody knows what was tested: scope, test types per layer, risk-based prioritization, tools, environments, exit criteria and ownership, plus a budgeted per-risk test plan with owners and effort, for stakeholder sign-off.

  • 67 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added October 12, 2026
testingrustgorailstestinggitdatabasesecurityperformance

Security analysis

A100/100

Pro scans all 12 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add testland/qa --skill test-strategy-author --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Test Strategy Author?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Test Strategy Author
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/testland-test-strategy-author/badge)](https://www.skillsdirectory.com/skills/testland-test-strategy-author)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: test-strategy-author
description: "Use for any question or task about a test strategy or master test plan, including what one contains or teams that test inconsistently so nobody knows what was tested: scope, test types per layer, risk-based prioritization, tools, environments, exit criteria and ownership, plus a budgeted per-risk test plan with owners and effort, for stakeholder sign-off."
---

# test-strategy-author

## Overview

A test strategy document answers the question "how do we know
we're testing the right things?" Without it, test investment is
gut-feel; with it, the team has a defensible artifact tying test
work to risk and business goals.

The ISTQB glossary defines a test strategy as "A description of how to
perform testing to reach test objectives under given circumstances"
([istqb-strategy][istqb-strategy]). This skill produces that document,
then the per-feature risk-based plan under it (Step 5).

[istqb-strategy]: https://glossary.istqb.org/en_US/term/test-strategy
[istqb-plan]: https://glossary.istqb.org/en_US/term/test-plan
[istqb-exit]: https://glossary.istqb.org/en_US/term/exit-criteria
[istqb-rbt]: https://glossary.istqb.org/en_US/term/risk-based-testing
[pyramid]: https://martinfowler.com/articles/practical-test-pyramid.html
[wcag22]: https://www.w3.org/TR/WCAG22/
[owasp-top10]: https://owasp.org/www-project-top-ten/

## When to use

- A new product / large feature is in planning; the team needs to
  scope test investment.
- A multi-quarter initiative needs a published strategy stakeholders
  can review.
- An audit / compliance review requires a documented strategy.
- A new team forming around a product needs onboarding context.

For per-feature test plans (smaller scope), use the lighter-weight
`risk-matrix` - strategy is for
larger horizons.

## Step 1 - Document structure

```markdown
# Test Strategy - `<product / release>`

**Author:** _______________   **Date:** YYYY-MM-DD
**Status:** Draft | Review | Approved
**Stakeholders:** Engineering, Product, QA, Compliance

## 1. Scope

### In scope
- (List of features / surfaces this strategy covers)

### Out of scope
- (Explicit list of what's NOT covered, with rationale)

### Assumptions
- (List of context the strategy depends on)

## 2. Risk basis

(Reference the risk matrix per `risk-matrix`)

| Risk class | Top risks (from matrix) | Test investment |
|------------|-------------------------|-----------------|
| Business    | Promo math, Tax calculations | Property-based + UAT |
| Technical   | Webhook reliability, DB migrations | Chaos + integration |
| Regulatory  | EU GDPR, CCPA          | UAT + privacy review |
| Performance | Checkout latency        | Load + canary       |

## 3. Test types per layer (the pyramid)

Per the test pyramid (`test-pyramid-balancer`). The coverage targets
below are example values to replace with the team's own; no standard
fixes them.

| Layer       | Coverage target (example) | Tools | Owner |
|-------------|----------------:|-------|-------|
| Unit         |       80%       | Jest, pytest, JUnit | Devs |
| Integration  |       60%       | Testcontainers, supertest | Devs |
| Contract     |       100% of consumer-provider pairs | Pact | Devs |
| E2E          |       Critical paths (5-10 flows) | Playwright | QA |
| Performance  |       Critical endpoints | k6 + Lighthouse CI | QA + SRE |
| Security     |       OWASP Top 10 (2025) | Schemathesis + manual pen test | Security |
| A11y         |       WCAG 2.2 AA | axe + manual review | QA |

## 4. Tooling

(Stack inventory per layer; references to specific skills)

## 5. Environments

- **Local dev** - per-engineer; Testcontainers backing services.
- **Staging** - shared; smoke + UAT.
- **Canary** - 5% prod traffic; 30-min observation per
  prod-canary-validator.
- **Prod** - synthetic monitors per
  synthetic-monitor-author.

## 6. Test data

- **Synthetic accounts** - per synthetic-data-toolkit.
- **PII handling** - per synthetic-pii-generator.
- **Database state** - per database snapshot / restore.

## 7. Exit criteria

Release ships when:

- All AC for in-scope features pass.
- All unit/integration tests green; no flake in last 3 main runs.
- E2E critical-path suite green.
- Coverage targets met per Section 3.
- Performance targets met (p95 within budget).
- A11y regression scan green.
- Threat model reviewed for security-touching changes.
- Risk matrix Critical (>=15) all mitigated.

## 8. Ownership

| Activity              | Owner | Backup |
|-----------------------|-------|--------|
| Unit test reviews      | Devs  | Tech lead |
| E2E suite maintenance  | QA    | Dev TPM |
| Perf budget approval   | SRE   | QA |
| Threat model authorship | Security | Dev TPM |
| Synthetic monitors     | SRE   | QA |
| Risk matrix updates    | QA    | Product |

## 9. Cadence

- **Per-PR:** Lint, unit, integration, smoke E2E, coverage delta.
- **Per-merge to main:** Full E2E, perf gate.
- **Nightly:** Full regression, mutation testing weekly.
- **Pre-release:** Manual UAT sign-off, full security scan,
  release-readiness check.

## 10. Risk register snapshot

(Top 10 risks from the matrix as of strategy authoring date)

## 11. Open questions / decisions needed

- (List of unresolved items requiring stakeholder input)

## Approval

- [ ] Engineering manager
- [ ] QA lead
- [ ] Product manager
- [ ] Security (if applicable)
```

Sources behind the template sections:

- **Section 2 (risk basis).** ISTQB defines risk-based testing as "A
  test approach in which the management, selection, prioritization, and
  use of test activities and resources are based on corresponding risk
  types and risk levels" ([istqb-rbt][istqb-rbt]). That is why every
  layer's investment in Section 3 traces back to a risk row.
- **Section 3 (layers).** The pyramid's two rules from
  [practical-test-pyramid][pyramid]: "Write tests with different
  granularity" and "The more high-level you get the fewer tests you
  should have". Keep E2E to the critical paths; per the same article,
  "Due to their high maintenance cost you should aim to reduce the number
  of end-to-end tests to a bare minimum."
- **Section 3 (security and a11y rows).** "The OWASP Top 10 is the
  reference standard for the most critical web application security
  risks" ([owasp-top10][owasp-top10]); WCAG 2.2 is a W3C Recommendation
  (12 December 2024) with "three levels of conformance ... A (lowest),
  AA, and AAA (highest)" ([wcag22][wcag22]). Write down which level the
  product must meet and who set it (a law, a contract, a policy).
- **Section 7 (exit criteria).** ISTQB defines exit criteria as "The set
  of conditions for officially completing a defined task"
  ([istqb-exit][istqb-exit]). Here the task is the release's testing, so
  each condition must be measurable and signed off in Approval.

## Step 1a - Validate the draft before approval

Before circulating for sign-off, verify the draft against its own exit gate:

- Assert every in-scope feature in Section 1 maps to a risk class in Section 2, a layer + coverage target in Section 3, and at least one exit criterion in Section 7.
- Assert every Section 7 exit criterion is measurable (a number or a green/red check), not a subjective phrase.

If a section cannot be filled - for example the risk matrix in Section 2 does not exist yet - record it as an open question in Section 11 rather than leaving the section blank, resolve it, then re-run this check. Collect the Approval sign-offs only once no Section 11 item still blocks release.

## Step 2 - Tailor per project size

| Project size | Strategy length | Scope    |
|--------------|----------------:|----------|
| Small (1-3 mo) | 2-3 pages    | Sections 1-3 + 7 |
| Medium (1-2 quarters) | 5-7 pages | All sections |
| Large (multi-quarter) | 10+ pages | All + sub-strategies per major feature |

## Step 3 - Review cadence

| Trigger                                          | Action                                           |
|--------------------------------------------------|--------------------------------------------------|
| Quarterly                                         | Re-review; update sections 2 (risks), 7 (exit), 10 (snapshot). |
| Major architectural change                        | Re-author Sections 3 + 6.                         |
| Post-incident                                     | Update Section 2 (new risks); Section 7 (new exit criterion). |
| New compliance requirement                        | Section 1 + Section 7.                            |

## Step 4 - Reference patterns

Common strategy patterns by product type:

| Product type         | Strategy emphasis                                       |
|----------------------|---------------------------------------------------------|
| E-commerce            | Business risks (promo math, currency, tax); UAT-heavy. |
| SaaS B2B               | Security + multi-tenancy; contract testing critical.  |
| Mobile native          | Per-platform matrix; manual tier; performance.        |
| Internal tooling       | Light strategy; integration over E2E.                  |
| Regulated (fintech, health) | Heavyweight RBT (FMEA); auditable trail.            |

## Step 5 - Risk-based test planning (per feature / per quarter)

The strategy sets the frame; a per-feature plan allocates the hours. Given a
feature scope, the current risk matrix (per `risk-matrix`), an engineer-week
budget, and the team's tooling inventory, produce a risk-prioritized test
plan:

1. **Identify scope-relevant risks.** Direct hits (the feature modifies code
   in a risk's source paths) plus area-level hits (same product area as an
   existing risk row). No matrix, no plan - author the matrix first.
2. **Map each risk to test types** per `risk-matrix` Step 4 (business logic
   -> unit + property-based + UAT; technical -> integration + chaos + load;
   regulatory -> stakeholder UAT + compliance review; and so on).
3. **Estimate effort per test type** (rough starting points the team
   calibrates): unit 0.5h, property-based 2h, integration / contract 4h,
   E2E 8h, manual / UAT 4h per scenario, visual regression 2h per baseline,
   load 1d, chaos 2d, threat model 1d.
4. **Emit the plan** with a per-risk table (risk, score, class, test types,
   effort, owner), a budget-allocation summary with ~20% headroom for
   incident response and retests, and a **"Risks NOT addressed
   (intentional)"** table naming each skipped risk and why - the audit trail
   that distinguishes prioritization from neglect.

```markdown
## Test plan - Feature `Promo banner v2`

**Risks implicated:** 6 (of 23) · **Budget:** 2 engineer-weeks · **Estimated:** 1.6 weeks (within budget)

| Risk | Score | Class | Test types | Effort | Owner |
|---|---:|---|---|---|---|
| R-1 Promo math | 15 | Business logic | + 4 unit + 1 property-based | 4 hours | Alice |
| R-2 Stripe webhook | 16 | Technical | + 1 integration + 1 chaos | 1.5 days | Bob |
| R-3 EU tax calc | 10 | Regulatory | + 1 UAT with finance | 4 hours | Carol |

### Risks NOT addressed (intentional)

| Risk | Score | Why skipped |
|---|---:|---|
| R-15 Old promo CMS migration | 3 | Below threshold; manual smoke covers. |
```

Planning guardrails: never plan more than 20% over budget; never skip the
highest-scored Critical risk (>=15) under budget pressure - escalate to
product instead; never pick test types the team has no tooling for. Version
plans in markdown alongside the matrix and track revisions rather than
silently rewriting prior versions.

## Anti-patterns

| Anti-pattern                                                          | Why it fails                                                              | Fix |
|-----------------------------------------------------------------------|---------------------------------------------------------------------------|-----|
| Generic strategy template not tailored to product                     | Reads like boilerplate; nobody references.                               | Tailor per Section 1 (scope) and Section 4 (tooling). |
| Plan ignores the effort budget                                         | Idealistic; team can't execute.                                          | Match plan to budget (Step 5). |
| Skipping Critical risks under budget pressure                          | Defeats the prioritization purpose.                                      | Escalate to product instead (Step 5 guardrails). |
| No "risks NOT addressed" section in the plan                           | Audit gap; prioritization indistinguishable from neglect.                | Always include it (Step 5). |
| Strategy authored once; never reviewed                                | Becomes obsolete; team distrusts.                                        | Quarterly cadence (Step 3). |
| No exit criteria                                                       | "Done" is subjective; release decisions arbitrary.                       | Section 7 - explicit + measurable. |
| Strategy = test plan                                                   | Per ISTQB a strategy says "how to perform testing" ([istqb-strategy][istqb-strategy]); a plan adds "objectives, means and schedule" ([istqb-plan][istqb-plan]). Different artifacts. | Use Step 5 and `risk-matrix` for per-feature plans. |
| Copying the example coverage targets as if they were a standard        | 80% / 60% are placeholders; the right number depends on the codebase and risk. | Set targets from the risk matrix and current baseline. |
| Owner column missing                                                   | Activities slip; "everyone owns it = nobody."                            | Section 8 explicit owners. |
| Strategy in slides, not version-controlled                             | History lost; updates invisible.                                          | Markdown + git. |

## Limitations

- **Strategy ≠ execution.** A great strategy doesn't ensure great
  testing - pair with per-feature plans + per-PR enforcement.
- **Quarterly cadence is a floor.** Fast-moving products may need
  more frequent revisits.
- **Stakeholder buy-in required.** A strategy nobody read is
  paperwork; circulate, present, get sign-off.

## References

- [istqb-strategy][istqb-strategy] - ISTQB glossary: test strategy.
- [istqb-plan][istqb-plan] - ISTQB glossary: test plan.
- [istqb-rbt][istqb-rbt] - ISTQB glossary: risk-based testing.
- [istqb-exit][istqb-exit] - ISTQB glossary: exit criteria.
- [pyramid][pyramid] - Martin Fowler site, "The Practical Test Pyramid":
  test granularity, fewer high-level tests.
- [owasp-top10][owasp-top10] - OWASP Top 10 (2025 edition).
- [wcag22][wcag22] - WCAG 2.2, W3C Recommendation, conformance levels.
- `risk-matrix` - feeds Section 2.
- `test-pyramid-balancer` - 
  feeds Section 3.
- `definition-of-done` - feeds
  Section 7.

Files in this skill

  • .tessl-plugin/plugin.json861 B
  • SKILL.md11.9 KB
  • evals/admin-console-handed-the-flagship-template/criteria.json7 KB
  • evals/admin-console-handed-the-flagship-template/task.md12.5 KB
  • evals/monolith-split-and-a-one-line-contract-bullet/criteria.json7.9 KB
  • evals/monolith-split-and-a-one-line-contract-bullet/task.md14.4 KB
  • evals/payments-plan-with-the-budget-halved-on-monday/criteria.json8.4 KB
  • evals/payments-plan-with-the-budget-halved-on-monday/task.md11 KB
  • evals/replay-outage-and-a-doc-nobody-opened-in-a-year/criteria.json6.7 KB
  • evals/replay-outage-and-a-doc-nobody-opened-in-a-year/task.md9.8 KB
  • evals/stakeholder-review-thursday-with-no-matrix/criteria.json6.4 KB
  • evals/stakeholder-review-thursday-with-no-matrix/task.md8.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in testing →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.