Test Completion and Closure

Test completion is the last activity of the test process. It happens at a milestone — a release, the end of an iteration or of a test level — and turns test execution into results the team can use later: a decision for every open defect, testware that is archived or handed over, a test environment left in an agreed state, lessons learned and a test completion report. Older syllabi and many teams call it test closure or test cycle closure; ISTQB CTFL v4.0 calls it test completion.

Example: a checkout team ships release 3.4 on Monday. On Tuesday the tester moves the two unfixed defects into the product backlog, adds the new API tests to the regression suite, removes temporary admin accounts from staging, holds a short lessons-learned discussion and sends the completion report to the product owner, the development lead and the support lead.

Why it matters

Without completion, much of what testing produced is lost. Unfixed defects stay "open" with nobody responsible until a customer reports them. Test data and scripts sit in personal folders, so the next release rebuilds its regression tests from scratch. Temporary accounts and copies of personal data stay in test environments, which is a security and privacy risk.

For the tester, completion makes the work visible and reusable. A clear report shows what was tested, what was not and which risks remain, so stakeholders decide on the release knowing what they accept. Lessons learned that become actions with owners let the team find problems earlier next time.

When test completion happens

CTFL v4.0 places test completion at project milestones: a release, the end of an iteration, or the completion of a test level such as system testing. Agile teams usually do a light completion every sprint and a fuller one for each release; a hotfix needs only a small one.

The usual trigger is that the exit criteria in the test plan have been evaluated. Testing can also stop earlier: when time or budget runs out, CTFL v4.0 accepts ending testing if the stakeholders have reviewed and accepted the risk of going live without further testing, and a project can be cancelled. Completion then matters even more, because the report must say plainly what was not done. A temporary pause is different: that is a suspension of testing, not its completion.

The five completion tasks

CTFL v4.0 lists five tasks for test completion (older syllabi called them test closure activities), and ISO/IEC/IEEE 29119-2 describes a test completion process with the same core: archive the test assets, clean up the test environment, identify lessons learned and report. Each task answers one question.

  • Unresolved defects — what happens to them? Each one gets an owner and a recorded decision, usually from the product owner: deferred to a later release, which makes it a change request or a product backlog item and puts it on the known-issues list; closed as won't fix, a real defect the business accepts; or rejected, because it turned out not to be a defect.
  • Testware — what is worth keeping? Test cases, automated tests, test data and its scripts, environment configuration and session notes that will be useful later are archived or handed over; the tests of removed features are retired.
  • Test environment — what state do we leave it in? Shut it down or reset it to the state agreed with its owners: a known baseline, kept for hotfix testing, or released to another team. Remove temporary accounts and access, and delete copies of personal data.
  • Lessons learned — what do we change next time? Analyse what slowed testing, which defects were found late or escaped to production, and how the actual effort compared with the estimate. Each finding becomes an improvement action with an owner.
  • Test completion report — what do stakeholders need to know? Testing against the plan, deviations, defects not fixed, unmitigated risks, metrics and lessons learned, sent to the stakeholders. The lesson on test reporting covers its contents; completion is when it is written.
Test completion step by step: from the milestone through open defects, testware, the environment and lessons learned to the completion report and the handover. Conceptual model
  1. 1Milestone reachedRelease, end of a sprint or test level; exit criteria evaluated, or a recorded decision to stopTrigger
  2. 2Settle open defectsOwner and decision for each: deferred to the backlog, won't fix or rejected
  3. 3Archive or hand over testwareKeep what is reusable; retire what is obsolete
    at the same time
    • 4Reset the test environmentAgreed state; temporary accounts and personal data removed
  4. 5Identify lessons learnedEach finding becomes an action with an owner
  5. 6Write and send the completion reportAgainst the plan: deviations, open defects, residual risks
  6. 7Hand overKnown issues to support, smoke checks to operations, regression suite to maintenance

Then:Into the next cycle: the archived testware and the improvement actions are its starting point

Typical order: the tasks often overlap, and the handover is agreed with the receiving teams before the release.

Try it: Markdown to PDF

Handover to operations, support and maintenance

CTFL v4.0 says that testware may be handed over to the appropriate teams. After a release these are usually operations, support and whoever maintains the product. A handover is done when the receiving team can use what it gets without asking the tester what it means, so agree it with them before the release.

  • Support: the known-issues list — each open defect in plain words, who is affected, the workaround and the backlog reference.
  • Operations: the post-deployment smoke checks and the signals to watch after the release, such as the payment failure rate.
  • Maintenance: the regression suite with the new tests and a test for every escaped defect, the test data scripts and the traceability from requirements to tests.
  • Everyone: the completion report and where the archived testware is stored.

Try it: Regression Scenario Generator Try it: Requirements → Test Cases

Worked example: closing release 3.4 of a checkout

A food-delivery app releases version 3.4: wallet payments are added, a new coupon screen replaces the old one and cash on delivery is removed. Exit criteria: every high-risk requirement tested, no open Blocker or Critical defect, the regression suite passing. 186 of 192 planned test cases were executed; the product owner descoped 6 low-risk wallet cases because the wallet provider's sandbox was down for two days, so the high-risk criterion was still met.

Note two details in the record below: the 6 descoped cases appear as a deviation with their residual risk, which the product owner accepted in writing, and every line has an owner or a destination.

Test completion record: release 3.4 (checkout)

Trigger: go decision after the exit criteria were evaluated
Execution: 186 of 192 test cases; 6 low-risk wallet cases descoped
  (wallet sandbox down for 2 days), residual risk accepted in writing
  by the product owner
