QA Interview Hub · Knowledge base · Quizzes · Українська

QA Fundamentals

Test documentation

plans, cases, checklists, reports

What is a test plan and what is in it?

A test plan describes the test objectives and the means and schedule to reach them: what is tested and what is not, how, on what, and when to stop. It covers scope, risks, entry and exit criteria, data, environments and roles. An exit criterion must be measurable, for example zero open blockers and critical defects. The plan is updated when scope or risk changes.

QA Fundamentals · Test documentation

Someone asks for a “test plan”. What do you write so it is a document people use, not a 30-page template?

A team ships “Daily transfer limits” in two weeks. The developer thinks only the limit needs testing, the product owner expects the messages checked too, and the tester plans regression of all transfers. Everyone keeps a different version in their head: what is checked, on what, when to stop. A test plan merges these versions into one. In ISTQB terms it is documentation describing the test objectives and the means and schedule to reach them. Below: what it consists of, why each section exists, and how a weak plan differs from a strong one.

How it works and why. A plan answers questions that would otherwise be decided by accident or on the last day. Each section closes one of them: without “out of scope” everyone assumes everything is checked; without entry and exit criteria testing has neither a start nor an end; without risks checks follow the order of requirements, not of danger. The ISTQB CTFL 4.0 syllabus (section 5.1) lists a similar content: context (scope, objectives, test basis), assumptions and constraints, stakeholders, communication, a risk register, the approach (levels, types, techniques, deliverables, entry and exit criteria, metrics, data and environment needs), budget and schedule. Teams name sections differently, the questions stay the same.

A plan section and the question it closes

Scope, goalswhat we test, what notApproachhow and by what kindsEnvironmentsand dataon what, with what dataEntry and exitwhen to start and stopRiskswhat breaks, what we doPeoplewho owns whatSchedulewhen and how long
Figure 1. Every plan section answers one question. Criteria are highlighted: they are the ones most often written as a formality.

Entry and exit criteria. These are a contract between testing and the rest of the team. Entry says when testing makes sense, exit says when the work is done. An exit criterion must be measurable, otherwise it turns into “time is up”. Example:

EntryExit
The build is deployed to the test environment, a basic transfer works, data is loaded, requirements are approved.Zero open blockers and critical defects, all high-priority cases executed, open medium defects agreed with the product owner.

Worked example: a weak and a strong plan. The weak version takes three lines: “Test the limits. Approach: manual testing. Finish when everything is tested.” Nothing can be verified: neither what “everything” is nor when exactly we finish. A strong one-page plan:

Test plan: release 2.14 "Daily transfer limits"
Version 3, updated 18 Nov, owner: QA lead

1. Scope and objectives
   In: daily and monthly limit, the limit message, the reset
   at 00:00, transfers between the user's own cards.
   Out: currency transfers (coming in 2.15), the limits admin
   panel (separate plan).
   Goal: confirm the limit cannot be bypassed and does not block
   allowed transfers.
2. Approach
   Functional by hand (high-priority cases), limit boundaries via
   API automation, transfer regression from the product strategy.
3. Environment and data
   Staging with a test payment gateway; users with different limits
   are created by an API script.
4. Entry: build deployed, a basic transfer works, data ready.
   Exit: 0 open blockers and criticals, all High cases executed,
   open Medium defects agreed with the product owner.
5. Risks
   Time zone and the day boundary: separate cases for 23:59 and
   00:00. Gateway down: reserve window 19-20 Nov.
6. Roles and schedule
   2 QA, first pass 18-20 Nov, regression 21-22 Nov, report 22 Nov.

Scope and exit: two ways to write it

Typical

Vague

We test the limits. We finish when everything is tested. Risks: possible delays. Nobody knows whether currency is in, or when “everything” is reached.

Better

Verifiable

In scope: daily and monthly limit; out of scope: currency. Exit: 0 blockers and criticals, all High cases executed. The “day boundary” risk has its own cases and a date.

Figure 2. The strong version gives answers that can be checked on the last day, the weak one only states an intention.

Limits and alternatives. A plan does not replace test cases and is not a calendar: it describes the frame, not every check. A big product has a master plan and plans for separate levels (integration, system), each with its own criteria. In Agile a plan shrinks to a page per release or feature, and part of the answers is taken over by the Definition of Ready and Definition of Done. Planning is continuous: when scope or risk changes, the plan changes, so it carries a version, a date and an owner. General rules for all projects live not in the plan but in the test strategy.

Common mistakes.

  • Copy a 30-page template: nobody reads it and the important part drowns among empty sections.
  • Skip “what we do not test”: the customer assumes everything is checked and learns about the gap from users.
  • An exit criterion without a number (“when everything is ready”): the decision to stop becomes an argument.
  • Risks without actions: a list of fears with no answer to what to do when the gateway is down.
  • Write it once and never update it: a week later the plan describes a different release.

Check yourself

The plan’s exit criterion is “all cases executed”. Release is tomorrow, all are executed, two critical defects are open. What is wrong with the criterion?

Answer

It measures activity, not product state. All cases can be executed and the product still not ready. The criterion should include defect state (zero blockers and criticals) and the result of high-priority cases.

Why have an “Out of scope” section if it lists what is not checked?

Answer

It records an agreement: everyone sees that currency or the admin panel stay unchecked and does not count on it. A defect found there is a known risk, not a surprise.

In an interview. Junior: A test plan describes what we test and what not, with which approach, on which environments and data, the entry and exit criteria, risks, roles and schedule. Middle/Senior: I start from the questions: what is in scope, what is out, when we stop. I make exit criteria measurable (zero blockers and criticals, High cases executed), tie risks to concrete cases and dates. In Agile I keep the plan to one page with a version and an owner, and move the general rules into the test strategy.

How does a test strategy differ from a test plan?

