Acceptance and "done": testing, sign off and what counts as a bug
TL;DR
Difficulty: Intermediate
"Done" is a list you agree before the build, not a feeling at the end.
- Write acceptance criteria per feature, in plain language, before it is built.
- Your own people test on a staging system with invented data, never real patients, and they need time booked for it.
- A bug breaks what was agreed or what any competent developer would do; a change request asks for something new. Agree that definition in the contract.
- Severity sets the speed of a fix. Sign off only with no open critical or major issues, in writing, listing what is still open.
- Sign off in stages tied to payments, and ask for a defect period: after sign off, the contract decides what you can still demand.
The developer emails: "Milestone two is ready for your acceptance." Most owners click around, see something that looks finished and say yes, without knowing what that yes commits them to. This chapter shows how to define done before the build, test it properly, tell a bug from a change request, and sign off in a way that still protects you afterwards.
The question nobody asks until launch week
Orla owns Lee Valley Physio, three physiotherapy clinics in Cork: Douglas, Ballincollig and Blackpool. She has commissioned her first bespoke software, an online booking system with a patient portal, card payments for patients paying online, reminders by email and text, and an export for her accountant. The brief is written, the contract is signed, the code is mostly built. And then the developer emails: "Milestone two is ready for your acceptance."
Orla's first thought is the one most owners have. Ready for my what? She can click around. It looks finished. But she has no idea what she is agreeing to if she says yes, what she can still ask for if she finds something next month, or whether the thing she spotted on Tuesday is a bug the supplier fixes for free or a change she pays for.
This chapter answers exactly that: when is software finished, who decides, and what can you still demand after you sign. The short version is that "done" should be a list you agreed before the build, checked by the people who will use the system, with a signature that means something specific. Everything below is how to get there, with Lee Valley Physio as the worked example throughout.
"Done" is a list you agree before the build, not a feeling at the end
Most arguments about whether software is finished are really arguments about what was promised. If the only description of the booking system is "patients can book online", then the supplier thinks it is done when a patient can book, and Orla thinks it is done when patients can book, pay, reschedule, get a reminder and never end up double booked. Both are being reasonable. Neither can prove it.
The fix is acceptance criteria: short, testable statements of what the software must do, written and agreed before anyone builds the feature. Each one describes a situation, an action and an outcome you can check with your own eyes. Agile teams have a name for the overall bar, the Definition of Done, which the Scrum Guide describes as "a formal description of the state of the Increment when it meets the quality measures required for the product"1. You do not need to adopt Scrum to borrow the idea. You only need the list, and you need it in writing.
Writing these criteria is a conversation between you, the developer and whoever will test, and behaviour driven development is the method built around that conversation. If your brief already has acceptance examples, as chapter two on writing a brief recommends, you are most of the way there.
Example: the late cancellation rule, written so anyone can check it
Lee Valley Physio's policy is simple to say: a patient who has paid online and cancels less than 24 hours before the appointment pays a €20 cancellation fee. Said like that, it hides a good few questions, four at least. Here is the rule as Orla and the developer agreed it, in plain language.
- Given a patient who paid online for an appointment at 10am on Thursday, when she cancels in the portal at 9am on Wednesday (25 hours before), then she is refunded in full and the slot reopens.
- Given the same appointment, when she cancels at 11am on Wednesday (23 hours before), then the portal tells her the €20 fee applies before she confirms, €20 is kept, the rest is refunded and the slot reopens.
- Given a patient booked by reception who pays at the desk on the day (no online payment), when he cancels late, then no fee is charged online and reception sees a note to follow up.
- Given a cancellation made by reception rather than by the patient, when the clinic cancels, then the patient is always refunded in full.
Four lines, and every one of them can be tested by someone who has never seen a line of code. Notice that the third and fourth lines are decisions Orla would not have thought about until a patient complained. That is the value of writing the criteria first: the questions surface while they still cost little to answer.
Acceptance testing is your test, not the developer's
A good developer tests constantly. On my own projects I work test first, which means the automated test for a feature is written before the feature itself, and every release goes through a test gate before it reaches anyone. (The test driven development chapter explains how that works.) But those are the developer's tests. They prove the code does what the developer understood. Acceptance testing proves something different: that the software does what your business needs.
The International Software Testing Qualifications Board (ISTQB), whose syllabus is the common reference for professional testers, puts it this way: acceptance testing focuses on validation and on demonstrating readiness for deployment, and ideally it should be performed by the intended users2. The same syllabus lists its main forms: user acceptance testing (UAT), operational acceptance testing, contractual and regulatory acceptance testing, and alpha and beta testing2. For a business like Orla's, user acceptance testing is the one that matters most, with a little operational testing (does the export reach the accountant, do the reminders go out at night) on top.
So three questions need answers before testing starts. Who tests? The people who will use it every day, not only the owner. With what? Realistic data on a separate test copy of the system, usually called a staging environment, never the live system. For how long? Long enough to run every scenario twice: once to find problems, once to confirm the fixes.
Example: who tests at Lee Valley Physio, and for how long
Orla picks four testers, one for each kind of user.
| Tester | Role | Tests | Time over two weeks |
|---|---|---|---|
| Orla | Owner | Payments, cancellations, reports | 6 hours |
| Aoife | Reception, Ballincollig | Phone bookings, rescheduling, patients who pay at the desk | 8 hours |
| Cian | Physiotherapist, Douglas | His diary, patient notes in the portal | 3 hours |
| Siobhán | External accountant | The monthly export | 2 hours |
That is 19 hours of staff time across two weeks, booked into diaries in advance so it does not get squeezed out by a busy clinic day. Two friendly patients also try the portal from their own phones in the second week, which is the beta test in miniature. Orla blocks the dates in the project plan before the milestone arrives, because the most common reason acceptance drags on is not bugs. It is testers who were never given the time.
Test with realistic data, never with real patients
The temptation is to load a copy of the real patient list so the test "feels real". Do not. Information about someone's health is special category data under Article 9 of the General Data Protection Regulation (GDPR), which prohibits processing it unless one of a short list of conditions applies3. A staging system with a looser setup than your live one is exactly where you do not want real health records. Invented patients test the software just as well, and some situations, like a patient with no mobile number, are easier to set up on purpose than to find in real data.
Payments are the same. Card payment providers give you a test mode for exactly this. Stripe's documentation, for example, describes a sandbox where test card numbers simulate successful payments, declines, refunds, disputes and 3D Secure authentication without moving any money, and it warns that its agreement prohibits testing in live mode with real card details4. Whichever provider your developer uses, ask for the test mode and a short list of the test cards that matter to your scenarios.
Example: the test data pack Orla asks for
Before testing starts, Orla asks the developer for a test data pack on the staging system at staging.leevalleyphysio.example. It contains:
- 40 invented patients, spread across the three clinics, with obviously fake names so nobody mistakes them for real people.
- At least one patient who pays online, one who pays at the desk and needs a receipt for their health insurer, one patient who attends two clinics, and one with an email address but no mobile number.
- Diaries for four invented physiotherapists, two of whom work at more than one clinic.
- The payment provider in test mode, with a card that succeeds, one that is declined, and one that asks for 3D Secure.
- Text messages routed to the testers' own phones, so nobody else receives a reminder.
It takes the developer under a day to set up. It saves Orla the question she would otherwise have had to answer later: who saw our patients' records on a test server?
The acceptance plan: five scenarios with a pass condition each
An acceptance plan does not need to be long. It needs to cover the journeys that would hurt most if they failed, written so that two different testers would reach the same verdict. If you have mapped your critical path, the journeys that must never break, start there.
Each scenario has three parts: who runs it, the steps, and a pass condition that leaves no room for opinion. "It works" is not a pass condition. "The patient receives a text within one minute that shows the correct time and clinic" is.
Example: the five scenarios Orla's testers run
| # | Scenario | Tester | Passes when |
|---|---|---|---|
| 1 | A new patient books an initial assessment at Blackpool online and pays €65 by card | Orla | Payment shows in the provider's test dashboard, the slot disappears for everyone else, and a confirmation email and text arrive within one minute showing the correct date, time and clinic |
| 2 | The same patient reschedules to the following Tuesday in the portal | Orla, then a beta patient | The old slot reopens, the new one is held, no second payment is taken, and the reminder 24 hours before shows the new time |
| 3 | A patient who paid online cancels 23 hours before | Orla | The €20 fee is shown before confirming, €20 is kept, €45 is refunded, and the slot reopens (the rule from the earlier example) |
| 4 | Aoife books a patient by phone at Ballincollig who will pay at the desk | Aoife | No online payment is requested, a receipt for the patient's health insurer can be printed after the visit, and Cian sees the booking in his diary |
| 5 | Siobhán exports October's payments for all three clinics | Siobhán | The file imports into her accounts without edits, and the total matches the payment provider's payouts to the cent |
Each tester runs their scenarios in week one and logs every problem in one shared list, with the scenario number, what they did, what they expected and what happened. That last pair, expected against actual, is the part a developer needs most; ISTQB lists it as a core part of any defect report, alongside severity and priority2. Week two is for retesting fixes and running all five scenarios again from the start, because a fix in one place can break something in another.
Bug or change request: one question decides
Sooner or later a tester reports something and the supplier replies "that is a change request". Sometimes the supplier is right. Sometimes it is a bug being renamed so it can be billed. You need a definition you agreed in advance, not one you argue about at the time.
Here is the definition that holds up. A bug (testers call it a defect) is when the software does not do what was agreed: it breaks an acceptance criterion, contradicts the brief, or fails in a way no competent professional would accept, such as losing data, crashing, showing one patient's details to another or charging the wrong amount. A change request is when the software does what was agreed, and you now want something different or something that was never agreed. Even ISTQB notes that a reported problem may turn out to be a real defect or something else, such as a change request, and that sorting one from the other is part of handling every report2.
The grey zone is the things nobody wrote down. For those, ask one question: would a competent developer have done this without being told? Showing appointment times in Irish time in a Cork clinic's booking system: yes, obviously. Letting patients pick their favourite physiotherapist: no, that is a feature. The written agreement matters for the rest. My own terms for development work, for instance, say that changes to the brief may affect cost and timelines and need written approval5, which is exactly why the brief and the acceptance criteria have to be precise. The chapter on pricing models covers how change requests should then be priced.
Example: three issues Orla reports, classified
Issue 7: the reminder shows the wrong time. Aoife books a test patient for 10am on a Thursday in April. The reminder text says 9am. The system stores times in Coordinated Universal Time (UTC) and forgets to convert to Irish summer time when it writes the text. This breaks scenario 2 ("the reminder shows the new time") and would send real patients to the clinic an hour early. Bug. The supplier fixes it at no cost, and Orla asks for a test that checks a reminder on each side of the clock change.
Issue 11: patients cannot choose their physiotherapist. Cian wants patients to pick him by name when they book. The brief listed this under "will not have in this phase", and no acceptance criterion mentions it. The software does what was agreed. Change request. The supplier quotes it, Orla approves it in writing for the next phase, and it does not hold up the sign off.
Issue 14: the export will not import. Siobhán's accounts software rejects the file. The dates are written month first, the American way, so 3 October appears as 10/03 and her software reads it as 10 March. The brief said only "a CSV export of payments". Did it break an agreed criterion? Scenario 5 says the file "imports into her accounts without edits", and that criterion was agreed. Bug, for the date format. But Siobhán also asks for the columns in the exact order of her software's import template, with her own account codes. That was never agreed and goes beyond what a competent developer would guess. Change request, for the mapping. One report, two answers, and nobody had to raise their voice, because the criterion was written down.
Severity says how bad, priority says what comes first
Not every bug is equal. A payment page that takes everyone's money twice and a typo on the privacy page are both bugs, and they deserve very different speeds. Two terms keep this straight. Severity is the degree of impact, how much damage the problem does. Priority is the order in which things get fixed. ISTQB treats them as two separate fields in every defect report2, and they usually move together, but not always: a small error on the page every new patient sees may be low severity and high priority.
Agree a short severity scale before testing, with a target response time (how quickly someone acknowledges and starts on it) and a target fix time for each level. Response and fix are different promises. A supplier can always respond within an hour. Nobody can promise to fix every critical problem within an hour.
Example: the severity table Orla agreed
The times below are the ones Orla and her supplier agreed for this invented project. They are an illustration, not a standard: agree your own, and price them, because faster response costs more.
| Level | What it means at Lee Valley Physio | Example | Response | Target fix |
|---|---|---|---|---|
| S1 Critical | Patients cannot book or pay, money is wrong, or data is exposed | Payment taken twice | 1 business hour | Same business day |
| S2 Major | A core journey is broken but there is a workaround | Reminder shows the wrong time (issue 7) | 4 business hours | 2 business days |
| S3 Minor | Something is wrong but nobody is harmed | Export date format (issue 14) | 1 business day | Next planned release |
| S4 Cosmetic | Looks wrong, works fine | Clinic name misspelt in a footer | 2 business days | When convenient |
Then the table becomes the rule for sign off: no open S1 or S2 issues, and every open S3 or S4 issue listed with an agreed fix date. That one sentence turns a vague "is it ready?" into a question with a yes or no answer.
Sign off is a decision with consequences
Signing off, or "acceptance", is the moment you confirm in writing that the delivered work meets what was agreed. In most contracts several things hang off that moment. Payment for the milestone usually falls due. Any defect period starts counting. And the burden often shifts: before sign off, the supplier has to show the work is complete; after it, you may have to show that something was wrong all along.
That is why a sign off should never be an email that says "looks great, thanks". It should say what was tested, what was found, and what is still open. My own development terms make testing and sign off part of the deal: the client tests the functionality before launch and gives written sign off, and if the client waives testing, responsibility for problems after launch passes to the client5. That is not unusual, and it is fair. The person who knows how the clinic works is the person best placed to say the software fits it.
Example: the sign off note Orla sends
Milestone 2 (payments and cancellations) accepted on 14 March. Tested by Orla, Aoife, Cian and Siobhán against scenarios 1 to 5 in the acceptance plan, run twice. Issue 7 fixed and retested. Accepted subject to issue 14 (export date format, S3) being fixed by 28 March. Issue 11 is a change request for phase two and is not part of this acceptance. No open S1 or S2 issues.
Five lines. It records what was checked, names the open issue with a date, and states plainly that issue 11 is outside this acceptance, so it cannot come back later as "you signed it off". If anything turns out to be wrong with issue 14, Orla has written down that she knew about it and did not accept it as it was.
What the law adds in Ireland
This section is general information, not legal advice. If a dispute is in the air, talk to a solicitor.
For a contract to supply a service where the supplier is acting in the course of a business, the Sale of Goods and Supply of Services Act 1980 implies terms that the supplier "has the necessary skill to render the service" and "will supply the service with due skill, care and diligence"6. Orla is buying as a business, so this is the rule that sits underneath her contract. Due skill, care and diligence is a promise about how the work is done, not a guarantee of a perfect result. Software with no protection against two receptionists booking the same slot at the same moment may well fall short of it. Software with a rare bug that a careful developer could not reasonably have foreseen may not.
Irish law has no formal acceptance step for services like the German one you may have heard of. What signing off means is mostly what your contract says it means. Some contracts say acceptance is conclusive evidence that the work conforms. Some cap what you can claim after it. Some say the software is deemed accepted if you use it live or stay silent for ten days. Read that clause twice before you sign the contract, not when the milestone arrives.
Time matters too. Under the Statute of Limitations 1957, actions founded on simple contract cannot be brought after six years from the date on which the cause of action accrued7. That is a long outer limit, but it is a limit on going to court, not a promise that the supplier will fix things for six years. For that you need a clause, which is the next section. If you are weighing up suppliers outside Ireland, the true cost of outsourcing development covers how recourse changes across borders.
Example: what Orla can still ask for in month four
In July, four months after go live, two receptionists book the last slot of the day at Blackpool within the same second, and two patients turn up for one appointment. Nobody found it in acceptance testing, because nobody tested two bookings at exactly the same time.
Orla's position depends on three things. First, is it a defect? Preventing double bookings is the core job of a booking system, so this is not a new feature. Second, what does the contract say? If there is a defect period that is still running, the supplier fixes it under that clause and the conversation is short. Third, if there is no such clause, or it has expired, her remaining argument is that a competent developer would have prevented simultaneous double bookings, which is a due skill, care and diligence argument. It is a fair argument, but it is a negotiation, and possibly a solicitor's letter, rather than a line in a support ticket. The difference between those two conversations is one paragraph in the contract.
A defect period is the clause worth asking for
A defect period (often called a warranty period) is a contract term in which the supplier agrees to fix defects found within a set time after acceptance, at no extra charge. Typical lengths are 30, 60 or 90 days, sometimes longer for large systems. It is not required by law, many suppliers do not include one by default, and it is not free: a supplier who carries the risk of fixing problems for three months will price that in. Ask for it anyway, and compare it across proposals.
A good defect period clause answers five questions. How long does it last, and from when (each milestone's acceptance, or go live)? What does it cover (defects against the agreed criteria, not changes)? What is excluded (changes made by someone else, hosting outages outside the supplier's control, problems caused by third party services)? How fast are fixes made (point to the severity table)? And what happens after it ends (a support agreement, a retainer, or work quoted as it comes)?
Example: the clause in Lee Valley Physio's contract
Orla's invented supplier proposes, and she accepts, a clause along these lines:
For 60 days after go live, the supplier will fix at no charge any defect, meaning any failure of the software to meet the acceptance criteria agreed in writing, reported in the shared issue list with steps to reproduce. Response and fix times follow the severity table in Schedule 2. Excluded: changes requested by the client, changes to the code made by anyone other than the supplier, and outages of third party services such as the payment provider or the text message gateway. After 60 days, fixes are provided under the support agreement in Schedule 3.
With that clause, July's double booking (if it had surfaced within the first 60 days) would have been a support ticket, not a dispute. Outside it, it becomes the support agreement or a negotiation. Either way, Orla knows before she signs which of the two she is buying.
Sign off in stages, not once at the end
One big acceptance at the end of a six month project is the riskiest way to buy software. By then a misunderstanding from month one is built into everything that came after, and fixing it costs far more. Staged acceptance breaks the project into milestones, each delivering something usable, each tested and signed off before the next begins, and each tied to a payment. The chapter on estimates explains why milestones that deliver working software are also the best protection against a slipping timeline.
The final acceptance is then not a first look. It is a full run of every scenario from every milestone, to confirm that later work has not broken earlier work.
Example: four milestones, four sign offs
Lee Valley Physio's project is split into four milestones. The payment shares are the ones Orla agreed for this invented project, with a deposit of 10% at the start.
| Milestone | What is tested | Scenarios | Payment on sign off |
|---|---|---|---|
| 1 Booking and diaries | Online and phone booking, three clinics, physiotherapist diaries | 4, plus booking part of 1 | 20% |
| 2 Payments and cancellations | Card payments, refunds, the late cancellation rule | 1, 3 | 25% |
| 3 Reminders and portal | Email and text reminders, rescheduling, the patient portal | 2 | 25% |
| 4 Export and go live | Accounts export, full rerun of all five scenarios, go live | 5, then 1 to 5 | 20% |
The shares add up to 100%: 10% deposit, then 20%, 25%, 25% and 20%. At no point has Orla paid for more than one milestone she has not yet seen working. If the relationship went wrong after milestone two, she would have tested, accepted and paid for working booking, payments and cancellations, and the chapter on who owns the code explains how to make sure that what she paid for is hers to take elsewhere.
Questions to ask before you sign the contract
Acceptance is won or lost in the contract, months before the first milestone arrives. These are the questions to put to every supplier, and the answers tell you a great deal about how the project will go.
- Who writes the acceptance criteria, and when? (You want: together, before each feature is built.)
- Will there be a staging environment I can test on, separate from the live system?
- Who prepares the test data, and does it avoid real personal data?
- How long is the acceptance window for each milestone, and what happens if I find a critical problem in it?
- What counts as acceptance: my written sign off, or also silence or live use? After how many days?
- How do you tell a bug from a change request, and can we write that definition into the contract?
- Is there a defect period after go live? How long, what does it cover, and what does it exclude?
- What are the response and fix times for each severity level, during and after the defect period?
Red flags: a supplier who will not write criteria down ("we'll know it when we see it"), no staging environment, an acceptance window of two or three days for a large milestone, "deemed acceptance" on first live use, and a habit of calling every reported problem a change request.
Example: two answers to the same question
Orla asks two suppliers the same question: "What happens if we find a problem after we have signed off?"
The first replies: "Don't worry, we always look after our clients." It sounds warm. It commits to nothing: no time limit, no definition of a problem, no speed.
The second replies: "Defects against the agreed criteria are fixed free for 60 days after go live, at the speeds in the severity table. After that, fixes go through the support agreement at the hourly rate in the proposal. Changes are quoted separately." It sounds less friendly. It is the answer that protects her, because every part of it can be checked.
Conclusion: done is a document, and the signature means something
Software is finished when it meets criteria you agreed before it was built, checked by the people who will use it, with realistic data, on a system that is not live. Write the criteria first. Give your testers real time. Agree in advance what a bug is, what a change request is and how fast each severity gets fixed. Sign off in stages, in writing, listing what is still open. And read the acceptance and defect clauses in the contract before you sign it, because after sign off, what you can still demand depends far more on those paragraphs than on how reasonable everyone feels.
Next in the series, judging software quality when you cannot read code looks at the evidence you can ask for every month once the system is live.