Defects:
- DEF-481 (Major) Discount shown twice after the coupon is re-applied;
  moved to PB-902, workaround: remove the coupon and apply it again
- DEF-487 (Minor) Receipt e-mail shows the date in the wrong format; moved to PB-903
Testware:
- 38 new API tests merged into the regression suite
- Test data script tagged release-3.4 and archived
- 6 cash-on-delivery tests retired (feature removed)
Environment: staging reset to baseline; 4 temporary admin accounts removed
Lessons learned:
- 2 days lost to the sandbox outage; action: book the sandbox in the test plan
  (owner: QA lead)
- DEF-455 escaped from release 3.3; action: regression test added (owner: tester)
Report: sent to the product owner, development lead and support lead
Handover:
- Support: known issues DEF-481 and DEF-487 with the workaround
- Operations: smoke checks; watch the payment failure rate for 48 hours

Common mistakes

  • Skipping completion because the release is out and the next sprint has started.
  • Leaving unfixed defects open with no decision and no owner.
  • Archiving everything, obsolete tests included, so nobody can reuse the archive — or archiving nothing outside personal folders.
  • Writing lessons learned as complaints ("the environment was bad") without an action, an owner and a date.
  • Leaving temporary accounts, access rights and copies of personal data in the test environment.
  • Handing over with a link sent on the last day, without agreeing what the receiving team needs.

The QA perspective

Completion is short and routine when it is planned. Put its tasks in the test plan and in the release checklist so they have time reserved, and start the known-issues list and the handover notes during execution, while the details are fresh.

Work with the product owner on the defect decisions, with the development lead and the DevOps engineer on the environment and the regression suite, and with support and operations on the handover. Record each decision with a name and a date — "the product owner accepted the release with DEF-481 open" — and store the report where the next tester will look first. In the lessons-learned discussion, ask: what should we keep doing, what slowed us down, and which defects should we have found earlier?

Practice exercise

Close the testing of a sprint

Your task

Your team has finished sprint 14 of an online pharmacy app; the status is below. Write the test completion for this sprint, including what the completion report must say about the tests that did not run.

Material
Sprint 14: prescription upload

Planned test cases: 64; executed: 60; not run: 4
  (handwritten prescription recognition: the OCR service was not ready)
Open defects:
- DEF-210 (Major) Upload fails for PDF files larger than 8 MB
- DEF-214 (Minor) Arabic file names shown as question marks in the order history
- DEF-219 (Trivial) Upload button icon misaligned on small screens
New testware: 22 manual test cases, 9 automated API tests,
  12 sample prescription files (3 of them are scans of real prescriptions)
Environment: shared staging; 3 temporary pharmacist accounts created for testing
Notes: 1.5 days lost waiting for the OCR service;
  DEF-201 from sprint 13 was reported by a customer after the release
Steps
  1. Decide what happens to each open defect and who decides.
  2. List the testware to keep, archive or retire.
  3. State the end state of the environment.
  4. Write two lessons learned, each with an action and an owner.
  5. Say who receives what in the handover and what the report says about the 4 tests not run.
Show the model answer
Model answer

Defects: DEF-210 (Major) becomes a backlog item for the product owner to prioritise; until it is fixed, support gives users the workaround "upload files under 8 MB". DEF-214 (Minor) and DEF-219 (Trivial) become backlog items, or the product owner closes DEF-219 as won't fix and records the reason.

Testware: keep the 22 manual test cases, add the 9 API tests and a test for the escaped DEF-201 to the regression suite, and archive the 4 OCR cases as ready to run. Put synthetic files in place of the 3 scans of real prescriptions and delete the scans: personal health data must not be archived.

Environment: remove the 3 temporary pharmacist accounts, delete any uploaded copies of the real prescription scans and leave shared staging at its agreed baseline.

Lessons learned: "1.5 days lost waiting for OCR" → confirm third-party services at sprint planning (owner: QA lead). "DEF-201 escaped" → find the missing test condition and add it (owner: tester).

Handover and report: support gets the known-issues list with every open defect in plain words and the workaround for DEF-210; the developers get the updated regression suite. The report lists the 4 tests not run as a deviation: handwritten prescription recognition is untested, so the report recommends keeping it out of the release until it is tested, unless the product owner accepts that risk in writing.

Frequently asked questions

Is test completion the same as test closure?

For practical purposes, yes. "Test closure" and "test cycle closure" are older or industry names for the same work; ISTQB CTFL v4.0 calls it test completion. Its main output is the test completion report, which older material calls a test summary report and ISO/IEC/IEEE 29119-3 defines as one of the test management documents.

Do agile teams do test completion?

Yes, in smaller and more frequent steps. At the end of a sprint it is mostly moving unresolved defects into the product backlog, keeping the regression suite current and taking part in the Sprint Retrospective, where the Scrum Team plans ways to increase quality and effectiveness. At a release the team adds the completion report, the handover and the environment clean-up. The tasks stay the same; the scale changes.

What if testing stops before the exit criteria are met?

Complete it anyway. The completion report states which exit criteria were not met, which tests did not run and what risk remains, and the stakeholders who accept that risk record their decision. The tester informs and recommends; the release decision belongs to the stakeholders.

References

Practise with Mutqan tools

Convert a list of numbered requirements into traceable test cases with a requirement-to-test matrix.

Test Design

Convert Markdown (.md) files to PDF in your browser: headings, lists, tables, code blocks, quotes, links and images typeset with embedded fonts.

PDF Conversion

Compare requirements or a user story against existing test cases to find untested areas, with Mutqan AI.

Test Optimization AI

Go deeper

Your progress on this topic

Part of the QA Roadmap