A test strategy sets the general rules of testing for a product or company: levels, types, automation, environments, metrics. A test plan applies them to a concrete project or release: scope, schedule, people, risks. The strategy rarely changes, the plan differs every time. The plan does not copy the strategy but refers to it and records each deviation with its reason.

QA Fundamentals · Test documentation

The company has a 12-page test strategy, and every release also gets a test plan. Is that not duplication?

A new QA reads two documents: a wiki page “Test Strategy” (test pyramid, environments, metrics) and “Test Plan: release 2.14”. Half the points sound alike, so the question is whether one is a copy. It is not: they answer different questions and live at different speeds. Interviewers ask about this difference so often that it is worth knowing precisely.

How it works and why. ISTQB describes a chain from general to concrete. A test policy says why the organisation tests and what counts as success. A test strategy sets the general way: levels, types, what is automated, environments, metrics. A test plan applies it to a concrete project or release: scope, schedule, people, risks. The test approach in ISTQB is the implementation of the strategy in a specific project, so the “Approach” section of the plan is the bridge: it refers to the strategy and describes deviations. The levels exist because things change at different speeds: product rules are stable, while dates and people differ every time. One copy of the general rules per product beats twenty copies in twenty plans that drift apart.

From general to concrete

Policywhy we testrarely changesStrategyhow we test the productonce a year or twoPlanwhat, when, by whomevery releaseTest caseswhat exactly we checkevery sprint
Figure 1. The lower the level, the more concrete the document and the more often it changes. The plan is highlighted: it applies the strategy to a release.

Two documents, two questions

Strategy

The general approach for a product or company: levels, automation, environments, severity definitions, metrics. Every newcomer reads it. Changes rarely.

Plan

Application to a release or feature: scope, dates, people, risks, entry and exit criteria, deviations from the strategy with reasons. Changes every time.

Figure 2. Both documents are needed, just at different levels.

Worked example: what lives where. A “Payments” product. A strategy fragment:

Test strategy of the "Payments" product (changes once a year or two)
- Levels: unit (developers), API (QA), UI automation only for key
  paths, manual exploratory testing for new features.
- All payment flows are covered by API-level automation.
- Test data: generated only, no real personal data.
- Environments: dev, staging (copy of the prod configuration), prod
  monitoring only.
- Defects: a blocker in a payment = severity Critical.
- Metrics: defects escaped to prod, regression run time.

And a release plan that builds on it:

Release 2.14 plan (valid until 26 Nov)
Per the strategy: API automation on limit boundaries, data
generated by a script.
For this release: 2 QA, run 18-22 Nov, report 22 Nov.
Deviation from the strategy: no UI automation for the limit, the
screen changes until 20 Nov; covered by a manual checklist.
Extra: a gateway emulator is needed, requested from DevOps by 17 Nov.

A sign the documents are split correctly: the plan does not retell the strategy, it refers to it and lists deviations with a reason. A practical test: take a statement and ask whether it holds beyond this release.

StatementWhere it lives
All payment flows are covered by API automationStrategy
Release 2.14 is tested until 26 Nov, two QAPlan
Data is generated only, no real personal dataStrategy
Release 2.14 needs a gateway emulatorPlan
A blocker in a payment is CriticalStrategy

Limits and alternatives. Small teams often have no separate strategy document: its role is played by a wiki page, a README section or team agreements about the test pyramid and the Definition of Done. That is fine if the general rules are written down somewhere. In practice the word “test plan” often covers both levels, so in an interview it helps to clarify what is being asked. The ISTQB syllabus separates the terms while companies use them more loosely. At the advanced level ISTQB describes strategy types, for example analytical (risk-based) or reactive (exploratory), and one product combines them.

Common mistakes.

  • The plan copies 80% of the strategy: half a year later the rules are changed in one place while plans keep the old version.
  • Dates and names in the strategy: the document is stale by the end of the quarter.
  • No strategy: every plan reinvents the rules and two releases are tested to different standards.
  • A deviation from the strategy with no reason: a month later nobody knows whether it was a decision or an oversight.

Check yourself

A release plan says: “we write automation at the API level and for UI only critical paths”. Is this strategy or plan?

Answer

If it is a general product rule, it belongs to the strategy and the plan only refers to it. If it is a temporary decision for this release (say, the screen is still changing), it is a deviation and goes into the plan with a reason.

Why should a plan state the reason for a deviation from the strategy, not just the deviation?

Answer

Without a reason a deviation looks like an oversight or a new standard. With a reason it is clearly a conscious trade-off for this release and can be dropped when the reason is gone.

In an interview. Junior: A strategy is the general approach to testing at product or company level and it rarely changes. A plan applies the strategy to a release or feature with scope, dates, people and risks. Middle/Senior: I keep the strategy on one page with rules that outlive a release: levels, automation, environments, data, severity definitions. A release plan refers to it and explains every deviation. This way rules change in one place and plans do not drift apart.

What does a good test case consist of?

A good test case consists of a title, preconditions, inputs, steps, expected results and postconditions. It is concrete enough that another person can run it and reach the same result. Data and expectations are written as exact values, not as “a large amount” or “works correctly”. One case checks one result, and its title says what is checked. A priority and a link to the requirement help pick cases for regression.

QA Fundamentals · Test documentation

A colleague ran your test case and marked Pass, while you knew there was a bug there. What is wrong with the case?

The case “Transfer over the limit” meant the amount 10,001 UAH. The steps said “enter a large amount”. A colleague entered 500, got no error and honestly marked Pass. A test case is not a note to yourself but a way to hand a check to another person, or to yourself half a year later. Below: what fields it consists of, which hole each one closes and what a weak and a strong version look like.

How it works and why. In ISTQB a test case is a set of preconditions, inputs, actions (where applicable), expected results and postconditions. ISTQB separately defines a test procedure, a sequence of cases in execution order. The fields are not bureaucracy: each answers a question that every executor would otherwise answer in their own way.

