petrkindlmann/qa-skillsMIT4 files

Test Planning

>-

Specification
Skill ID
petrkindlmann/qa-skills/test-planning
Publisher
petrkindlmann
Repository
qa-skills
Installs
0
Files
4
License
MIT
Synced
Sep 23, 2026
How to use it

Open any RiverX project, open the Skills panel in the chat, and search for this identifier. The files are fetched from the source repository at install time.

petrkindlmann/qa-skills/test-planningInstalls these files
  • SKILL.md
  • references/plan-documents.md
  • references/tracking-formats.md
  • references/workflow-templates.md

What this skill tells the agent

<objective> Create actionable test plans for sprints and releases. A test plan answers four questions: what to test, how deeply, who does it, and when it must be done. The output is a living document that tracks progress, not a bureaucratic artifact filed and forgotten. A plan that schedules 100% of available time fails the moment the first bug is found — buffer and prioritization are what make it survive contact with reality. </objective>

Quick Route

SituationGo to
Plan a single sprintSteps 1-6 below, then the 1-page sprint template in references/plan-documents.md
Plan a releaseRelease template in references/plan-documents.md; the go/no-go decision itself belongs to release-readiness
Track an in-flight plan / feed results backreferences/tracking-formats.md (daily status + retrospective)
Decide what to cut when over capacityStep 4 prioritization matrix

Discovery Questions

Before writing a test plan, gather context. Check .agents/qa-project-context.md first -- if it exists, use it as the foundation and skip questions already answered there.

Scope

  • What is the scope? (single sprint, release, hotfix, feature)
  • Which features are new vs. changed vs. unchanged?
  • Which features are being released for the first time?
  • Are there infrastructure or dependency changes (database migrations, API version bumps, third-party provider switches)?
  • Is there a requirements document, PRD, or set of user stories to map against?

Time and Resources

  • What is the testing window? (days, hours available)
  • Who is available for testing? (SDETs, manual testers, developers)
  • Are there shared resources that could bottleneck? (staging environments, test accounts, devices)
  • Is there a hard deadline that cannot move, or is the release date flexible?

Risk Context

  • Which areas changed the most in this cycle?
  • What broke in the last release or sprint?
  • Are there known fragile areas or tech debt that increase risk?
  • For risk-based prioritization methodology, see risk-based-testing.

Existing Coverage

  • What automated tests already exist for the in-scope features?
  • What is the current pass rate of the automated suite?
  • Are there known gaps in automation that require manual testing?
  • When was the last exploratory testing session on these features?

Core Principles

1. Coverage-Driven: Map Every Requirement to at Least One Test

A test plan without traceability to requirements is a guess. Every user story, acceptance criterion, or requirement must map to at least one test case. Gaps in this mapping are untested requirements -- the most dangerous kind of risk.

2. Time-Boxed: Plan Fits the Available Window

Testing expands to fill available time if unbounded. Set a time box for each activity and stick to it. When the window is too short, the prioritization matrix determines what gets cut -- not gut feeling.

3. Prioritized: Not Everything Gets Equal Depth

A payment flow change and a tooltip fix do not deserve equal effort. Use the risk x effort matrix to allocate depth: some features get full regression, others a smoke test, some nothing if low-risk and unchanged.

4. Buffered: Leave Room for the Unexpected

Plans that schedule 100% of available time fail when bugs are found. Allocate only 70-80% of the testing window to planned work and explicitly reserve the remaining 20-30% for bug verification, re-testing, and unplanned investigation. If buffer is not a named line in the plan, you do not have one.

5. Visible: The Plan Is a Communication Tool

Developers need to know what gets tested to write testable code. Product managers need coverage visibility to make release decisions. Publish the plan where the team can see it.

6. Entry and Exit Criteria Are First-Class

The most-reused part of any plan is its gate. Make it explicit, not buried: entry = code-complete on staging + existing suite green + test data seeded; exit = every HIGH-risk area covered + no open P0/P1 + zero unexplained GAP rows in the coverage matrix. Everything else is detail around these two checkpoints.


Workflow

The six workflow steps each have a fill-in-the-blank scaffold. The decision prose stays here; the copy-paste templates (decomposition, coverage matrix, estimation worksheet, prioritization matrix, allocation table, schedule) live in references/workflow-templates.md.

Step 1: Feature Analysis and Decomposition

Break each in-scope feature into testable units. A "testable unit" is a specific behavior that can be verified with a clear pass/fail outcome. Walk every feature against these scenario categories so none gets skipped:

  • Happy path — the primary success flow.
  • Validation — required fields empty, format violations, boundary values.
  • Error conditions — server 5xx, network timeout, rejected input.
  • Edge cases — unicode, oversized payloads, unsupported formats.
  • Concurrency / race conditions — two users edit the same record simultaneously, double-submit, retry-after-timeout. These hide the worst data-corruption bugs and are the category most often missed.
  • Integration points — behavior across each boundary the feature crosses.

See references/workflow-templates.md for the decomposition template and a worked "User Profile Edit" example that exercises all six categories.

AI decomposition cross-check. When an agent decomposes features, have it immediately map its own scenarios back against the Step 2 coverage matrix. Any requirement with no scenario, or any scenario category above with no entry, is a decomposition gap the agent must surface before estimation — this is how you catch the agent's blind spots, not after CI does.

Step 2: Requirements-to-Test Coverage Mapping

Create a traceability matrix that maps every requirement to its test cases. See references/workflow-templates.md for the coverage matrix template.

Rules for the coverage matrix:

  • Every requirement must appear in the matrix (target: 100% mapping)
  • "GAP" status triggers a decision: write a test, accept the risk, or defer
  • Automated tests get test IDs that link to the actual test file/function
  • Manual tests reference the test case document or charter

Step 3: Effort Estimation

Estimate effort for each test type using historical data. If no historical data exists, use the reference estimates below and calibrate after the first sprint.

Estimation reference (per test case):

Test TypeWrite TimeExecute TimeMaintenance (per quarter)
Unit test0.5 hr< 1 sec5 min
Integration test1 hr5-30 sec15 min
E2E test (Playwright/Cypress)2-3 hours30s-2 min30 min
Manual test case (write)0.25 hr5-15 min per execution10 min
Exploratory session (charter)15 min1.5 hrs per sessionN/A
Accessibility review (manual)0.5-1 hr per areaincluded in write15 min
Visual regression test30-60 min10-30 sec20 min (baseline updates)
Performance test (k6 script)2-4 hours5-30 min per run30 min
Prompt regression / LLM eval30-60 min per case30 sec - 2 min (with API cost)20 min
Setup & test data (per feature)0.5-2 hrsone-timere-seed per env

Write Time is authoring only. The "Setup & test data" row is the line planners most often omit — environment, fixtures, and mock configuration routinely run 20-40% of total effort, so budget it as a real line rather than discovering it mid-sprint.

Use this skill in a project

Open any RiverX project, search the Skills panel for petrkindlmann/qa-skills/test-planning, and install it in one click.

Use this skill