7 Verification & Validation
7 Verification & Validation
Engineering
Ameer Hamza
1
Requirements Verification and
Validation
Requirements Validation
Check that the right product is being built
Ensures that the software being
developed (or changed) will satisfy its
stakeholders
Checks the software requirements specification
against stakeholders goals and requirements
Requirements Verification
Check that product is being built right
Ensures that each step followed in the process of
building the software yields the right products
Checks consistency of the software requirements
specification artefacts and other software
development products (design, implementation, ...)
against the specification
Difference:
Requirements Verification and
Validation
10
Simple Checks
• Various checks can be done using traceability
techniques
• Given the requirements document, verify that all elicitation
notes are covered
• Tracing between different levels of requirements
• Checking goals against tasks, features, requirements…
• Involves developing a traceability matrix
• Ensures that requirements have been taken into
consideration (if not there should be a reason)
• Ensures that everything in the specification is justified
11
Requirement Traceability Matrix
(RTM)
14
Evolutive, throwaway
Can be expensive
Careful planning and preparation
Pre-review checking
Need appropriate checklists (must be developed if necessary
and maintained)
17
Reviews and Inspections (2)
Different types of reviews with varying degrees of formality exist
(similar to JAD vs. brainstorming sessions)
Reading the document
19
Typical Review / Inspection Steps (2)
Prepare for review
Individual reviewers read the requirements to
find conflicts, omissions, inconsistencies,
deviations from standards, and other problems
Hold review meeting
Individual comments and problems are
20
Typical Review / Inspection Steps (3)
Follow-up actions
The chair of the review checks that the agreed
action items have been carried out
Revise document
Requirements document is revised to reflect
re-reviewed
21
Review Team
22
Review – Problem Categorization
Requirements clarification
The requirement may be badly expressed or may have
accidentally omitted information which has been collected
during requirements elicitation
Missing information
Some information is missing from the requirements document
Requirements conflict
There is a significant conflict between requirements
The stakeholders involved must negotiate to resolve the conflict
Unrealistic requirement
The requirement does not appear to be implementable with the
technology available or given other constraints on the system
Stakeholders must be consulted to decide how to make the
requirement more realistic
23
Pre-Review Checking
24
Fagan Inspection (1)
26
Fagan Inspection (3)
27
Requirements Review Checklists (1)
28
Key Components of a
Requirements Review Checklist
• For Verification:
• Comprehensibility: Are the requirements clearly
defined and understandable?
• Feasibility: Can the requirements be implemented
with available resources and technology?
• Consistency: Do the requirements conflict with
each other or other documents?
• Testability: Can the requirements be verified
through testing or other means?
• For Validation:
• Stakeholder Alignment: Do the requirements
reflect the true needs of stakeholders?
• Traceability: Can the requirements be traced to a
specific stakeholder or business need?
• Relevance: Are the requirements still relevant to the
project's goals?