A case field and what breaks without it

ID and titlecannot find it orsee why it existsPreconditionsthe system statecannot be recreatedSteps and dataeach executor goestheir own wayExpectedPass means somethingdifferent to each personPostconditionsthe next case breakson leftoversPriority,requirementorder and coveragestay invisible
Figure 1. Expected result is highlighted: the weak spot of most cases. Without it a case describes actions, not a check.

Worked example: from weak to strong. A weak case (written when “everything is obvious”):

Title:     Check the transfer
Steps:     1. Open the transfer
           2. Enter data
           3. Check that everything works
Expected:  The transfer works correctly

What is wrong here: no preconditions, so the limit and balance are unknown; “enter data” does not say which; “everything works” and “correctly” are read differently by everyone; the title does not say what is checked. The same case, ready to hand to anyone:

ID:          TC-PAY-014
Title:       A transfer that exactly exhausts the daily limit
Preconditions: User is logged in; daily limit 10,000 UAH;
             9,000 UAH already transferred today; balance 5,000 UAH;
             fee 0.5%
Steps:
  1. Open "Transfer to card"
  2. Enter a valid recipient card number
  3. Enter the amount 1,000.00
  4. Confirm the transfer
Expected:    Transfer succeeds; remaining limit 0.00;
             balance 3,995.00 (1,000 + fee 5.00)
Postconditions: Reset the user's limit counter
Priority:    High     Requirement: REQ-LIM-03     Type: positive

Title and expected result

Typical

Check the transfer

Expected: “the transfer works correctly”. It does not say what correct means: which remaining limit, which balance, which message.

Better

A transfer that exactly exhausts the daily limit

Expected: the transfer succeeds, remaining limit 0.00, balance 3,995.00. Every number can be matched with the screen or the database.

Figure 2. The same scenario: the difference is whether the result can be checked without guessing.

Limits and alternatives. ISTQB distinguishes high-level cases (no concrete values, the executor supplies them) and low-level ones (concrete data and expectations). High-level ones are faster to write and live longer but need an experienced executor; low-level ones are repeatable but costlier to maintain. The same content in BDD is written as Given-When-Then: Given is the preconditions, When the steps, Then the expected result. An automated test is a case too, only in code, and the fields turn into setup, actions and assertions. “One case, one check” means one outcome, not one assert: several checks of one outcome (remaining limit and balance) are fine.

Common mistakes.

  • The value “any valid one”: the executor takes the first that comes to mind and the boundary is never checked. Write the data explicitly.
  • Expectations hidden in the steps (“enter the amount and check that all is well”): the result is lost among actions.
  • Two outcomes in one case for no reason: when it fails it is unclear what broke.
  • Postconditions forgotten: the case left the limit exhausted and the next one fails without a defect.

Check yourself

A “Reset password” case has the step “open the email and follow the link”. The email never came and a colleague recorded Fail. Why might that be a wrong result?

Answer

The preconditions do not say that the test user’s mailbox is available and mail works. If the mailbox is down, it is not a reset defect but a blocked case. Preconditions separate “the product is broken” from “the conditions were not there”.

A case “Create an order, pay and cancel” fails at the third step. What does that say about its structure?

Answer

It has several outcomes, so it is unclear what broke and which steps even ran. Three cases with their own preconditions are better, keeping the end-to-end scenario as a separate one on purpose.

In an interview. Junior: A good test case has a clear title, preconditions, short steps with data and a concrete expected result, plus priority and a link to a requirement. Middle/Senior: My criterion: another tester goes through the case without questions and records the same result. So I write data and expectations as numbers, keep preconditions separate, and one case checks one outcome. Where the values do not matter I write a high-level case, where they do, a low-level one.

When test cases and when checklists?

Detailed test cases fit high-risk logic, audit needs and anything to be automated, while a checklist fits stable simple parts and a changing interface. The choice is made per part of the product by risk, how often it changes and who executes it. A case costs more to maintain but does not depend on the executor. If a checklist misses a bug, only that item is expanded into a case.

QA Fundamentals · Test documentation

Requirements change weekly and nobody updates 300 test cases. Should we move to checklists?

One team has 300 detailed cases: half went stale after an interface change, and a failure often means “the case is outdated”, not “a bug”. Another team has only checklists, and a new tester marked everything green without knowing that the limit must be checked exactly at 23:59. Both teams are wrong, in different ways. The choice between a case and a checklist depends on the situation, not on taste.

How it works and why. Detail is a cost paid at writing time and at every product change. It buys three things: the same result from different executors, a trail for audits and a ready specification for automation. A checklist saves time and is flexible but relies on the executor’s knowledge. ISTQB puts checklist-based testing among experience-based techniques: items come from experience, defect data and knowledge of why systems fail, and they usually carry no steps. So the question is always the same: does the detail pay for itself in this very place?

A situation and the most practical format

Complex logicdetailed casesplus a decision tableRequirementschange oftena checklist, detailsrefined laterAudit, regulatorcases andtraceabilityAutomationis planneda case asthe specificationAn experiencedteama checklist ora session charterA new executora case with dataand expected results
Figure 1. These are rules of thumb, not a law: combining both formats in one release is normal.

Worked example: the “Password reset” release. Instead of one format for everything we take it part by part and ask: what is risky here, how often does it change, who will execute it.

PartWhyFormat
One-time link, expiry, reopeningsecurity, exact boundaries, auditcases
Lockout after failed attemptscounters, states, combinationscases + decision table
Password complexity rulesboundaries and value classesboundary cases
Email text, form lookchanges weeklychecklist
Mobile adaptationexperienced executors, a stable partchecklist

The checklist for the “soft” part looks like this:

Checklist: password reset form (mobile and web)
[ ] The email text matches the mockup, the link is clickable
[ ] The new password form is readable on a small screen
[ ] The complexity hint is visible before typing
[ ] After success a message and a sign-in button are shown
[ ] The “Resend email” button is visible and enabled

