Notes
The idea
A test strategy describes how a team or company tests, in general: which levels and types, which tools, how much automation, which environments. It lives for a long time. A test plan applies the strategy to one release or project: what is in scope, the schedule, who does what, the risks, and when testing starts and stops. Think of the strategy as the rules of the game, and the plan as the plan for this match.
- test strategy long-lived, for a product or the whole company levels, types, tools, automation, environments
- test plan for one release or project scope, schedule, people, risks, entry and exit criteria
The strategy
A strategy for ShopRung might say: developers write unit tests for every money rule. API tests run in the pipeline on every pull request. Browser tests cover only the main flows, with Playwright. Every new feature gets exploratory sessions. There are two environments, development and staging, and every automated run resets the data first. Short, specific, and agreed by the team. Part twelve of this track covers writing strategies at senior and staff level.
- unit tests by developers for every money rule
- API tests in CI on every pull request
- UI end-to-end: main flows only, Playwright
- manual: exploratory sessions on every new feature
- environments: dev, staging
- data: reset before each run
The plan
Most test plans have the same sections. Scope: what is in and what is out. Approach: which techniques and types of testing. Environment and test data. Risks and how each is covered. Entry criteria and exit criteria. Schedule and people. And deliverables, like the test cases and the final report. Standards such as IEEE eight two nine and ISO two nine one one nine give long templates. In practice, the best plans are short and actually read.
- scope: in and out approach: techniques, types
- environment and test data
- risks and how we cover them
- entry criteria
- exit criteria
- schedule and people
- deliverables: cases, report
- IEEE 829 / ISO 29119 give
- templates; keep it short
Scope and risk
Scope and risk go together. Say release one point four adds the flat five coupon and fixes rounding. In scope: both changes, plus regression of the cart and orders, because money flows through them. Out of scope: search, which did not change and only gets a smoke check, and the admin pages. The top risks: wrong totals, which cost money, and coupons interacting with free shipping. Saying what is out of scope is as important as what is in.
- in scope new FLAT5 coupon (PRICE-4) rounding fix (PRICE-6) regression: cart, orders
- out of scope search (unchanged, smoke) admin pages
- top risks wrong totals → money coupon + shipping clash
Entry criteria
Entry criteria say when testing can usefully start. The build is on staging, the smoke test passes, the unit tests are green, the requirements for the new coupon are agreed, and test data and accounts are ready. They protect the testers' time. If a build arrives and smoke fails, the criteria give you a clear reason to send it back instead of quietly losing two days.
- build deployed to staging
- smoke test passes
- unit tests green in CI
- requirements for FLAT5 agreed and frozen
- test data and accounts ready
- not met? say so early, do not test a broken build
Exit criteria
Exit criteria say when testing is done, agreed before testing starts so done is not a feeling. For example: every high priority case has run, at least ninety five percent of planned cases passed, there are no open critical or major bugs and the minor ones were reviewed, every in scope requirement has at least one passing case, the regression suite is green, and the summary report is sent. Meeting them does not mean zero bugs. It means the agreed risk level was reached.
- all high-priority cases run
- 95% of planned cases passed
- no open critical or major bugs; minors reviewed
- every in-scope requirement has at least one passing case (traceability)
- regression suite green
- test summary report sent
Traceability
Traceability links requirements to test cases, results and bugs, in both directions. Forward, it answers: is every requirement tested, and how did it go? Backward, it answers: why does this case exist? Here, order two has one case and an open bug, B seven. In a test plan, traceability is how you prove the exit criterion that every in scope requirement has a passing case. Tools like Jira with a test plugin build this table for you.
req cases run bugs PRICE-4 TC-10,11 2/2 - PRICE-6 TC-08,17 2/2 - PRICE-9 TC-12..14 3/3 - CART-2 TC-01..05 5/5 - ORD-2 TC-20 1/1 B-7 forward: is every req tested? backward: why does TC-17 exist?
Metrics
Metrics should help decisions, not decorate slides. Progress: cases run out of planned. Pass rate. Open bugs by severity. Requirement coverage from the traceability table. Defects found per area, which shows where to look harder. And after the release, escaped defects, the bugs customers found. Avoid vanity numbers like the number of test cases written. A thousand weak cases are worse than a hundred good ones.
- progress: cases run / planned
- pass rate: passed / run
- open bugs by severity
- requirement coverage
- defects found per area (where to look harder)
- escaped defects after release
- avoid: "number of test cases" as a goal
The report
At the end, a short test summary report supports the go or no go decision. Fifty eight of sixty cases run, fifty five passed. One major bug open, B seven, stock not reduced, plus two minor ones. What was not tested and why. The main risk in business words: we would oversell stock. And a recommendation: no go until B seven is fixed and re tested. The tester recommends. The product owner decides, with the facts in front of them.
- run 58/60, passed 55
- open: 1 major (B-7 stock), 2 minor
- not tested: admin pages (out of scope)
- risk: B-7 oversells stock
- recommendation: no-go until B-7 is fixed and re-tested
- (decision: product owner)
Agile plans
Agile teams rarely write long documents, but the thinking is the same. A one page plan per sprint on the team wiki: the stories in scope and their risks, the approach for each, a definition of done that includes tests and automation, and the environments, data and owners. Many agile teams use the testing quadrants to choose test types: tests that face the business or the technology, and tests that support the team or critique the product.
- per sprint, on the wiki: stories in scope + risks test approach per story definition of done includes tests and automation environments, data, owners
- test quadrants help choose types: business vs tech, support team vs critique
Common mistakes
Plans that nobody uses share the same mistakes. Forty pages nobody reads. No out of scope section, so everyone assumes everything was tested. Exit criteria invented after testing ends. Risks listed but not linked to any test. Last release's plan copied with a new date. Metrics nobody acts on. And claims like a hundred percent tested, which no honest tester makes.
- a 40-page plan nobody reads
- no out-of-scope section
- exit criteria decided after testing ends
- risks listed but not covered
- copying last release's plan
- metrics nobody acts on
- "100% tested" claims
Say it like this
In the interview, say: a test strategy is the long lived approach, the levels, types, tools and automation a team uses. A test plan applies it to one release: scope in and out, approach, environments and data, risks, entry and exit criteria, schedule and owners. I keep plans short and risk based, track coverage with traceability, and finish with a summary report that supports a go or no go decision.
- "A strategy is the long-lived
- approach: levels, types, tools, automation. A plan applies it
- to one release: scope in and out, approach, environments, data, risks, entry and exit
- criteria, schedule, owners.
- I keep it short, risk-based, with traceability and a summary report at the end."