DEVELOPMENT WORKBOOK
Software testing prompts
Work through 14 software testing tasks. Open a brief to see its worked example, customise the variables and copy the completed prompt.
← All categoriesTest a tiered delivery fee Intermediate
Exercise the exact threshold where the fee changes.
Recommended tools: OpenAI Codex or Claude Code
Complete prompt
Design executable checks on local synthetic fixtures for {{project}}. Exercise the exact threshold where the fee changes.
Use this case: {{scenario}}. Clarify any missing policy before choosing defaults. Deliver a fixture table, assertions and a test-run recipe. Cover one ordinary case and one boundary; label unexecuted checks honestly.
Acceptance criterion: {{criterion}} Explain how a reviewer can independently check it.Expected output
A fixture table, assertions and a test-run recipe. 99.99 incurs the fee; 100.00 does not.
Worked example
Input: free delivery starts at GHS 100. Passing result: 99.99 incurs the fee; 100.00 does not.
Common mistakes
- Treating the normal path as sufficient without checking this case: free delivery starts at GHS 100.
- Reporting a pass without evidence for the acceptance criterion.
Follow-up prompts
- Construct a contrasting case in which this result should not hold: 99.99 incurs the fee; 100.00 does not.
- For “Test a tiered delivery fee”, show the smallest evidence a second reviewer would need before sign-off.
Check a leap-day enrolment rule Intermediate
Define expected behaviour for a date present only in leap years.
Recommended tools: OpenAI Codex or Claude Code
Complete prompt
Design executable checks on local synthetic fixtures for {{project}}. Define expected behaviour for a date present only in leap years.
Use this case: {{scenario}}. Clarify any missing policy before choosing defaults. Deliver a fixture table, assertions and a test-run recipe. Cover one ordinary case and one boundary; label unexecuted checks honestly.
Acceptance criterion: {{criterion}} Explain how a reviewer can independently check it.Expected output
A fixture table, assertions and a test-run recipe. Non-leap years use the documented anniversary rule rather than an invalid date.
Worked example
Input: course anniversary is 29 February. Passing result: Non-leap years use the documented anniversary rule rather than an invalid date.
Common mistakes
- Treating the normal path as sufficient without checking this case: course anniversary is 29 February.
- Reporting a pass without evidence for the acceptance criterion.
Follow-up prompts
- Construct a contrasting case in which this result should not hold: Non-leap years use the documented anniversary rule rather than an invalid date.
- For “Check a leap-day enrolment rule”, show the smallest evidence a second reviewer would need before sign-off.
Validate keyboard-only checkout Intermediate
Prove the final action is reachable without a pointer.
Recommended tools: OpenAI Codex or Claude Code
Complete prompt
Design executable checks on local synthetic fixtures for {{project}}. Prove the final action is reachable without a pointer.
Use this case: {{scenario}}. Clarify any missing policy before choosing defaults. Deliver a fixture table, assertions and a test-run recipe. Cover one ordinary case and one boundary; label unexecuted checks honestly.
Acceptance criterion: {{criterion}} Explain how a reviewer can independently check it.Expected output
A fixture table, assertions and a test-run recipe. Tab order reaches confirm and returns correctly from address editing.
Worked example
Input: checkout has a collapsible address section. Passing result: Tab order reaches confirm and returns correctly from address editing.
Common mistakes
- Treating the normal path as sufficient without checking this case: checkout has a collapsible address section.
- Reporting a pass without evidence for the acceptance criterion.
Follow-up prompts
- Construct a contrasting case in which this result should not hold: Tab order reaches confirm and returns correctly from address editing.
- For “Validate keyboard-only checkout”, show the smallest evidence a second reviewer would need before sign-off.
Test undo after a list reorder Intermediate
Undo by stable identity rather than visual index.
Recommended tools: OpenAI Codex or Claude Code
Complete prompt
Design executable checks on local synthetic fixtures for {{project}}. Undo by stable identity rather than visual index.
Use this case: {{scenario}}. Clarify any missing policy before choosing defaults. Deliver a fixture table, assertions and a test-run recipe. Cover one ordinary case and one boundary; label unexecuted checks honestly.
Acceptance criterion: {{criterion}} Explain how a reviewer can independently check it.Expected output
A fixture table, assertions and a test-run recipe. Undo restores B without altering another item.
Worked example
Input: remove item B then sort remaining items. Passing result: Undo restores B without altering another item.
Common mistakes
- Treating the normal path as sufficient without checking this case: remove item B then sort remaining items.
- Reporting a pass without evidence for the acceptance criterion.
Follow-up prompts
- Construct a contrasting case in which this result should not hold: Undo restores B without altering another item.
- For “Test undo after a list reorder”, show the smallest evidence a second reviewer would need before sign-off.
Check invoice PDF content Intermediate
Assert document meaning rather than fragile pixel positions.
Recommended tools: OpenAI Codex or Claude Code
Complete prompt
Design executable checks on local synthetic fixtures for {{project}}. Assert document meaning rather than fragile pixel positions.
Use this case: {{scenario}}. Clarify any missing policy before choosing defaults. Deliver a fixture table, assertions and a test-run recipe. Cover one ordinary case and one boundary; label unexecuted checks honestly.
Acceptance criterion: {{criterion}} Explain how a reviewer can independently check it.Expected output
A fixture table, assertions and a test-run recipe. Extracted text contains the last line item and payable total once.
Worked example
Input: invoice spans two pages. Passing result: Extracted text contains the last line item and payable total once.
Common mistakes
- Treating the normal path as sufficient without checking this case: invoice spans two pages.
- Reporting a pass without evidence for the acceptance criterion.
Follow-up prompts
- Construct a contrasting case in which this result should not hold: Extracted text contains the last line item and payable total once.
- For “Check invoice PDF content”, show the smallest evidence a second reviewer would need before sign-off.
Verify draft schema upgrades Intermediate
Keep older locally saved drafts usable after a new release.
Recommended tools: OpenAI Codex or Claude Code
Complete prompt
Design executable checks on local synthetic fixtures for {{project}}. Keep older locally saved drafts usable after a new release.
Use this case: {{scenario}}. Clarify any missing policy before choosing defaults. Deliver a fixture table, assertions and a test-run recipe. Cover one ordinary case and one boundary; label unexecuted checks honestly.
Acceptance criterion: {{criterion}} Explain how a reviewer can independently check it.Expected output
A fixture table, assertions and a test-run recipe. The upgraded draft retains old values and requests only the missing district.
Worked example
Input: v1 draft lacks district field. Passing result: The upgraded draft retains old values and requests only the missing district.
Common mistakes
- Treating the normal path as sufficient without checking this case: v1 draft lacks district field.
- Reporting a pass without evidence for the acceptance criterion.
Follow-up prompts
- Construct a contrasting case in which this result should not hold: The upgraded draft retains old values and requests only the missing district.
- For “Verify draft schema upgrades”, show the smallest evidence a second reviewer would need before sign-off.
Check bilingual label coverage Intermediate
Detect missing translated keys and harmful fallbacks.
Recommended tools: OpenAI Codex or Claude Code
Complete prompt
Design executable checks on local synthetic fixtures for {{project}}. Detect missing translated keys and harmful fallbacks.
Use this case: {{scenario}}. Clarify any missing policy before choosing defaults. Deliver a fixture table, assertions and a test-run recipe. Cover one ordinary case and one boundary; label unexecuted checks honestly.
Acceptance criterion: {{criterion}} Explain how a reviewer can independently check it.Expected output
A fixture table, assertions and a test-run recipe. The report flags the missing key and confirms a readable fallback.
Worked example
Input: submit label absent in language B. Passing result: The report flags the missing key and confirms a readable fallback.
Common mistakes
- Treating the normal path as sufficient without checking this case: submit label absent in language B.
- Reporting a pass without evidence for the acceptance criterion.
Follow-up prompts
- Construct a contrasting case in which this result should not hold: The report flags the missing key and confirms a readable fallback.
- For “Check bilingual label coverage”, show the smallest evidence a second reviewer would need before sign-off.
Test partial batch acceptance Intermediate
Ensure one rejected row cannot conceal accepted rows.
Recommended tools: OpenAI Codex or Claude Code
Complete prompt
Design executable checks on local synthetic fixtures for {{project}}. Ensure one rejected row cannot conceal accepted rows.
Use this case: {{scenario}}. Clarify any missing policy before choosing defaults. Deliver a fixture table, assertions and a test-run recipe. Cover one ordinary case and one boundary; label unexecuted checks honestly.
Acceptance criterion: {{criterion}} Explain how a reviewer can independently check it.Expected output
A fixture table, assertions and a test-run recipe. Four committed records and one labelled rejection are reported.
Worked example
Input: five-row import with invalid row three. Passing result: Four committed records and one labelled rejection are reported.
Common mistakes
- Treating the normal path as sufficient without checking this case: five-row import with invalid row three.
- Reporting a pass without evidence for the acceptance criterion.
Follow-up prompts
- Construct a contrasting case in which this result should not hold: Four committed records and one labelled rejection are reported.
- For “Test partial batch acceptance”, show the smallest evidence a second reviewer would need before sign-off.
Validate a recurring shift roster Intermediate
Check local weekdays across month boundaries.
Recommended tools: OpenAI Codex or Claude Code
Complete prompt
Design executable checks on local synthetic fixtures for {{project}}. Check local weekdays across month boundaries.
Use this case: {{scenario}}. Clarify any missing policy before choosing defaults. Deliver a fixture table, assertions and a test-run recipe. Cover one ordinary case and one boundary; label unexecuted checks honestly.
Acceptance criterion: {{criterion}} Explain how a reviewer can independently check it.Expected output
A fixture table, assertions and a test-run recipe. The next occurrence is still Friday with the planned local start time.
Worked example
Input: Friday shift repeats into a new month. Passing result: The next occurrence is still Friday with the planned local start time.
Common mistakes
- Treating the normal path as sufficient without checking this case: Friday shift repeats into a new month.
- Reporting a pass without evidence for the acceptance criterion.
Follow-up prompts
- Construct a contrasting case in which this result should not hold: The next occurrence is still Friday with the planned local start time.
- For “Validate a recurring shift roster”, show the smallest evidence a second reviewer would need before sign-off.
Test interrupted attachment save Intermediate
Keep draft metadata consistent when storage fails.
Recommended tools: OpenAI Codex or Claude Code
Complete prompt
Design executable checks on local synthetic fixtures for {{project}}. Keep draft metadata consistent when storage fails.
Use this case: {{scenario}}. Clarify any missing policy before choosing defaults. Deliver a fixture table, assertions and a test-run recipe. Cover one ordinary case and one boundary; label unexecuted checks honestly.
Acceptance criterion: {{criterion}} Explain how a reviewer can independently check it.Expected output
A fixture table, assertions and a test-run recipe. The record shows a recoverable missing attachment, not a broken success state.
Worked example
Input: image write fails after title saved. Passing result: The record shows a recoverable missing attachment, not a broken success state.
Common mistakes
- Treating the normal path as sufficient without checking this case: image write fails after title saved.
- Reporting a pass without evidence for the acceptance criterion.
Follow-up prompts
- Construct a contrasting case in which this result should not hold: The record shows a recoverable missing attachment, not a broken success state.
- For “Test interrupted attachment save”, show the smallest evidence a second reviewer would need before sign-off.
Check inclusive range filters Intermediate
Exercise items exactly on both ends of a range.
Recommended tools: OpenAI Codex or Claude Code
Complete prompt
Design executable checks on local synthetic fixtures for {{project}}. Exercise items exactly on both ends of a range.
Use this case: {{scenario}}. Clarify any missing policy before choosing defaults. Deliver a fixture table, assertions and a test-run recipe. Cover one ordinary case and one boundary; label unexecuted checks honestly.
Acceptance criterion: {{criterion}} Explain how a reviewer can independently check it.Expected output
A fixture table, assertions and a test-run recipe. Items at both 10 and 20 appear; 20.01 does not.
Worked example
Input: price range GHS 10 to 20. Passing result: Items at both 10 and 20 appear; 20.01 does not.
Common mistakes
- Treating the normal path as sufficient without checking this case: price range GHS 10 to 20.
- Reporting a pass without evidence for the acceptance criterion.
Follow-up prompts
- Construct a contrasting case in which this result should not hold: Items at both 10 and 20 appear; 20.01 does not.
- For “Check inclusive range filters”, show the smallest evidence a second reviewer would need before sign-off.
Verify pagination after deletion Intermediate
Handle removal of the last item on the final page.
Recommended tools: OpenAI Codex or Claude Code
Complete prompt
Design executable checks on local synthetic fixtures for {{project}}. Handle removal of the last item on the final page.
Use this case: {{scenario}}. Clarify any missing policy before choosing defaults. Deliver a fixture table, assertions and a test-run recipe. Cover one ordinary case and one boundary; label unexecuted checks honestly.
Acceptance criterion: {{criterion}} Explain how a reviewer can independently check it.Expected output
A fixture table, assertions and a test-run recipe. After deletion the user sees page three rather than a stranded empty page.
Worked example
Input: page four contains just one record. Passing result: After deletion the user sees page three rather than a stranded empty page.
Common mistakes
- Treating the normal path as sufficient without checking this case: page four contains just one record.
- Reporting a pass without evidence for the acceptance criterion.
Follow-up prompts
- Construct a contrasting case in which this result should not hold: After deletion the user sees page three rather than a stranded empty page.
- For “Verify pagination after deletion”, show the smallest evidence a second reviewer would need before sign-off.
Test assistive status announcements Intermediate
Announce completed work once without moving focus.
Recommended tools: OpenAI Codex or Claude Code
Complete prompt
Design executable checks on local synthetic fixtures for {{project}}. Announce completed work once without moving focus.
Use this case: {{scenario}}. Clarify any missing policy before choosing defaults. Deliver a fixture table, assertions and a test-run recipe. Cover one ordinary case and one boundary; label unexecuted checks honestly.
Acceptance criterion: {{criterion}} Explain how a reviewer can independently check it.Expected output
A fixture table, assertions and a test-run recipe. A status message is available and focus stays on the current input.
Worked example
Input: background export becomes ready. Passing result: A status message is available and focus stays on the current input.
Common mistakes
- Treating the normal path as sufficient without checking this case: background export becomes ready.
- Reporting a pass without evidence for the acceptance criterion.
Follow-up prompts
- Construct a contrasting case in which this result should not hold: A status message is available and focus stays on the current input.
- For “Test assistive status announcements”, show the smallest evidence a second reviewer would need before sign-off.
Compare tax invoice invariants Intermediate
Check conservation of totals across random synthetic baskets.
Recommended tools: OpenAI Codex or Claude Code
Complete prompt
Design executable checks on local synthetic fixtures for {{project}}. Check conservation of totals across random synthetic baskets.
Use this case: {{scenario}}. Clarify any missing policy before choosing defaults. Deliver a fixture table, assertions and a test-run recipe. Cover one ordinary case and one boundary; label unexecuted checks honestly.
Acceptance criterion: {{criterion}} Explain how a reviewer can independently check it.Expected output
A fixture table, assertions and a test-run recipe. Net plus documented taxes equals payable amount under the stated rounding rule.
Worked example
Input: basket includes discounted and exempt lines. Passing result: Net plus documented taxes equals payable amount under the stated rounding rule.
Common mistakes
- Treating the normal path as sufficient without checking this case: basket includes discounted and exempt lines.
- Reporting a pass without evidence for the acceptance criterion.
Follow-up prompts
- Construct a contrasting case in which this result should not hold: Net plus documented taxes equals payable amount under the stated rounding rule.
- For “Compare tax invoice invariants”, show the smallest evidence a second reviewer would need before sign-off.