The risky checks become cases with concrete boundaries, and the documentation does not grow where it would be stale within a week.

The same check in two formats

Checklist

The complexity hint is visible before typing. One line, written in seconds, the executor decides how to check it.

Case

A 7-character password: error “minimum 8”; 8 characters: success. Preconditions, data, expected text. Costlier, but the same for everyone.

Figure 2. Both options are legitimate: the choice depends on risk.

Limits and alternatives. There are in-between forms: a checklist with expected results, high-level cases, an exploratory session charter (goal, time box, what we look for). BDD scenarios keep the case content but in a business-readable form and often run directly as automated tests. A checklist works worse when a newcomer executes it or when coverage must be proven; detailed cases work worse when the interface changes daily. Also do not measure work by the number of cases: it encourages small duplicated ones.

Common mistakes.

  • A checklist for calculations without numbers (“the fee is correct”): the executor checks what they see, not what should be.
  • Detailed cases for an interface that keeps changing: cases age faster than they are run.
  • One format for everything “for consistency”: the critical part lacks detail, the unstable part has too much.
  • No owner: nobody is responsible for keeping either the checklist or the cases current.

Check yourself

A new tester ran the checklist “Check the limits”, all green, but the 23:59 bug was missed. What should change?

Answer

The item is too general. A critical boundary needs a case with a concrete time, data and expected result, or at least a checklist with expected results. The rest of the checklist can stay.

You have 300 cases and half are stale after UI changes. What do you do without throwing everything away?

Answer

Sort by risk: keep and update cases for critical logic, and turn those that only describe the interface into a checklist or delete them as duplicates. This lowers maintenance without losing checks that are really needed.

In an interview. Junior: Checklists are faster, and I use them for stable simple parts and functions that change often. I write detailed cases for complex logic, for scenarios that will be automated and where an audit is needed. Middle/Senior: I decide part by part by risk, change frequency and executor: a risky boundary becomes a case with numbers, an unstable interface stays in a checklist. If a checklist missed a bug, I expand that item into a case instead of moving everything to cases.

What is a traceability matrix?

A traceability matrix links requirements to test cases, execution results and defects in both directions. It shows whether every requirement is covered and helps to assess the impact of changes and to prepare for an audit. It shows requirement coverage, not the quality of the cases or code coverage: a requirement with one weak case still counts as covered.

QA Fundamentals · Test documentation

Developers changed the fee rule. Which tests should be rerun and which requirements are at risk?

On Friday a change lands: the transfer fee is now calculated differently. Somebody asks what it affects. Without links the answer is “well, transfers and balance somewhere” and hours of searching through cases. With links it is a query: requirement REQ-FEE-02 is tied to four cases and two stories. That link is the traceability matrix.

How it works and why. The matrix links a requirement, test cases, execution results and defects. The link goes both ways. Forward (requirement to cases) shows whether every requirement is covered; backward (case to requirement) shows why a case exists and which requirement a defect touched. In ISTQB terms traceability between the test basis and test work products helps to assess coverage, analyse the impact of changes, prepare for audits and make progress reports understandable to stakeholders. The price is simple: links must be maintained, so they have to live where people work every day.

A chain of links and two directions of questions

Requirement REQ-LIM-02forward: is therea test per requirement?Test case TC-PAY-021every run istied to a caseResult: Failedbackward: whichrequirement is hit?Defect BUG-412
Figure 1. A gap is visible at once: a requirement without a case (forward) or a case without a requirement (backward).

Worked example: the matrix before and after. A fragment of the limits matrix. The REQ-LIM-04 row reveals a gap invisible in the list of cases:

RequirementCasesResultDefects
REQ-LIM-01 A transfer above the daily limit is blockedTC-PAY-010, TC-PAY-014Passed—
REQ-LIM-02 The limit resets at 00:00 in the user’s timeTC-PAY-021FailedBUG-412
REQ-LIM-03 The remaining limit is shownTC-PAY-014Passed—
REQ-LIM-04 An admin changes the limitno casesnot covered—

This table gives three answers in a minute: what is not covered (LIM-04), what failed and which requirement it touches (BUG-412 and LIM-02), which cases to repeat if the LIM-01 rule changed (010 and 014). For automation the link is often kept in the test name or tags, for example in Playwright:

test(
  'Transfer exactly at the daily limit',
  { tag: ['@REQ-LIM-01', '@REQ-LIM-03'] },
  async ({ page }) => {
    // ...
  },
);

// npx playwright test --grep @REQ-LIM-03

Where the matrix lives

Typical

A separate table filled once

It was assembled before an audit and forgotten. A month later new cases and requirements are missing and it cannot be trusted.

Better

Links in the tracker and IDs in the name

A story is linked to cases and bugs in Jira (Zephyr, Xray), automated tests carry the ID in the name or tag. The report is built from live links.

Figure 2. A matrix maintained during the work is cheaper than one rebuilt before an inspection.

Limits and alternatives. The matrix shows that a requirement has a case, not that the case is good: a requirement covered by one weak case is “covered” in the matrix. It is also requirements coverage, not code coverage, which is measured separately. For a small Agile team a full matrix at every level is overkill: story acceptance criteria and a story-cases-bugs link are often enough. A full matrix is justified where a regulator or an audit demands it, for example in fintech, and for high-risk requirements.

Common mistakes.

  • Reporting “100% of requirements covered” without looking at case quality: the number soothes but guarantees nothing.
  • Keeping the matrix by hand in a separate file: it drifts from the tracker within a sprint.
  • Requirements without IDs: nothing to hang a link on, the link lives in memory.
  • Never looking backward: cases without a requirement stay orphaned and check obsolete behaviour for years.

Check yourself

The matrix shows every requirement has at least one case. Does that mean the product is well tested?

Answer

