Documentation

How I document testing

Testing is only half the job; the other half is writing it down so other people can act on it. These are the three documents I produce most, shown as structure and judgement rather than pasted in full.

Test plan

Test plan for a school-canteen POS application

Scope, risk tiering, entry and exit criteria for a release

A document I wrote myself for a point-of-sale product I know well. Colleague names in the original are replaced with roles here.

The application sits in school canteens and handles real money: students pay by tapping a card, by cash, or through QRIS and other digital methods. That changes what testing has to cover.

Four characteristics drive the whole plan: traffic spikes at break time, canteen internet is unreliable so offline mode and later sync are mandatory, physical hardware is involved (card reader, thermal printer, barcode scanner), and one canteen may run several cashier devices whose stock must stay consistent.

Document version
v2.0
Testing types
Functional · Regression · UAT · Release
Test window
23 Apr - 5 May 2026
Risk tiers
4

Document structure

  1. 1. Introduction

    Purpose, what the product is, and the characteristics that make testing it unusual

  2. 2. Scope

    Modules in scope with priority - and an explicit out-of-scope list

  3. 3. Strategy and approach

    Test types with owner and timing, risk-based tiering, shift-left practices

  4. 4. Entry and exit criteria

    What must be ready before testing starts, what must be true before release, and when testing is suspended

  5. 5. Environment and tools

    Environments, device matrix, supporting hardware, tooling, and the test data that must exist first

  6. 6. Critical scenarios

    Situations that actually happen in a canteen; skipping any one of them blocks the release

What it shows

Effort follows business risk, not module size

Modules are sorted into four tiers, and each tier gets a different depth of testing. Everything cannot be critical - saying so out loud is what makes the plan usable when time runs short.

  • Tier 1 (transactions, balance, offline and sync): every test case, plus negative, edge, and concurrency cases
  • Tier 2 (stock, sales reports, login, receipt printing): every test case plus the main negative cases
  • Tier 3 (promos, membership, online store): happy path plus two or three negative cases
  • Tier 4 (profile settings, minor display): smoke test only

Exit criteria are numbers, not opinions

Release readiness is written so that it can be checked rather than argued about. The thresholds drop with the tier, which keeps them honest - demanding 100% everywhere would only guarantee the criteria get waived.

  • 100% of Tier 1 (Critical) test cases executed and passed
  • 100% of Tier 2 (High) executed, at least 98% passed
  • At least 95% of Tier 3 (Medium) executed
  • Zero open Critical bugs; zero open High bugs in the transaction and sync modules
  • Remaining open Medium bugs must have a workaround or be deferred with sign-off

Testing can be stopped on purpose

A suspend and resume section names the conditions under which testing pauses and what has to be true to restart. Without it, a QA whose environment is broken keeps producing results that mean nothing.

  • A critical transaction bug (wrong balance, double debit) pauses testing until a hotfix passes ten consecutive successful transactions
  • A payment sandbox down for more than two hours means skipping that test type and continuing elsewhere, not waiting idle

The critical scenarios are the ones that cost money

This section is written from what actually happens at a canteen counter, not from the feature list. Each one is a way the system can take or lose money incorrectly.

  • Card scanned repeatedly in quick succession must never double-debit
  • Connection dropping mid-verification must have defined behaviour - retry or queue, never silence
  • Cancelling before confirmation must leave the balance untouched
  • Wrong PIN three times must block the card according to policy
Test case

Test cases for a login module

Eight scenarios broken into twenty-five traceable cases

Written against the OrangeHRM demo application - the same target as the automation case study.

A login page looks like the smallest possible feature, which is exactly why it is a good test of documentation discipline: it is easy to write three cases and call it done.

Scenarios
8
Test cases
25
Columns
15
Positive / negative
16 / 9
Result
24 passed, 1 failed

Columns used (15)

Scenario IDTest scenarioTest case IDFeatureType of testingTest case namePre-conditionTest stepsDataExpected resultActual resultPriorityStatusEvidenceComment

What it shows

Scenarios group cases, so coverage is traceable

