Quality planning and acceptance testing for projects
How do you prove that project work is good enough, and who gets to decide? Too many projects answer that question at the very end, when everyone is tired and the launch date is close. The result is an argument about opinions. A better approach is to plan quality at the start, test against criteria agreed in advance, and sign off against a written record. This post shows you how, step by step, with a worked example you can copy.
What quality means on a project
Quality means fit for the need. It is measured against criteria that were agreed before the work started. It is not an opinion formed at the end, because by then people tend to defend the work they have already done.
A criterion has to be written so that a test can fail it. If nothing can fail, nothing has been promised. "The website should be fast" cannot fail. "Every page loads in under three seconds on a standard broadband connection" can. Good enough is a number, a standard, or a yes or no. It is never just a good feeling about the work.
If you write requirements as user stories, our post on how to write user stories and acceptance criteria shows the Given, When, Then format for writing criteria a test can fail.
What goes into a quality plan
A quality plan is a short list, not a binder. It needs five things:
- What must be right. These are the acceptance criteria.
- The standard or the measure that each criterion is judged against.
- Who checks each one, and when.
- How defects are recorded and how they are fixed.
- The pass rule that decides whether the whole thing is accepted.
Agree the plan with the customer before the build, not after. If the customer sees the criteria only at the end, you will hear "that is not what I meant" at the worst possible moment.
Prevention first, inspection last
Inspection is the last net, not the first. Peer review, checklists and early tests each catch a mistake while it is still cheap. A second pair of eyes on a design costs minutes. The same mistake found in the finished product costs days, and rework means a late project.
The same thinking runs through everyday business quality control; see quality control for a small business for the shop floor version.
Grade every defect on three levels
Not every defect is equal, and treating them equally leads to either panic or complacency. Agree three grades in advance, so nobody argues about them under pressure.
- Critical. It stops use, or it risks safety.
- Major. A key feature is wrong.
- Minor. It is cosmetic. The product still does its job, and a minor can be logged and fixed in a later release.
The acceptance test, step by step
An acceptance test is where the customer or user proves that the product meets the criteria. The builders do not mark their own homework, because the people who will use the product know best what it must do. These are the steps:
- Write the criteria so that a test can fail each one, and agree them with the customer before the build.
- Write the pass rule first. For example, at least 95% of tests pass first time and no critical or major defect is left open. The rule is a choice for your project, and yours may differ, but it must exist before the test.
- Run the tests and record every failure with its grade.
- Fix the defects the team agrees to fix.
- Retest the failed items.
- Apply the rule. Accept or reject, and no moving the goalposts.
- Sign off. The sponsor or the customer signs a record that names the criteria met, backed by the test report.
A worked example
Gearóid is testing a new online ordering system for a small group of cafés. There are 60 test cases. The pass rule was agreed at the start: at least 95% pass and no critical or major defect open.
- 54 tests pass first time. 54 divided by 60 is 0.90, so 90%.
- The 6 failures are graded: 3 minor, 2 major and 1 critical. Check: 3 plus 2 plus 1 is 6, and 54 plus 6 is 60.
- Apply the rule. 90% is below 95%, and a critical defect is open. The system is not accepted.
- The team fixes the 6 failures and retests them. 5 now pass and 1 minor remains.
- Total passes: 54 plus 5 is 59 out of 60. 59 divided by 60 is 0.9833, about 98.3%.
- Apply the rule again. 98.3% is above 95%, and only a minor is open. The system is accepted, with the minor logged for a later release.
Notice that nobody had to debate whether 90% felt good enough. The rule was agreed in advance and the numbers answered the question. A short delay to fix a critical defect is a small price compared with a failed launch.
Common mistakes to avoid
- Criteria no test could fail. Words like "easy", "modern" and "reliable" mean nothing until they have a number.
- A pass rule set after the results. That is bending the rule to fit the answer.
- Inspecting only at the end. By then defects are expensive and the pressure to accept is huge.
- Signing over a critical defect. A signature should mean the criteria were met, not that people were tired.
What this means for you
Before your next project starts, write five acceptance criteria that a test could fail, set the pass rule on the same page, and agree both with whoever will sign. A sign-off is then a fact on paper, not a feeling. For the wider setup of scope and governance, see starting a project: charter, scope and governance. This method is taught in the project quality module of Strategic Projects, Talent and Transformation, inside the Strategic Management programme.
Frequently asked questions
These are the questions people ask most when they set up acceptance testing for the first time.
Questions people ask
- Who should run the acceptance test?
- The customer or the end user, not the team that built the product. Builders tend to test what they expect to work, while users test what they actually need. The builders support the test and fix what fails.
- When should the pass rule be written?
- Before the test, and ideally before the build, agreed with the customer. A rule set after seeing the results can be bent to fit the answer, which defeats the purpose of having an independent test at all.
- What is the difference between a critical, major and minor defect?
- A critical defect stops use or risks safety. A major defect means a key feature is wrong. A minor defect is cosmetic and the product still works. Agree these grades in advance so nobody argues under pressure.
- Can a project be accepted with defects still open?
- Yes, if the pass rule allows it. A common rule accepts a project with only minor defects open, which are logged and fixed in a later release. Critical and major defects normally block sign-off until they are fixed.