No. It speaks about the presence of a link, not about case quality or depth of the check. A requirement with one shallow case is covered only formally. Risk, boundaries and run results still have to be looked at.

What does the link “from a case to a requirement” show that the forward link cannot?

Answer

Backward you see why a case exists and whether it is obsolete: a case without a requirement is an orphan or a gap in requirements. Forward only shows requirements without cases.

In an interview. Junior: A traceability matrix links requirements to test cases, results and defects. It shows whether every requirement is covered and helps assess the impact of changes. Middle/Senior: I keep links where I work: stories, cases in Zephyr or Xray and bugs in Jira, with the requirement ID in a tag for automated tests. I look both ways: requirements without cases and cases without requirements. And I remember the matrix shows requirements coverage, not test quality.

What should be in a test report?

A test report must let readers make a decision: what was tested and on what, how it ended, what stays open and risky, and what is recommended. It goes from the conclusion to the evidence. Defects by severity, blocked cases and untested scope are listed separately, because a pass percentage alone proves nothing. A progress report shows the course of work, a completion report the outcome and residual risks.

QA Fundamentals · Test documentation

A manager asks “Can we release?” and you answer with a 40-row table. What should they hear instead?

On Friday evening testing is done and QA sends a report: 212 rows, coloured charts, percentages. The product manager asks one thing: “So can we release?”. The table has no answer, and the decision is made blindly or postponed. A report exists for a decision, not to show that work was done. Below: what it must contain, how the progress and completion reports differ in ISTQB, and what a report people actually read looks like.

How it works and why. A report reader did not watch the testing and has no time to dig through it. So the report goes from the conclusion to evidence: what was tested and on what, how it ended, what stays open and risky, what we recommend. ISTQB (CTFL 4.0, section 5.3) distinguishes two kinds. A test progress report comes out regularly during the work: the period, progress against the plan, impediments and workarounds, metrics, new and changed risks, what is planned next. A test completion report is prepared at the end of a level, iteration or project: a summary of what was done, deviations from the plan, status against exit criteria, defects, residual risks, lessons.

A report block and the reader’s question

What was testedwhich build, where,when, how muchResulthow many passed,failed, blockedDefectswhat is openand how seriousRisks, gapswhat was not checkedand whyRecommendationrelease or not,under what conditions
Figure 1. The recommendation is highlighted: it is why the report is read. The other blocks back it up.

Worked example: from a table to a decision. A typical weak report: “212 cases executed, 89% passed”. It does not show that among the remaining 11% there is a critical defect and that 15 cases did not run (6 blocked, 9 not executed because the gateway was down). A report of the same run that helps to decide:

Test report: release 2.14 "Daily limits", build 2.14.0-rc2
Environment: staging, 18-20 Nov; manual cases and API automation

Result: 212 cases: 188 passed, 9 failed, 6 blocked,
  9 not executed (the gateway was down on 19 Nov)
Open defects: 1 critical (BUG-412: the limit does not reset
  at 00:00), 2 medium, 5 low
Not tested: currency transfers (moved to 2.15), load
Risk: the day rollover may leave a user without a limit

Recommendation: do not release while BUG-412 is open.
  Conditions for Go: the fix, a rerun of the 6 blocked and 9 not
  executed cases, a check at 23:59 and 00:00.

Two reports about the same run

Typical

A table of numbers

89% passed, a chart by day, 40 rows of cases. The reader decides alone whether 89% is good and does not see the critical defect and the untested part.

Better

A conclusion and evidence

The recommendation comes first: do not release while BUG-412 is open. Then the result, defects by severity, what was not tested, conditions for Go.

Figure 2. The same data, but the second report lets someone decide within a minute.

Limits and alternatives. A report does not make the release decision: QA gives an assessment and a recommendation, and the product owner or management decides. The pass percentage is misleading: 98% may mean the only critical path failed. So defects by severity and the untested scope are placed next to it. In a live Agile process part of the report is replaced by a dashboard with the CI run and Allure or a similar tool, and the summary is written briefly in the release ticket. For progress reports a few lines daily or weekly are enough: what is done, what blocks, what next.

Common mistakes.

  • Starting with numbers and hiding the conclusion at the end: the reader never gets to it.
  • Not saying what was not tested: silence is read as “all is fine”.
  • Counting blocked cases as passed or not mentioning them at all.
  • Confusing a recommendation with a decision: “you must postpone the release” instead of “the risk is this, I recommend that”.

Check yourself

A report shows 98% of cases passed and the author writes “ready for release”. What else is needed before that claim can be accepted?

Answer

Defects by severity (did the critical path fail among the 2%), blocked and unexecuted cases, untested scope and risks. Without this the percentage says nothing about readiness.

How does a progress report differ from a completion report?

Answer

A progress report comes out regularly during testing and shows progress, impediments and the plan for the next period. A completion report is prepared at the end of a level or project: summary, deviations from the plan, status against exit criteria, residual risks and lessons.

In an interview. Junior: In a report I show what was tested and on which build, the results, open defects by severity, risks and what was not tested. And a clear recommendation on the release. Middle/Senior: I write a report from the conclusion to the evidence, because it is read to make a decision. I call out blocked and untested scope separately, and never give a pass percentage without defects by severity. Progress reports are short and regular, the completion report holds deviations from the plan, residual risks and lessons.

How do you prepare test data?

Test data must be sufficient, isolated, reproducible and safe. It covers equivalence classes, boundaries, roles and states, each test has its own, a script creates it, and it holds no real personal data. The most reliable way is for the test to create its data through an API or SQL. A production copy is used only when irreversibly anonymised.

QA Fundamentals · Test documentation

A test passed yesterday and fails today because another test “used up” the test user. Where do you get data?

