Builds stakeholder-readable scripted manual test cases from a feature spec in four formats: a step-table (preconditions / steps / expected result / actual / pass-fail / notes) for spreadsheet review, a Gherkin Given/When/Then format for BDD-aware teams, a business-language UAT script with acceptance-criteria mapping and contractual sign-off (references/uat-format.md), and a one-line-per-item execution checklist for smoke / on-call / bug-bash / compliance sweeps (references/checklist-format.md). Each script is self-contained (no implicit team knowledge), single-scenario (one happy + N edge per script), and includes the data setup the tester needs without being a developer. Use when a feature can't be (or shouldn't be) fully automated and a human tester needs an executable script or checklist - UAT sign-off rounds, regression baselines, certification testing, deploy smoke checklists, exploratory follow-up scripts.
94
88%
Does it follow best practices?
Impact
95%
0.98xAverage score across 10 eval scenarios
High
Do not use without reviewing
tests/TC-88-payroll-run.md is the case we run before every payroll release. It
is thirty-four steps long and it covers, in one pass, an ordinary monthly run
plus a mid-month joiner, a leaver, an employee with a court-ordered deduction,
and a bonus payment.
Last month it failed at step 19. It took two days to work out what had actually broken, because step 19 reads a figure produced back at step 9, and nobody could establish whether the deduction set up at step 12 had been applied at all. In the end the defect was in the leaver calculation, which is a completely different part of the product from the step that reported the failure.
The case also cannot be picked up halfway. A tester who only has an hour cannot run the bonus part, because the bonus steps sit on top of a pay run committed twenty steps earlier. And two testers cannot work on it at the same time.
We want the same coverage arranged so that one red result points at one behaviour, and so that any part of it can be run on its own, in any order, by someone who has not run the others.
Produce one markdown document at exactly tests/payroll-run-scripts.md
containing:
Out of scope: automating any of this, and changing how payroll calculates anything.
Extract the following files before beginning.
=============== FILE: tests/TC-88-payroll-run.md ===============
Preconditions: payroll is set up.
=============== FILE: tests/payroll-test-data.md ===============
Environment: https://payroll-uat.harborpay.example
Tester login: qa.payroll@harborpay.example (role: Payroll Administrator).
A Payroll Approver login qa.approver@harborpay.example is required to
commit a run; the Administrator role cannot commit on its own.
HARBOR-UK)| Ref | Name | Situation |
|---|---|---|
| E-1001 | Priya Nair | Salaried, 3,400.00 GBP/month, unchanged for a year |
| E-1002 | Owen Fletcher | Started 14 March 2026, salaried 2,800.00 GBP/month |
| E-1003 | Dana Whitmore | Leaving 21 March 2026, 6.5 days holiday accrued |
| E-1004 | Sam Okafor | Court order GARN-77, 15% of net, effective 1 March 2026 |
| E-1005 | Lena Fischer | Sales, 1,000.00 GBP bonus approved for March |
| Period | State |
|---|---|
| 2026-01 | Committed - locked, cannot be reopened |
| 2026-02 | Committed - locked, cannot be reopened |
| 2026-03 | Open |
| 2026-04 | Open |
| 2026-05 | Open |
A period can be committed exactly once. Committing 2026-03 makes it
permanently unavailable for another run. Support can clone the company into
a fresh sandbox (HARBOR-UK-<yourname>) on request, which restores all five
employees and reopens 2026-03; the clone takes about ten minutes.
| Ref | Expected gross | Expected note |
|---|---|---|
| E-1001 | 3,400.00 | full month |
| E-1002 | 1,625.81 | 18 of 31 days |
| E-1003 | 2,910.00 | includes 6.5 days holiday accrual |
| E-1004 | 2,200.00 | deduction applied to net, not gross |
| E-1005 | 3,100.00 | 2,100.00 salary + 1,000.00 bonus |