edX Flashcards
(9 cards)
Term for: software is evaluated to determine that it meets the user needs
“you built the right thing”
validation
Term for: the process to build the software was followed correctly
“you built it right”
verification
Verification vs. validation
Validation is concerned with checking that the system will meet the customer’s actual needs, while verification is concerned with whether the system is well-engineered, error-free, and so on. Verification will help to determine whether the software is of high quality, but it will not ensure that the system is useful.
Verification includes all the activities associated with the producing high quality software: testing, inspection, design analysis, specification analysis, and so on. It is a relatively objective process, in that if the various products and documents are expressed precisely enough, no subjective judgements should be needed in order to verify software.
In contrast, validation is an extremely subjective process. It involves making subjective assessments of how well the (proposed) system addresses a real-world need. Validation includes activities such as requirements modelling, prototyping and user evaluation.
https://www.easterbrook.ca/steve/2010/11/the-difference-between-verification-and-validation/
Examples of verification
reviews, unit test, integration test, automated testing, robustness analysis, static analysis
Examples of validation
prototyping, modeling, goal analysis, spec inspection
Examples of overlap between verification and validation
regression testing, system testing, beta testing
___ does not involve running the code, and ___ always involves running the code (according to Guru99)
Verification, Validation
https://www.guru99.com/verification-v-s-validation-in-a-software-testing.html
Types of test coverage
- Statement (line) coverage of executable code
- Paths in code
- Logical branches in code (all possible False and True combinations for the whole condition)
Test the data used in the program
Test the boundary conditions, typical data values, and illegal values