A shared account “test@test.com” with a balance of 5,000 UAH passed every case on Monday. On Tuesday someone made a transfer, the balance became 4,000 and the limit boundary case fails. There is no product defect, the data broke. Test data is part of every case’s preconditions and is treated like code: created, versioned, cleaned up. Below: where it comes from, what requirements it meets and why “create it inside the test” usually wins.

How it works and why. Good test data has four properties. Sufficient: it covers equivalence classes, boundaries, roles and states (a new user, one with history, blocked, different tariffs). Isolated: each test has its own, so order and parallel runs do not interfere. Reproducible: a script creates it, not hands, so the same state can be obtained at any moment. Safe: it holds no real personal data. ISTQB counts preparing test data as part of test implementation, and its requirements are recorded in the plan.

The life of test data

Createa script, API or SQL,a unique emailUse in the testthe test changes state:balance, limit, statusClean up or reset
Figure 1. When creation is automated the data is fresh every time and the result does not depend on yesterday.

Where data comes from. Four sources, and they are not mutually exclusive:

SourcePlusMinus
Created by the test (API, SQL, factory)isolated, reproducibleneeds an API or database access
A ready set (seed, fixtures)fast, stablegoes stale, tests share it
An anonymised copy of productionrealistic volume and “dirty” datahard to anonymise, a leak risk
Generated synthetic datasafe, any volumemay lack real anomalies

Worked example: from a shared account to own data. For the limit cases we list the users we need. Every row is a state a script creates before the test:

User         Limit    Used         Balance  Purpose
new-user     10,000   0            5,000    a basic transfer
near-limit   10,000   9,000        5,000    limit boundary (case 014)
at-limit     10,000   10,000       5,000    refusal because of the limit
blocked      10,000   0            5,000    blocked user, refusal
big-tariff   50,000   0            80,000   another tariff

Creation looks like a call to a service endpoint of the test environment (an example):

POST /internal/test/users
Content-Type: application/json

{
  "email": "qa+limit-0142@example.test",
  "dailyLimit": 10000,
  "usedToday": 9000,
  "balance": 5000
}

A shared account or own data

Typical

Shared test@test.com

All tests share one state. The result depends on who ran what and when, and a failure has to be investigated like a defect.

Better

A user per test

The test creates a user with the needed state and a unique email. Parallel runs do not interfere and the state is always known.

Figure 2. Removing the dependence on other people’s actions is cheaper than hunting for who spoiled the data.

Data a test has spent

near-limit before the run of case 014
UserLimitUsedBalance
near-limit10 0009 0005 000
near-limit after the run, no reset
UserLimitUsedBalance
near-limit10 00010 0003 995
Figure 3. Case 014 transfers 1,000 with a fee of 5 and uses up the limit. Without a reset (the postcondition) the next run on the same data gets a refusal because of the limit: the data broke, not the product.

Limits and alternatives. A production copy gives realistic volume and shape of data but brings responsibility: masking a name is not enough, because under GDPR pseudonymised data is still personal and anonymisation must be irreversible. So generating data is safer. Time-dependent data (expiry dates, the day boundary) is better set explicitly than waited for. Load tests need large volumes, usually generated by a script. When there is no API to create data, direct SQL or a template restored from a database snapshot helps.

Common mistakes.

  • Using real customer data “only in the test environment”: a personal data leak waiting for its moment.
  • Covering only valid values: empty, boundary, very long ones and special characters stay unchecked.
  • Not cleaning up: the database fills, uniqueness breaks, queries start returning extra rows.
  • Not writing down where the data lives and how to restore it: a month later the whole team is searching.

Check yourself

A limit boundary case fails every other time. There is no defect. What is the likeliest cause and what to change?

Answer

Shared data: another test or person changed the balance or used limit. Each test should create its own user with a known state and a unique email, set up through API or SQL.

Why is a masked production copy (names and emails replaced) not enough to call the data safe?

Answer

Masking a few fields does not make data anonymous: the rest can be matched to identify a person. Pseudonymised data stays personal under GDPR. Generating synthetic data or anonymising irreversibly is safer.

In an interview. Junior: I prepare data for equivalence classes and boundaries, with different types of users. I create it through API or SQL so it is fast and reproducible, and I do not use real personal data. Middle/Senior: Each test creates its own data with a unique identifier and knows its initial state, so parallel runs do not interfere. For production-like volume I take synthetic or irreversibly anonymised data, and I put data needs into the plan and document how to restore them.

Test case vs checklist

A test case is a detailed scenario with preconditions, steps, data and an expected result that anyone can execute. A checklist is a short list of things to check without steps, and its result depends on the executor's experience. A case costs more to write and maintain but is more repeatable and suited to audit and automation. The level of detail is chosen by risk, not applied to everything.

QA Fundamentals · Test documentation

The same “limit works” check is one line in a checklist and a page in a test case. When is the page worth it?

Two people check the transfer limit. The first holds a line “Limits work” and closes it in three minutes. The second writes a one-page case: preconditions, data, steps, expected result. Both can be right, and “which is better” has no answer until it is said who executes, how often it changes and what happens if the check is missed. This lesson looks at the artefacts and their cost; the situations where to choose which are covered separately in “When test cases and when checklists?”.

How it works and why. A test case is a detailed scenario: preconditions, steps, data and an expected result for each step. Anyone can execute it, even a newcomer who does not know the product. A checklist is a short list of what to check without a step-by-step description. It is quick to write and maintain, but the result depends on the executor’s experience. The difference is where the knowledge lives: in a case it is written down, in a checklist it is in the tester’s head. That makes a case costlier to write and maintain, but it wins on executor independence, repeatability and readiness for audit and automation.

CriterionChecklistTest case
Writingminutestens of minutes
Maintaining on a UI changecheapcostly
Dependence on the executorhighlow
Sameness of repeated runslowerhigher
Audit and automationa weak basisa ready basis

The same check in two ways

A checklist line

[ ] Limits work. One line, minimal writing time. What “work” means and which values to use is up to the executor.