Each scenario ID owns several case IDs. That turns the sheet from a flat checklist into something you can reason about: a scenario states the intent, the cases under it are the ways that intent can be checked, and a gap in coverage becomes visible rather than implied.

  • TS-LOGIN001 - user can reach the login page and it renders correctly
  • TS-LOGIN002 - every UI element on the page: fields, placeholder, layout, hidden password
  • TS-LOGIN004 - the system rejects invalid credentials
  • TS-LOGIN006 - the login button behaves, including preventing duplicate requests
  • TS-LOGIN008 - the page stays consistent across screen sizes

Priority is assigned per case, not per feature

One Critical, nine High, eleven Medium, four Low - all within a single login module. Logging in with valid credentials is Critical; the placeholder text is Low. Rating everything the same would make the column decorative.

Sample entries

TC - LOGIN001PASSED

Accessing the dashboard URL without logging in

Scenario
TS-LOGIN001
Type
Negative
Pre-condition
Not logged in
Steps
Open the dashboard URL
Expected result
Redirected to the login page
Actual result
System redirected to the login page
Priority
High
TC - LOGIN008PASSED

Login with valid credentials

Scenario
TS-LOGIN003
Type
Positive
Pre-condition
User is on the login page
Steps
1. Open the login page 2. Enter a valid username and password 3. Click the login button
Expected result
Login succeeds and the system redirects to the dashboard
Actual result
Logged in to the dashboard without errors
Priority
Critical
TC - LOGIN007FAIL

Password hide/unhide toggle is available

Scenario
TS-LOGIN002
Type
Positive
Steps
1. Open the login page 2. Type a password 3. Click the hide/unhide icon
Expected result
The password can be revealed and hidden again
Actual result
There is no hide/unhide control on the login page
Priority
Low
Bug report

Design-compliance review of a chat interface

Twenty-two findings from comparing an implementation against its design file

An exercise comparing a Figma design against the delivered interface, not defects found in a live product. The value here is the reporting format and the severity judgement, not the bug count.

Design-compliance work is where bug reports usually get sloppy: findings collapse into "does not match the design" with a screenshot attached, and a developer cannot act on that. Every entry here names the element, the expected state, and the actual state separately.

Findings
22
Columns
16
Severity
12 Minor · 9 Medium · 1 Major
Priority
9 High · 11 Medium · 2 Low

Columns used (16)

DateBug IDReported byEnvironmentTitleIssue / descriptionExpected resultActual resultSteps to reproduceTest typeLink evidenceAssigned toSeverityPriorityStatusNotes

What it shows

Severity and priority are separate columns, and they disagree

Severity describes how broken the thing is; priority describes how soon it should be dealt with. They are not the same question, and the split shows in the data: findings rated only Medium severity carry High priority because they are visible on the first screen a user sees. Collapsing the two into one column is the most common flaw in a junior bug report.

A severity scale that is numbered, so it can be sorted

The scale is written "1 Minor", "2 Medium", "3 Major" rather than as bare words. A small thing, but it means a spreadsheet sorts by seriousness instead of alphabetically, which is what you want when the list is long and someone needs to triage it quickly.

Not every finding is cosmetic

Most entries are spacing, colour, and border radius. One is not: a clock reading past the 24-hour range is invalid data displayed as if it were fine, which is a different class of problem from an avatar being slightly oval. Separating those two is the judgement the report is actually demonstrating.

Sample entries

BUG-G1-004Valid

Time format is invalid and does not match the design

Environment
Chrome, Windows 10
Description
The time shown in the status bar is invalid because it exceeds the 24-hour format, and does not match the design, which uses a real-time 00.00-23.59 format
Expected result
Time is shown in a valid 24-hour format (00.00-23.59)
Actual result
Time exceeds the 24-hour limit and does not match the design
Severity
2 Medium
Priority
High
BUG-G1-010Valid

Sender and receiver chat colours do not match the design

Environment
Chrome, Windows 10
Expected result
1. Sender bubble is white 2. Receiver bubble is black
Actual result
1. Sender bubble is yellow 2. Receiver bubble is green
Severity
2 Medium
Priority
High