SoftwareTestPilot
Manual TestingPublished: 6 min read

Verification vs Validation in Software Testing: Definitions, Examples & Table

Verification asks 'are we building the product right?' Validation asks 'are we building the right product?' Clear definitions, examples, a comparison table, and interview-ready answers.

Avinash Kamble
Founder & QA Engineer at SoftwareTestPilot
Reviewed by Priyanka G.
Share:XLinkedInWhatsApp

Last updated: July 11, 2026 · 6 min read

The verification-vs-validation question shows up in almost every QA interview. This guide gives you the crisp definitions, a comparison table, and a real example so you can answer it confidently. Pair it with our Manual Testing Complete Guide.

The two definitions

Verification — checking that the software conforms to its specification. Static, document- and code-based. "Are we building the product right?"

Validation — checking that the software meets the customer's actual needs. Dynamic, requires running the product. "Are we building the right product?"

Verification vs validation — comparison table

AspectVerificationValidation
QuestionAre we building the product right?Are we building the right product?
TypeStaticDynamic
ActivitiesReviews, walkthroughs, inspections, static analysisFunctional, integration, system, UAT testing
FocusDocuments, design, codeRunning application
Cost of defect fixCheap — caught earlyExpensive — caught late
Who does itDevs, architects, QA analystsQA engineers, end users
ExampleReviewing an API spec against acceptance criteriaTesting the deployed API returns the correct data for a customer scenario

Concrete example: a login feature

Verification activities:

  • Review the user story for completeness
  • Inspect the sequence diagram for the auth flow
  • Static analysis of the JWT signing code
  • Peer review of the pull request

Validation activities:

  • Execute manual test cases for valid, invalid, and edge inputs
  • Run automated regression on the login page
  • User acceptance testing with a real customer persona
  • Production monitoring of login success rate

How they fit into the V-model

The classic V-model pairs each development phase (left side) with a testing phase (right side). Verification activities live on the left — reviews, static analysis. Validation activities live on the right — unit → integration → system → acceptance testing. See our test pyramid guide for a modern take.

How to answer in an interview

"Verification is static — reviews, inspections, static analysis of the artifacts we produce. It's cheap and catches defects early. Validation is dynamic — actually running the product to confirm it solves the user's problem. You need both: verification without validation ships a technically-correct product no one wants; validation without verification ships a product with expensive late-stage rework."

Frequently asked questions

Is code review verification or validation?

Verification — it's static and inspects the artifact against a specification, not against runtime behavior.

Is UAT verification or validation?

Validation. User Acceptance Testing runs the actual product with real users to confirm it meets business needs.

Which is more important?

Neither — they're complementary. Skipping verification leads to expensive late defects; skipping validation ships the wrong product.

Are unit tests verification or validation?

Unit tests are validation — they execute code. Peer-reviewing the unit test itself is verification.

Keep going

Practice these questions

Run a live QA mock interview tailored to this topic and get per-skill scoring in minutes.

Found this useful?
Share:XLinkedInWhatsApp

Was this article helpful?

Cluster · Manual Testing

More from Manual Testing Basics

Test types, defect lifecycle, exploratory testing.

Pillar guide · 20 articles
More in this cluster
From the Manual Testing pillar

Keep building your QA edge

Continue reading

Join the QA Community

Connect with fellow testers, share job leads, and get career advice.

Premium QA Resources

Stop Reinventing the Wheel. Upgrade Your QA Arsenal.

Take your testing skills from beginner to Lead Engineer. Supercharge your daily workflow with our premium digital resources.

  • Ready-to-use testing strategy templates
  • Advanced API & UI automation guides
  • ⏱️ Save 10+ hours a week on test planning
4.9/5 rating
Explore All Products

⭐⭐⭐⭐⭐ Trusted by 1,000+ Software Test Pilots • Instant Access