A test case

TC-PAY-014: limit 10,000, used 9,000, transfer 1,000.00, remaining 0.00 expected. Takes a page, but the result is the same for anyone.

Figure 1. Both formats are legitimate: the difference is in cost and repeatability.

Worked example: how a checklist “grows up”. The line “Limits work” was closed green and a day-boundary bug reached production. The right reaction is not to rewrite the whole checklist into cases but to expand exactly this item:

Was (checklist): [ ] Limits work

Became (three cases with their own data):
TC-PAY-021  23:59:59, limit used 9,999: a transfer of 1.00 passes
TC-PAY-022  00:00:00, next day: the limit is reset to 10,000
TC-PAY-023  A user in another time zone: reset at 00:00 in their
            local time (REQ-LIM-02)

Rungs of detail

A checklist linea bug slippedinto productionA line with expectationa newcomer executesor proof is neededA high-level caseaudit, automation,exact dataA detailed case
Figure 2. We move up only for a reason: a missed bug, a new executor, an audit or automation.

Limits and alternatives. In ISTQB terms a checklist item is close to a test condition, and a case elaborates it. Checklist-based testing is an experience-based technique, so its quality depends on what the list was built from (experience, defect statistics). Exploratory testing with a charter gives even more freedom and even less repeatability. BDD scenarios give a middle ground: business-readable and executable. An extreme in either direction hurts: detailed steps for every button turn the executor into a mechanical reader, and a checklist with no expected results cannot tell “works” from “seems to work”.

Common mistakes.

  • Counting a checklist as “coverage”: a line does not prove the boundaries were checked, only that someone looked.
  • Writing cases with every UI button: after the first design change most of them are invalid.
  • Moving the whole checklist to cases after one missed bug instead of expanding one item.
  • No expected result in a checklist for calculations: an item “the fee is correct” measures nothing.

Check yourself

A test case is reproducible by anyone and a checklist is faster. Why not write cases for everything?

Answer

Because repeatability has a price: time to write and maintain. For a stable simple or an unstable part of the product it does not pay off and cases age quickly. Detail is needed where there is risk, audit or automation.

A checklist missed a bug. What do you do to prevent a repeat, and what do you not do?

Answer

I expand exactly that item into cases with concrete data and expected results, not rewrite the whole checklist. The other items had no problem and extra detail would only raise the cost.

In an interview. Junior: A test case is a detailed scenario anyone can reproduce. A checklist is a short list of checks, faster but dependent on the executor’s experience. Middle/Senior: For me it is a balance between the cost of documentation and the risk of missing a defect. Critical logic, regulatory requirements and what will be automated I describe as cases, the rest as checklists. When a checklist misses a bug, I expand only the relevant item into cases.

A quality test case

A quality test case is one that a stranger can run and reach the same conclusion. The steps are concrete and atomic, the data is named, the expected result consists of verifiable facts, and the case is self-contained, independent of other cases and linked to a requirement. This is checked by a review through a stranger's eyes before the case is ever run.

QA Fundamentals · Test documentation

Two testers read the same case and record different results. How do you check a case before it runs?

A “Login” case seems clear to whoever wrote it. Another person reads “enter data”, types anything and gets a Pass. The quality of a test case is not about elegance but about whether a stranger can run it and reach the same conclusion. Below: criteria to review a case against, typical “smells” and a rewrite example.

How it works and why. A case is a work product and can be reviewed like code: this is static testing of test documentation, for example a pair review. It helps to read a case through a stranger’s eyes and ask six questions. These criteria grew from what breaks most often: non-reproducibility, order dependence, a vague result and costly maintenance.

A criterion and the review question

Atomicitydoes it check oneoutcome?Independencedoes it not dependon other cases?Concretenessare fields and valuesnamed explicitly?Verifiabilitycan the result bemeasured and matched?Maintainabilityfree of UI triviathat change?Traceabilityis it tied toa requirement?
Figure 1. Verifiability is highlighted: a vague result most often produces different verdicts.

Worked example: rewriting a weak case. The original:

Title:     Login
Steps:     1. Open the page
           2. Enter data
           3. Click the button
Expected:  Works correctly

It breaks almost every criterion: the title does not say what is checked, the steps name neither fields nor values, the expected result measures nothing, there is no link to a requirement. After the review:

ID:          TC-AUTH-007
Title:       Login with a wrong password shows an error
Preconditions: An active user test.user@example.test exists
             with the password Valid-Pass1; no active session
Steps:
  1. Open /login
  2. Enter test.user@example.test in the Email field
  3. Enter Wrong-Pass9 in the Password field
  4. Click "Sign in"
Expected:    The error "Wrong email or password" is shown;
             the user stays on /login; no session is created
Priority:    High     Requirement: REQ-AUTH-02

Now the title describes the scenario, the steps are atomic and concrete (“enter test.user@example.test in the Email field”), and the result consists of verifiable facts: the error text, the page address, the absence of a session. These facts can be matched, and none depends on other cases.

SmellFix
“Enter data”name the field and the value
“Works correctly”what exactly the user sees and what is in the database
Several independent outcomessplit into cases
Coordinates and colour of a buttona logical element name
A case with no requirementadd a link or delete it

A dependent or an independent case

Typical

“Run after TC-11”

The case uses the user created in TC-11. If TC-11 is removed or skipped, this one fails without a defect. The run order becomes part of the case.

Better

Preconditions create what is needed

The case itself demands an active user with a given password. It can be run alone, in any order and in parallel.

Figure 2. Independence changes the maintenance cost: cases can be removed and reordered without a cascade of failures.

Limits and alternatives. “Quality” depends on context: for an experienced team a high-level case without numbers is enough, for regulatory scenarios concrete values and postconditions are needed. A too-detailed case is a problem itself: every design change breaks its text, so interface trivia is better moved into a checklist or an automation element library. Reviewing cases has a cost too, so we focus on risky scenarios. For automated tests the same criteria apply to the test name and assertions.

