In brief
Verification answers the question of whether the system was built according to the specification, and validation answers whether the right system was built, meaning one that meets users' needs. Verification runs throughout the project: requirements reviews, unit, integration and system tests. Validation needs users or their representatives and realistic work scenarios. A project needs both, because a system that is flawless against a wrong specification is still the wrong system.
Two definitions, two different questions
The ISTQB Foundation Level syllabus puts it briefly: testing includes verification, which checks whether the system meets specified requirements, and validation, which checks whether it meets the needs of users and other stakeholders in their working environment. For decades the same concepts have been summed up in two questions attributed to Barry Boehm:
- verification: are we building the product right?
- validation: are we building the right product?
The difference is practical, not academic. Verification has a reference point in a document: a requirement, a user story, an acceptance criterion, an interface specification. The result is binary: conformant or not. Validation refers to the business goal and to the people who will use the system. The result can be uncomfortable: everything works according to the specification, and yet a bank branch advisor needs seven screens to open an account that used to take two.
What it looks like in a project
Verification starts before the first line of code exists. A requirements review that catches contradictory commission calculation rules is static verification, and it costs less than any test run later. Next come unit, integration and system tests, each comparing behavior against some description of the expected result.
Validation needs different material: a prototype, a demo after a sprint, user acceptance tests, a pilot release in one branch. It checks whether the process can be completed the way people actually work. That is why validation on data from one invented customer says little: users judge the system on cases they know from daily work, exceptions included.
| Aspect | Verification | Validation |
|---|---|---|
| Question | Does it match the specification? | Does it solve the user's problem? |
| Reference point | Requirements, design, API contract | Business goal, how users work |
| Who does it | Engineers, testers, reviewers | Users, product owner, testers |
| Typical activities | Reviews, static analysis, unit, integration and system tests | Demos, acceptance tests, pilots, usability tests |
| When | Throughout the lifecycle | From prototype to deployment, most intensively before acceptance |
The boundary is not sharp. A requirements review can also be validation if a user representative sits in on it and asks whether the described process makes sense. An acceptance test, in turn, verifies the acceptance criteria and, along the way, validates whether those criteria were well chosen.
When verification matters more
Verification takes the lead where the specification is imposed from outside and is not up for discussion:
- integrations with institutions: the message format for a settlement system, the structure of a report file for a regulator, an e-invoicing system interface. A user will not judge whether a field has the right length. Comparison with the specification will;
- regulated systems: medical device software, automotive controllers, systems that an auditor checks through a requirements traceability matrix. Here the evidence is the link between each requirement, a test and its result;
- contracts between teams: when several teams develop microservices, each must honor the agreed interface. API contract tests automate verification of such agreements.
In such projects missing verification shows up quickly: a rejected file, an unaccepted message, an audit finding.
When validation matters more
Validation decides where the specification is a hypothesis, not a fact:
- new products and processes: an online cash loan, a self-service portal, a mobile app. The requirements describe how the team imagines the customer, not how the customer will behave;
- replacing a system people use every day: a new CRM at a service company or a new claims system at an insurer. The old system has hundreds of habits and workarounds that nobody wrote down, and their absence only surfaces when users start working;
- accessibility: meeting a checklist is verification, but whether a person using a screen reader can get through an application form is shown only by a test with real people.
Missing validation is more dangerous because it gives no signal during the project. All tests are green, the report states conformance to requirements, and the problem appears after deployment as a drop in conversion or an avalanche of calls to the customer service center.
How to plan both kinds of checks
A few simple rules work in practice:
- Every requirement has an acceptance criterion and at least one test. This is the basis of verification and of the audit trail.
- Every increment reaches a user before the team builds the next one. A short demo after a sprint is the cheapest validation.
- Acceptance criteria are created together with the business. Examples written jointly with an analyst and a user representative link verification with validation; more in the article on BDD and acceptance tests.
- The test plan names both goals separately. The “verification” section lists test levels and exit criteria. The “validation” section lists who will check the system's fitness for purpose before acceptance, and on what data.
- Priorities follow from risk. Where an error in the specification costs the most, validation starts earliest. The method is described in the article on risk-based testing.
Both perspectives are part of the tester fundamentals described in the ISTQB Foundation Level syllabus. You can take the exam at our accredited exam center.
Questions and answers
Are user acceptance tests validation or verification?
Mainly validation, because they check whether the system is fit for users' work and ready for deployment. The ISTQB syllabus explicitly assigns acceptance testing an emphasis on validation. At the same time, acceptance tests compare the result with acceptance criteria, so they include an element of verification. That is why it is worth having users write the test cases together with testers, rather than testers alone working from documentation.
Who on the team is responsible for validation?
The product owner or business analyst is responsible for making sure validation happens at all, and users assess the system. Testers prepare scenarios, data and the environment, collect feedback and separate defects from change requests. Developers show increments at the demo. Validation dumped entirely on testers usually turns into a second verification, because testers compare the system with the same documentation it was built from.
Can validation be automated?
Only partially. Verification is what gets automated: tests compare behavior with the expected result. Validation requires human judgment, although it can be supported with data: path analytics in a pilot release, A/B tests, usability session recordings. Automated acceptance tests written as business examples verify what the team agreed with the business, but they do not replace a conversation with the user.
What should we do when validation shows the specification was wrong?
Treat it as a success of validation, not a failure of testing. The finding goes to the product owner as a requirements change, not as a developer's bug. The team updates acceptance criteria, tests and requirements traceability, and then verifies the new version. The earlier such a signal arrives, the less work goes to waste, which is why validation is worth starting at the prototype stage.