What testing is: verification, validation, levels and types of testing
Software Testing Fundamentals · 8 questions
Short notes
Key idea
Testing checks that something does what it should, and finds where it doesn't, before a user does. Verification asks "built right?" (against the spec); validation asks "right thing?" (against the real need). Testing reduces risk; it never proves there are no bugs.
Syntax
- Levels: unit (one piece), integration (pieces together), system (whole product vs requirements), UAT (users accept it).
- Functional = what it does; non-functional = how well (speed, volume, security, safe reruns).
- Smoke = wide and shallow: is the new build testable? Sanity = narrow and shallow: is this fix right? Regression = re-run what used to work after any change.
- Static = review without running; dynamic = run and check.
- Black box = from the outside, by spec; white box = using the code.
Example
Warehouse load: review the mapping document (static), unit-test the status mapping, check orders join to customers (integration), compare source and target after a full run (system), time it and check masking (non-functional), smoke it monthly, run regression after fixes, then UAT with the sales manager.
Traps
- Smoke is not "any quick check": it's for a whole new build.
- Regression is not "retest the bug": it's retest everything that worked.
- Don't skip static reviews: requirement bugs are the most expensive.
- Edges hide bugs: NULLs, month-ends, reruns.
Want the full lesson with step-by-step examples, a project and a certificate? Software Testing Fundamentals course, ₹120 →
Questions
5 free questions- Question 1easy
The mapping document says NULL payment methods become
Unknown. You confirm the load did exactly that. What kind of check is this? - Question 2easy
You check that every order row in the warehouse joins to a row in the customer table. Which level of testing is this closest to?
- Question 3easy
Which of these is a non-functional test of the shop's warehouse load?
- Question 4medium
A developer fixed the wrong amount on order 66. You check order 66 and the orders next to it, nothing more. What is this called?
- Question 5medium
After the status mapping is fixed, the team re-runs all 120 existing checks on the warehouse. Why?
What testing is: verification, validation, levels and types of testing
What testing is: verification, validation, levels and types of testing
What testing is: verification, validation, levels and types of testing
What testing is: verification, validation, levels and types of testing
What testing is: verification, validation, levels and types of testing
3 more questions on this topic, with hints, and tests
Sign up free for 21 days of every question and test.