Common mistakes.

  • Writing a case “for yourself”: the author fills gaps from memory, the executor cannot.
  • Stating the result as “correctly”, “normally”, “as needed”: that is not a result but a judgement.
  • Several unrelated checks in one case: when it fails it is unknown what broke.
  • Not updating a case after a requirement change: it still “passes” but already checks the wrong thing.

Check yourself

The expected result in a case is “the user sees an error”. Is that enough?

Answer

No. It does not say which error, where, whether the user stays on the page and whether a session was created. Each executor will understand it differently. The text, the page address and the system state that can be matched must be given.

A case starts with “first run TC-11”. What happens when TC-11 is changed or deleted, and how to fix it?

Answer

The case will fail without a defect because it depends on someone else’s state. The fix: write the needed state into the preconditions and create it independently so the case can run alone.

In an interview. Junior: A good test case has a clear title, preconditions, atomic steps and a concrete expected result, checks one thing and is linked to a requirement. Middle/Senior: I check a case through a stranger’s eyes: whether two people would judge the result the same way, whether it is independent and does not depend on interface trivia. I record the result as facts that can be matched and move order dependencies into preconditions.

How to estimate testing time: techniques and range

A testing time estimate is a forecast with uncertainty, not a promise, so a range and its assumptions are given. ISTQB CTFL 4.0 names four techniques: ratio-based, extrapolation, Wideband Delphi and three-point estimation. For three-point, the PERT expected value is (minimum + 4 × most likely + maximum) / 6. Retests and data preparation are underestimated most often. When an assumption breaks, the estimate is revisited instead of silently cutting testing.

QA Fundamentals · Documentation

At planning someone asks "how many days for testing". How much of the answer is calculation and how much hope?

A team plans a sprint and QA says "three days" for a task. A week later it turns out the requirements were incomplete, the first retest failed and the environment was down for a day. Three days became eight, and next time the manager no longer trusts QA's numbers. An estimate is needed for the test plan, but it must be built so that it can be explained, not just "felt". This lesson is about estimation techniques; the situation "the manager asks how long it takes" is covered in the situational questions chapter.

How it works and why. An estimate is a forecast with uncertainty, not a promise. ISTQB CTFL 4.0 names four techniques. Ratio-based: take the historical ratio of testing effort to development on similar projects and apply it to the new development. Extrapolation: from data gathered early in the current project (the part already done, the last iterations), forecast the rest. Wideband Delphi: several experts estimate independently, then discuss the differences openly and estimate again; in Agile a close variant is planning poker. Three-point estimate: for each piece of work give a minimum, a most likely and a maximum. All of them answer the same question: what data the number rests on. The more data, the narrower the range.

One number or a range

A guess

"Three days"

No breakdown and no assumptions. When requirements are incomplete the number breaks and the reason is invisible.

An estimate

2–12 days, expected 5

A breakdown into parts, a range and a list of assumptions the result depends on.

Figure 1. A range is not a weakness but honesty: it shows how far the estimate can be trusted.

Example: a three-point estimate. We take the PERT formula (applied to the three-point estimate), where the most likely value has weight 4:

a (min)         = 2 days
m (most likely) = 4 days
b (max)         = 12 days
E = (a + 4m + b) / 6
  = (2 + 16 + 12) / 6 = 5 days
spread ≈ (b - a) / 6 ≈ 1.7

The expected value is 5 days, but the spread shows that 3 and 7 are both realistic. So the manager is told not "five days" but "from two to twelve, we expect five if the requirements are ready by tomorrow and the environment is stable". The assumptions are recorded in the test plan: if one is broken, the estimate is revisited instead of being silently exceeded.

What usually goes into the work: requirements analysis and questions; test design and data preparation; execution; retests after fixes; regression of the affected area; reporting. Retests and data are most often underestimated: one cycle of fixes is rarely the last.

Limits and alternatives. No technique helps if there is no data: in a new domain the first estimate is always rough and is refined when a fact appears (extrapolation after the first day of execution). The "testing to development" ratio becomes wrong if the nature of the work changed (for example a lot of automation or, on the contrary, little new code but a lot of regression). Triangulation, that is comparing two ways (a breakdown into parts and the history of similar tasks), shows whether the estimate is plausible. An estimate must not be a bargain either: "we will do it in two days because the manager wants it" means it is no longer an estimate but a scope cut, and that is discussed directly: what exactly we are not checking.

Typical mistakes.

  • Naming one number with no range and no assumptions.
  • Not adding retests: the estimate covers only the first pass.
  • Estimating only your own testing and forgetting data preparation and waiting for the environment.
  • Adjusting the number to the manager's wish instead of cutting scope.
  • Not comparing the estimate with the fact after the task: without that the next estimate will not get better.

Check yourself

Three estimates in days: 2, 4 and 12. What does the PERT formula give and what must not be told to the manager?

Answer

The expected value (2 + 4·4 + 12) / 6 = 5 days. You must not say only "5 days": the maximum is twelve, so name the range and the assumptions the result depends on.

Two earlier similar tasks in this project took 3 and 5 days. Which technique do you use and how do you check the result?

Answer

Extrapolation from the current project data: about 4 days. I check it with a breakdown into parts: if the sum of the parts differs a lot, I look for what makes the task new. After finishing I compare the fact with the estimate and record the difference.

In an interview. Junior: I estimate testing by splitting the task into analysis, test design, execution, retests and regression, and comparing with how long similar tasks took. Middle/Senior: I give a range with a minimum, a most likely and a maximum, calculate the expected value with PERT and name the assumptions explicitly. For a team estimate I use Wideband Delphi or planning poker, and with history, extrapolation. An estimate is a forecast: when an assumption is broken I revisit it and say so, instead of silently shortening testing.