The same change, two handoffs#
Ready for QA: PR 1423, export limit. Tested locally, works.
That gives QA one fact, the change's name. This gives them a plan:
- Build
1423-4c1e9aaon staging. Exports over 10,000 rows now fail with a message; before, they timed out. - Ran on that build: 0 rows, 1 row, 10,000 rows, 10,001 rows, as an admin.
- Not run: a member account; an export that grows past the limit while running; the German message; the scheduled export, which uses the same function.
- Unchanged on purpose: the API export still has no limit.
The last line prevents a bug report about intended behavior.
Find your own gaps#
A change has more inputs than the one you typed. For the export, write the factors and mark what each run covered:
| Factor | Values | Covered |
|---|---|---|
| Rows | 0, 1, limit, limit + 1, far above | First four |
| Role | admin, member, read-only | admin |
| Entry point | button, schedule, API | button |
| Locale | English, German | English |
| State during the run | still, growing | still |
All combinations would be 5 × 3 × 3 × 2 × 2 = 180. Four were run. Nobody will run 180, and the table lets QA choose. Entry point and role are likely to matter together, because the scheduler runs as a service account. Locale probably affects only the message.
Find callers with a search and not from memory: git grep -n 'exportRows(' 4c1e9aa. A call that the search cannot see, such as a queue consumer in another repository, belongs in the list as "not searched".
State the oracle#
For each case, say how QA knows the result is right. "Works" for an export can mean that a file downloaded, or that it has the right number of rows, or that each amount matches the screen. Give one that can be counted: "the file has 10,000 data rows and one header, and the last order ID is the same as in the table sorted by date."
An expected result taken from the new build's own output cannot fail. Take it from the requirement, the old build or a hand calculation.
What QA hands back#
The same three lists, one step later: what they ran on which build, what they saw, and what they did not run. Separate "failed" from "could not test". A missing test account is a blocker for a case and not a pass.
Worked example#
This example is fictional. QA reads the handoff above and starts with the scheduled export, as a service account. It fails without a message, since the scheduler drops the error text. That was the third item on the developer's own "not run" list. The admin cases are sampled once and not repeated. The decision is whether to ship with the scheduler unfixed, and the release owner makes it knowing that the German message is still unread.
Name the build by commit and tree, as in matching QA to a merge. Return to handing over evidence.