SlideShare uma empresa Scribd logo
1 de 35
Chapter 5
Requirement Validation
 Introduction
 Analysis & negotiation Vs Validation
 Inputs and Outputs of Requirement Validation
 Validation framework – Activities
 Review
 Reading Techniques
 Translating requirements to alternative forms
 User manual
 Visualizations, e.g. diagrams
 Lightweight formal models
 Prototypes
 Test cases
Contents
Introduction
 The goal of requirement validation is to check the requirements
to certify that the requirements document is an acceptable
description of the system to be implemented
 It involves checking a requirements document
 if it correctly describes the intended system capabilities and
characteristics that will satisfy the various stakeholders' needs.
 for completeness and consistency,
 for conformance to standards,
 for requirements conflicts,
 for technical errors,
 for ambiguous requirements etc
 if the requirements provide an adequate basis to proceed with
design and construction
Introduction
 Requirement validation is d/t from the requirements analysis and
negotiation (How?)
 Analysis and Negotiations
 focus on ensuring that the requirements are correctly understood
and reflect the needs of the stakeholders
 Concerned with the “raw” requirements gathered from the
stakeholders.
o Rather than the details of correct articulation of the requirements.
 Analysis & Negotiation focus on “have we got the right
requirements?”
 Validation
 focuses on the documented requirements and how they are
represented.
 Concerned with checking the document that has already gone
through analysis and negotiation.
 Validation focuses on “have we represented requirements right
(correctly)?”
Analysis & negotiation Vs Validation
 Some stakeholder problems are inevitably discovered during
requirements validation & these must be corrected before the
requirement document is approved & used as basis for
development.
 Problems that could be discovered during validation are
 Documentation problems
 Flaws in requirement elicitation, analysis & modeling
 Requirement validation is a difficult process.
 There is no way to demonstrate that a requirement
specification is correct with respect to some other system
representation
 So requirements validation asks two questions:
 Do requirements meet stakeholder needs representation?
 Are requirements clear enough for others to use ?
Inputs & Outputs of Requirement Validation
 Requirements document
 Organizational Standard
 Organizational Knowledge
 List of problems to be resolved
Some “typical” problems:
- conformance to standards
- ambiguous wording
- error in the actual model
- undetected conflicts
 List of agreed actions
Requirements
Validation
Inputs Output
s
 Requirements document
 Should be a complete version of the document, not an unfinished draft.
 Formatted and organized according to organizational standards
 Organizational knowledge
 Knowledge, often implicit, of the organization which may be used to
judge the realism of the requirements
 Organizational standards
 Local standards e.g. for the organization of the requirements document
 Problem list
 List of discovered problems in the requirements document
 Agreed actions
 List of agreed actions in response to requirements problems.
 Some problems may have several corrective actions; some problems
may have no associated actions
 Validation is a prolonged processes it involves people reading
and thinking about a lengthy document.
 Meeting may have to be arranged and experiments carried out
with prototype
 So it may take several weeks or sometimes months for complex
systems.
 This is particularly likely if stakeholders from different
organizations are involved
 There is always a natural tendency to rush the validation
process so that system development can be started with out
further ado.
 However this may result in rework because of requirement
errors
How long does validation take?
 Validation isn't a single discrete phase that you perform after
gathering and documenting all the requirements.
 Some validation activities, such as incremental reviews of the
growing SRS, are threaded throughout the iterative elicitation,
analysis, and specification processes.
 Other activities, such as formal SRS inspection, provide a final
quality gate prior to base lining the SRS.
 Include requirements validation activities as discrete tasks in
your project plan.
 Requirement validation activities can be categorized as
 Review activities
 Activities involved translation
 Review - relies on human intelligence in hope that people might find some
problems with requirements.
 if the requirements document or some part of it is in a sufficiently formal
language, some properties can be automatically checked by software.
 Translation - translate requirements to an alternative form. This has a
double advantage:
 The translation process may fail (rewriting turns out to be partially
impossible),thereby pointing to some ambiguity, completeness,
consistency, etc. defects. Also, if two or more persons accomplish
rewriting independently and the results are significantly different, this
also points to problems (mainly ambiguity) in the document.
 After rewriting, requirements in the new form are again reviewed. The
idea is that this form is believed to be better understandable to a
specific group of reviewers. Also, the rewritten form may be amenable
to automated checking.
Validation framework - Activities
 A group of people (excluding those who are involved in
requirement document preparation) read and analyze the
requirements, look for problems, meet and discuss the
problems and agree on actions to address these problems
 A widely used requirements validation technique
 lots of evidence of effectiveness of the technique
 Can be expensive
 Careful planning and preparation
 Pre-review checking
 Use of checklists
Requirements reviews
 Reviews are expensive because they involve a number of people
spending time reading and checking the requirements document
 expense can be reduced by using pre-review checking
 one person checks the document and looks for straightforward
problems such as missing requirements, lack of conformance to
standards, typographical errors, etc.
Pre-review checking
 ..
Requirements reviews process
 Plan the Review (with a moderator) - selection of review team
members, time and place
 Gain agreement on problem definition and problem severity code
 Determine the condition or criteria for “acceptance” or
“rejection/re-review” of the document
 Distribution of Requirements Document and any other information
 Review Preparation - Review team members read the document
for problems
 Record down questions and suspected problem areas
 Hold the Review “meeting” - Discuss the discovered problems
 Agree on the severity of the problems and action plan to resolve
the problems
 Moderator (review chair) - follows up to ensure that the action plan
items have been carried out
 The revised Requirements Document - is either accepted or a re-
review is conducted; a re-review just follow the above steps again.
 Actions which might be decided for each problem are as follows
 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. It is the responsibility of the
requirements engineers who are revising the document to
discover this information from system stakeholders.
 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.
 There are different types of reviews with varying degree of formality
 Reading and signing off:
 reading the document and signing off to endorse it
 Walkthroughs
 Informal, often high-level overview.
 Can be led by author/expert to educate others on his/her work.
 Formal inspections
 Very structured and detailed review, defined roles for participants
and preparation is needed
 Focused inspections
 reviewers have roles and each looks only for specific types of errors.
 Active reviews
 reviewer is asked to use the specification
 the author poses questions for the reviewer to answer that can be
answered only by reading the document.
Types of Review
 In both formal and informal reviews, an important factor is the level of
guidance the reviewers receive for accomplishing their task, or
reading technique.
 Reading techniques:
 Ad-hoc
 Checklist-based
 Defect-based
 Perspective-based
 Scenario-based
 Pattern-based
 Ad-hoc reading – no guidance is provided, reviewers use only their
own knowledge and experience to identify defects.
 Perspective-based reading – each procedure is based on the
viewpoint of a particular stakeholder.
Reading Techniques
Not only a list of review questions but also a
collection of procedures to follow is provided,
which describe the steps to be accomplished
in order to answer the questions.
 a list of questions is provided specifying what properties of the
document must be checked and what specific problems should be
searched for.
 Essential tool for an effective review process – list common
problem area and guide reviewers
 Usually the only alternative that is discussed in requirements
engineering books.
 Every relevant requirements quality criterion is rewritten in the
form of a question, or refined into two or more questions.
 A checklist works just as a reminder for reviewers of those
quality criteria.
 Each organization should establish their own check list
 A sample checklists are shown in the next 3 slides
Checklist-based Reading Techniques
(Wiegers, 2003)
(Wiegers, 2003)
 Each procedure is aiming for detecting a particular type of defects
different procedures are usually assigned to different reviewers.
 Examples of defects that could be detected includes data type
consistencies, incorrect functionalities, ambiguities or missing
functionality.
 Defect-based reading is a technique which is less overlapping,
more systematic and more distinct than ad-hoc & check list
based reading techniques.
 Some empirical evidence exists that this may outperform
checklist-based and ad-hoc approaches.
 “The defect detection rate of individuals and teams using
defect based reading is superior to that obtained with ad-hoc
or checklist methods.”
Defect-based Reading Techniques

Defect-based procedure exampl
 Scenario-based reading - a set of concrete scenarios are provided.
 Reviewers walk through the sequence of events in each scenario and
examine the requirements document for presence, correctness, etc. of
requirement statements that cover those.
 scenarios may be usage scenarios, maintenance work scenarios, etc.
 often mentioned as a separate validation technique.
 McGregor and Syke’s “guided inspection” is variant of scenario-based
reading
 Inspectors prepare scenarios, then
 The authors of the reviewed document explain how the system
described by the document is assumed to handle these cases
 Inspectors follow explanations and look for problems:
 Inappropriate system’s behavior,
 Information has left in the head of the author and was not written
down.
Scenario-based Reading Techniques
 a set of patterns is provided to reviewers that they can use when
validating requirements against scenarios.
 Example of requirements patterns
 ‘MACHINE-FUNCTION’ pattern – a good requirements document
shall include at least one functional requirement statement for each
action in which the software system is involved
 Implementing the functional requirement will thus ensure that the
system undertakes the action described in the scenario.
 For example, consider a dealer who uses a financial foreign
currencies trading system to record information about a currencies
deal:
Pattern-based Reading Techniques
 ‘COLLECT-FIRST-OBJECTIVE-LAST’ pattern – a good
mechanical device with which a person interacts using one or more
personal items must ensure that the person will not go away
leaving those personal items at the device.
 E.g. Consider a passenger who uses a travel ticket to pass through
automatic gates
 Each requirements pattern can be represented by a formal validation
frame that describes
 what a part of a scenario should look like to make the pattern
applicable, and
 what should then be searched for in the requirements document.
Pattern-based Reading Techniques…
 A requirements walk-through is a meeting where you gather all of
your stakeholders together and walk-through the requirements
documentation, page-by-page, line-by-line, to ensure that the
document represents everyone’s complete understanding of what is
to be accomplished in this particular project.
 Simple but valuable enough that it just simply has to be done.
 Why is the walkthrough valuable?
 Your stakeholders will actually read the document and ask
questions about what they don’t understand.
 Your stakeholders will hear the comments that others have, and
this often creates new thoughts on the requirements.
 Your stakeholders will have to look you in the eye and say that
everything they need is there.
Requirements reviews: Walkthroughs
 Requirements inspection involves creating a team of inspectors that
should represent different perspectives.
 Therefore, a requirements inspection team should include
requirements engineers (authors), design engineers (will do work
based on requirements), and various other stakeholders (sources of
requirements).
 Inspection is a formal review because it proceeds in a sequence of
well defined stages. E.g. Fagan's Inspection Process
Requirements reviews: Inspection
 In practice, requirements are usually documented in structured
natural language.
 All natural languages are inherently ambiguous.
 The requirements are often written in English although many
stakeholders are not fluent in it.
 Presenting the requirements as a collection of separate
statements is probably not the best understandable form for
either customers or developers.
 It is not considered feasible to maintain several concurrent
representations of requirements because of modifiability
problems.
 However, for validating them, rewriting natural language into
other forms is considered very useful.
Translating requirements to alternative forms
 Requirements may be translated to:
 User manual, Visualizations, e.g. diagrams, Lightweight formal
models, Prototypes, Test cases
 User manual
 A good manual describes all user-visible functionality in easily
understandable language.
 It is still a natural language document, but with all ‘shall’
statements rewritten as if they were already implemented.
 It presents requirements in a more tangible and more coherent
form than an SRS.
 A quality SRS should provide enough information needed for
drafting the user manual.
 If the writer finds this (partially) impossible, this points to some
problems with the SRS that must be investigated.
Translation…
 After the draft is finished, it is to be reviewed by targeted
stakeholders.
 However, a user manual is obviously only a partial view of
requirements since it presents only functionality visible to end
users (not performance or other characteristics).
 Visualizations
 Visualization is often seen as a way to help people gain
insight from large and complex data sets.
 Graphical presentations link individual statements together
and present a coherent picture of a slice of the system.
 Decision trees, data flow diagrams, state transition diagrams
are some of the Graphical presentations for visualization.
 Lightweight formal models
 Involves expressing requirements in formal logic and
mathematically using formal models like e.g. Vienna Development
Method (VDM), Z, …
 They have not been widely accepted in requirement engineering
practice.
 The methods can be used for partial analysis on partial
specifications, without a commitment to developing and baselining
a complete, consistent formal specification (lightweight way).
 i.e. some critical parts of a requirements specification are
translated into a formal model for e.g. validation needs.
 Sufficient empirical evidence exists that just the attempt to translate
requirements into a formal model helps to reveal a lot of defects.
 After translating, some properties of the partial formal specification
can be automatically verified by software.
 Prototyping
 A prototype makes requirements tangible.
 Users, managers, and other non-technical stakeholders usually
find it very difficult to visualize how a written statement of
requirements will translate into an executable software system.
 If a prototype is developed to demonstrate requirements, they
find it easier to discover problems and suggest how the
requirements may be improved.
 Prototyping based validation steps:
 choose prototype testers
 develop test scenarios
 execute scenarios
 document problems - using a problem reporting tool
 Test cases
 A desirable attribute of every requirement statement is that it
should be verifiable, i.e. it should be possible to define one or
more test cases that can check whether the requirement has
been met.
 Even though the tests will be applied to the system only after
implementation, designing tests at an early stage is an
effective way of revealing requirements defects.
 A test case usually tests several related requirements, both
functional and non-functional.
 Therefore, test cases may make the expected system
behaviors clearer to all the stakeholders.
 Test cases designed for validation of requirements may also
be only theoretical, e.g. be too expensive to run in practice.

Mais conteúdo relacionado

Semelhante a Ch 5 - Requirement Validation.pptx

Software Requirements (3rd Edition) summary
Software Requirements (3rd Edition) summarySoftware Requirements (3rd Edition) summary
Software Requirements (3rd Edition) summaryAhmed Kamel Taha
 
Testing 1 static techniques
Testing 1 static techniquesTesting 1 static techniques
Testing 1 static techniquesMini Marsiah
 
Guidelines to Review Work products
Guidelines to Review Work productsGuidelines to Review Work products
Guidelines to Review Work productsAshok Kumar
 
Business Requirements development
Business Requirements development Business Requirements development
Business Requirements development Mark Opanasiuk
 
Chapter Three Static Techniques
Chapter Three Static TechniquesChapter Three Static Techniques
Chapter Three Static Techniqueselvira munanda
 
static techniques
static techniquesstatic techniques
static techniquesaidil fitra
 
Requirement Management.ppt
Requirement Management.pptRequirement Management.ppt
Requirement Management.pptSoham De
 
Chapter 3 Static Techniques
Chapter 3 Static TechniquesChapter 3 Static Techniques
Chapter 3 Static TechniquesZetryan Satria
 
Testing & implementation system 3-wm
Testing & implementation system 3-wmTesting & implementation system 3-wm
Testing & implementation system 3-wmWiwik Muslehatin
 
Reviews and the test process
Reviews and the test processReviews and the test process
Reviews and the test processnur fitrianti
 
Static techniques
Static techniquesStatic techniques
Static techniqueschayo rona
 
Static techniques software development - Testing & Implementation
Static techniques software development - Testing & ImplementationStatic techniques software development - Testing & Implementation
Static techniques software development - Testing & Implementationyogi syafrialdi
 
Manual testing interview questions and answers
Manual testing interview questions and answersManual testing interview questions and answers
Manual testing interview questions and answerskaranmca
 

Semelhante a Ch 5 - Requirement Validation.pptx (20)

Static Techniques (Chapter 3)
Static Techniques (Chapter 3)Static Techniques (Chapter 3)
Static Techniques (Chapter 3)
 
3.static techniques
3.static techniques3.static techniques
3.static techniques
 
Bab 3
Bab 3Bab 3
Bab 3
 
Software Requirements (3rd Edition) summary
Software Requirements (3rd Edition) summarySoftware Requirements (3rd Edition) summary
Software Requirements (3rd Edition) summary
 
Test
TestTest
Test
 
Testing 1 static techniques
Testing 1 static techniquesTesting 1 static techniques
Testing 1 static techniques
 
Guidelines to Review Work products
Guidelines to Review Work productsGuidelines to Review Work products
Guidelines to Review Work products
 
Static techniques
Static techniquesStatic techniques
Static techniques
 
Business Requirements development
Business Requirements development Business Requirements development
Business Requirements development
 
Chapter Three Static Techniques
Chapter Three Static TechniquesChapter Three Static Techniques
Chapter Three Static Techniques
 
static techniques
static techniquesstatic techniques
static techniques
 
Requirement Management.ppt
Requirement Management.pptRequirement Management.ppt
Requirement Management.ppt
 
Chapter 3 Static Techniques
Chapter 3 Static TechniquesChapter 3 Static Techniques
Chapter 3 Static Techniques
 
Testing & implementation system 3-wm
Testing & implementation system 3-wmTesting & implementation system 3-wm
Testing & implementation system 3-wm
 
Reviews and the test process
Reviews and the test processReviews and the test process
Reviews and the test process
 
Static techniques
Static techniquesStatic techniques
Static techniques
 
Static techniques software development - Testing & Implementation
Static techniques software development - Testing & ImplementationStatic techniques software development - Testing & Implementation
Static techniques software development - Testing & Implementation
 
Manual testing interview questions and answers
Manual testing interview questions and answersManual testing interview questions and answers
Manual testing interview questions and answers
 
Software Testing 4/5
Software Testing 4/5Software Testing 4/5
Software Testing 4/5
 
SE-Unit II.pdf
SE-Unit II.pdfSE-Unit II.pdf
SE-Unit II.pdf
 

Mais de balewayalew

Chapter 1-Introduction.ppt
Chapter 1-Introduction.pptChapter 1-Introduction.ppt
Chapter 1-Introduction.pptbalewayalew
 
Data Analytics.ppt
Data Analytics.pptData Analytics.ppt
Data Analytics.pptbalewayalew
 
PE1 Module 4.ppt
PE1 Module 4.pptPE1 Module 4.ppt
PE1 Module 4.pptbalewayalew
 
PE1 Module 3.ppt
PE1 Module 3.pptPE1 Module 3.ppt
PE1 Module 3.pptbalewayalew
 
PE1 Module 2.ppt
PE1 Module 2.pptPE1 Module 2.ppt
PE1 Module 2.pptbalewayalew
 
Chapter -6- Ethics and Professionalism of ET (2).pptx
Chapter -6- Ethics and Professionalism of ET (2).pptxChapter -6- Ethics and Professionalism of ET (2).pptx
Chapter -6- Ethics and Professionalism of ET (2).pptxbalewayalew
 
Chapter -5- Augumented Reality (AR).pptx
Chapter -5- Augumented Reality (AR).pptxChapter -5- Augumented Reality (AR).pptx
Chapter -5- Augumented Reality (AR).pptxbalewayalew
 
PE1 Module 1.ppt
PE1 Module 1.pptPE1 Module 1.ppt
PE1 Module 1.pptbalewayalew
 
Ch 1-Non-functional Requirements.ppt
Ch 1-Non-functional Requirements.pptCh 1-Non-functional Requirements.ppt
Ch 1-Non-functional Requirements.pptbalewayalew
 

Mais de balewayalew (20)

slides.06.pptx
slides.06.pptxslides.06.pptx
slides.06.pptx
 
slides.07.pptx
slides.07.pptxslides.07.pptx
slides.07.pptx
 
slides.08.pptx
slides.08.pptxslides.08.pptx
slides.08.pptx
 
Chapter 1-Introduction.ppt
Chapter 1-Introduction.pptChapter 1-Introduction.ppt
Chapter 1-Introduction.ppt
 
Data Analytics.ppt
Data Analytics.pptData Analytics.ppt
Data Analytics.ppt
 
PE1 Module 4.ppt
PE1 Module 4.pptPE1 Module 4.ppt
PE1 Module 4.ppt
 
PE1 Module 3.ppt
PE1 Module 3.pptPE1 Module 3.ppt
PE1 Module 3.ppt
 
PE1 Module 2.ppt
PE1 Module 2.pptPE1 Module 2.ppt
PE1 Module 2.ppt
 
Chapter -6- Ethics and Professionalism of ET (2).pptx
Chapter -6- Ethics and Professionalism of ET (2).pptxChapter -6- Ethics and Professionalism of ET (2).pptx
Chapter -6- Ethics and Professionalism of ET (2).pptx
 
Chapter -5- Augumented Reality (AR).pptx
Chapter -5- Augumented Reality (AR).pptxChapter -5- Augumented Reality (AR).pptx
Chapter -5- Augumented Reality (AR).pptx
 
Chapter 8.ppt
Chapter 8.pptChapter 8.ppt
Chapter 8.ppt
 
PE1 Module 1.ppt
PE1 Module 1.pptPE1 Module 1.ppt
PE1 Module 1.ppt
 
chapter7.ppt
chapter7.pptchapter7.ppt
chapter7.ppt
 
chapter6.ppt
chapter6.pptchapter6.ppt
chapter6.ppt
 
chapter5.ppt
chapter5.pptchapter5.ppt
chapter5.ppt
 
chapter4.ppt
chapter4.pptchapter4.ppt
chapter4.ppt
 
chapter3.ppt
chapter3.pptchapter3.ppt
chapter3.ppt
 
chapter2.ppt
chapter2.pptchapter2.ppt
chapter2.ppt
 
chapter1.ppt
chapter1.pptchapter1.ppt
chapter1.ppt
 
Ch 1-Non-functional Requirements.ppt
Ch 1-Non-functional Requirements.pptCh 1-Non-functional Requirements.ppt
Ch 1-Non-functional Requirements.ppt
 

Último

Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Principled Technologies
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024The Digital Insurer
 

Último (20)

Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 

Ch 5 - Requirement Validation.pptx

  • 2.  Introduction  Analysis & negotiation Vs Validation  Inputs and Outputs of Requirement Validation  Validation framework – Activities  Review  Reading Techniques  Translating requirements to alternative forms  User manual  Visualizations, e.g. diagrams  Lightweight formal models  Prototypes  Test cases Contents
  • 4.  The goal of requirement validation is to check the requirements to certify that the requirements document is an acceptable description of the system to be implemented  It involves checking a requirements document  if it correctly describes the intended system capabilities and characteristics that will satisfy the various stakeholders' needs.  for completeness and consistency,  for conformance to standards,  for requirements conflicts,  for technical errors,  for ambiguous requirements etc  if the requirements provide an adequate basis to proceed with design and construction Introduction
  • 5.  Requirement validation is d/t from the requirements analysis and negotiation (How?)  Analysis and Negotiations  focus on ensuring that the requirements are correctly understood and reflect the needs of the stakeholders  Concerned with the “raw” requirements gathered from the stakeholders. o Rather than the details of correct articulation of the requirements.  Analysis & Negotiation focus on “have we got the right requirements?”  Validation  focuses on the documented requirements and how they are represented.  Concerned with checking the document that has already gone through analysis and negotiation.  Validation focuses on “have we represented requirements right (correctly)?” Analysis & negotiation Vs Validation
  • 6.  Some stakeholder problems are inevitably discovered during requirements validation & these must be corrected before the requirement document is approved & used as basis for development.  Problems that could be discovered during validation are  Documentation problems  Flaws in requirement elicitation, analysis & modeling  Requirement validation is a difficult process.  There is no way to demonstrate that a requirement specification is correct with respect to some other system representation  So requirements validation asks two questions:  Do requirements meet stakeholder needs representation?  Are requirements clear enough for others to use ?
  • 7. Inputs & Outputs of Requirement Validation  Requirements document  Organizational Standard  Organizational Knowledge  List of problems to be resolved Some “typical” problems: - conformance to standards - ambiguous wording - error in the actual model - undetected conflicts  List of agreed actions Requirements Validation Inputs Output s
  • 8.  Requirements document  Should be a complete version of the document, not an unfinished draft.  Formatted and organized according to organizational standards  Organizational knowledge  Knowledge, often implicit, of the organization which may be used to judge the realism of the requirements  Organizational standards  Local standards e.g. for the organization of the requirements document  Problem list  List of discovered problems in the requirements document  Agreed actions  List of agreed actions in response to requirements problems.  Some problems may have several corrective actions; some problems may have no associated actions
  • 9.  Validation is a prolonged processes it involves people reading and thinking about a lengthy document.  Meeting may have to be arranged and experiments carried out with prototype  So it may take several weeks or sometimes months for complex systems.  This is particularly likely if stakeholders from different organizations are involved  There is always a natural tendency to rush the validation process so that system development can be started with out further ado.  However this may result in rework because of requirement errors How long does validation take?
  • 10.  Validation isn't a single discrete phase that you perform after gathering and documenting all the requirements.  Some validation activities, such as incremental reviews of the growing SRS, are threaded throughout the iterative elicitation, analysis, and specification processes.  Other activities, such as formal SRS inspection, provide a final quality gate prior to base lining the SRS.  Include requirements validation activities as discrete tasks in your project plan.  Requirement validation activities can be categorized as  Review activities  Activities involved translation
  • 11.  Review - relies on human intelligence in hope that people might find some problems with requirements.  if the requirements document or some part of it is in a sufficiently formal language, some properties can be automatically checked by software.  Translation - translate requirements to an alternative form. This has a double advantage:  The translation process may fail (rewriting turns out to be partially impossible),thereby pointing to some ambiguity, completeness, consistency, etc. defects. Also, if two or more persons accomplish rewriting independently and the results are significantly different, this also points to problems (mainly ambiguity) in the document.  After rewriting, requirements in the new form are again reviewed. The idea is that this form is believed to be better understandable to a specific group of reviewers. Also, the rewritten form may be amenable to automated checking. Validation framework - Activities
  • 12.  A group of people (excluding those who are involved in requirement document preparation) read and analyze the requirements, look for problems, meet and discuss the problems and agree on actions to address these problems  A widely used requirements validation technique  lots of evidence of effectiveness of the technique  Can be expensive  Careful planning and preparation  Pre-review checking  Use of checklists Requirements reviews
  • 13.  Reviews are expensive because they involve a number of people spending time reading and checking the requirements document  expense can be reduced by using pre-review checking  one person checks the document and looks for straightforward problems such as missing requirements, lack of conformance to standards, typographical errors, etc. Pre-review checking
  • 15.  Plan the Review (with a moderator) - selection of review team members, time and place  Gain agreement on problem definition and problem severity code  Determine the condition or criteria for “acceptance” or “rejection/re-review” of the document  Distribution of Requirements Document and any other information  Review Preparation - Review team members read the document for problems  Record down questions and suspected problem areas  Hold the Review “meeting” - Discuss the discovered problems  Agree on the severity of the problems and action plan to resolve the problems  Moderator (review chair) - follows up to ensure that the action plan items have been carried out  The revised Requirements Document - is either accepted or a re- review is conducted; a re-review just follow the above steps again.
  • 16.  Actions which might be decided for each problem are as follows  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. It is the responsibility of the requirements engineers who are revising the document to discover this information from system stakeholders.  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.
  • 17.  There are different types of reviews with varying degree of formality  Reading and signing off:  reading the document and signing off to endorse it  Walkthroughs  Informal, often high-level overview.  Can be led by author/expert to educate others on his/her work.  Formal inspections  Very structured and detailed review, defined roles for participants and preparation is needed  Focused inspections  reviewers have roles and each looks only for specific types of errors.  Active reviews  reviewer is asked to use the specification  the author poses questions for the reviewer to answer that can be answered only by reading the document. Types of Review
  • 18.  In both formal and informal reviews, an important factor is the level of guidance the reviewers receive for accomplishing their task, or reading technique.  Reading techniques:  Ad-hoc  Checklist-based  Defect-based  Perspective-based  Scenario-based  Pattern-based  Ad-hoc reading – no guidance is provided, reviewers use only their own knowledge and experience to identify defects.  Perspective-based reading – each procedure is based on the viewpoint of a particular stakeholder. Reading Techniques Not only a list of review questions but also a collection of procedures to follow is provided, which describe the steps to be accomplished in order to answer the questions.
  • 19.  a list of questions is provided specifying what properties of the document must be checked and what specific problems should be searched for.  Essential tool for an effective review process – list common problem area and guide reviewers  Usually the only alternative that is discussed in requirements engineering books.  Every relevant requirements quality criterion is rewritten in the form of a question, or refined into two or more questions.  A checklist works just as a reminder for reviewers of those quality criteria.  Each organization should establish their own check list  A sample checklists are shown in the next 3 slides Checklist-based Reading Techniques
  • 20.
  • 23.  Each procedure is aiming for detecting a particular type of defects different procedures are usually assigned to different reviewers.  Examples of defects that could be detected includes data type consistencies, incorrect functionalities, ambiguities or missing functionality.  Defect-based reading is a technique which is less overlapping, more systematic and more distinct than ad-hoc & check list based reading techniques.  Some empirical evidence exists that this may outperform checklist-based and ad-hoc approaches.  “The defect detection rate of individuals and teams using defect based reading is superior to that obtained with ad-hoc or checklist methods.” Defect-based Reading Techniques
  • 25.  Scenario-based reading - a set of concrete scenarios are provided.  Reviewers walk through the sequence of events in each scenario and examine the requirements document for presence, correctness, etc. of requirement statements that cover those.  scenarios may be usage scenarios, maintenance work scenarios, etc.  often mentioned as a separate validation technique.  McGregor and Syke’s “guided inspection” is variant of scenario-based reading  Inspectors prepare scenarios, then  The authors of the reviewed document explain how the system described by the document is assumed to handle these cases  Inspectors follow explanations and look for problems:  Inappropriate system’s behavior,  Information has left in the head of the author and was not written down. Scenario-based Reading Techniques
  • 26.  a set of patterns is provided to reviewers that they can use when validating requirements against scenarios.  Example of requirements patterns  ‘MACHINE-FUNCTION’ pattern – a good requirements document shall include at least one functional requirement statement for each action in which the software system is involved  Implementing the functional requirement will thus ensure that the system undertakes the action described in the scenario.  For example, consider a dealer who uses a financial foreign currencies trading system to record information about a currencies deal: Pattern-based Reading Techniques
  • 27.  ‘COLLECT-FIRST-OBJECTIVE-LAST’ pattern – a good mechanical device with which a person interacts using one or more personal items must ensure that the person will not go away leaving those personal items at the device.  E.g. Consider a passenger who uses a travel ticket to pass through automatic gates  Each requirements pattern can be represented by a formal validation frame that describes  what a part of a scenario should look like to make the pattern applicable, and  what should then be searched for in the requirements document. Pattern-based Reading Techniques…
  • 28.  A requirements walk-through is a meeting where you gather all of your stakeholders together and walk-through the requirements documentation, page-by-page, line-by-line, to ensure that the document represents everyone’s complete understanding of what is to be accomplished in this particular project.  Simple but valuable enough that it just simply has to be done.  Why is the walkthrough valuable?  Your stakeholders will actually read the document and ask questions about what they don’t understand.  Your stakeholders will hear the comments that others have, and this often creates new thoughts on the requirements.  Your stakeholders will have to look you in the eye and say that everything they need is there. Requirements reviews: Walkthroughs
  • 29.  Requirements inspection involves creating a team of inspectors that should represent different perspectives.  Therefore, a requirements inspection team should include requirements engineers (authors), design engineers (will do work based on requirements), and various other stakeholders (sources of requirements).  Inspection is a formal review because it proceeds in a sequence of well defined stages. E.g. Fagan's Inspection Process Requirements reviews: Inspection
  • 30.  In practice, requirements are usually documented in structured natural language.  All natural languages are inherently ambiguous.  The requirements are often written in English although many stakeholders are not fluent in it.  Presenting the requirements as a collection of separate statements is probably not the best understandable form for either customers or developers.  It is not considered feasible to maintain several concurrent representations of requirements because of modifiability problems.  However, for validating them, rewriting natural language into other forms is considered very useful. Translating requirements to alternative forms
  • 31.  Requirements may be translated to:  User manual, Visualizations, e.g. diagrams, Lightweight formal models, Prototypes, Test cases  User manual  A good manual describes all user-visible functionality in easily understandable language.  It is still a natural language document, but with all ‘shall’ statements rewritten as if they were already implemented.  It presents requirements in a more tangible and more coherent form than an SRS.  A quality SRS should provide enough information needed for drafting the user manual.  If the writer finds this (partially) impossible, this points to some problems with the SRS that must be investigated. Translation…
  • 32.  After the draft is finished, it is to be reviewed by targeted stakeholders.  However, a user manual is obviously only a partial view of requirements since it presents only functionality visible to end users (not performance or other characteristics).  Visualizations  Visualization is often seen as a way to help people gain insight from large and complex data sets.  Graphical presentations link individual statements together and present a coherent picture of a slice of the system.  Decision trees, data flow diagrams, state transition diagrams are some of the Graphical presentations for visualization.
  • 33.  Lightweight formal models  Involves expressing requirements in formal logic and mathematically using formal models like e.g. Vienna Development Method (VDM), Z, …  They have not been widely accepted in requirement engineering practice.  The methods can be used for partial analysis on partial specifications, without a commitment to developing and baselining a complete, consistent formal specification (lightweight way).  i.e. some critical parts of a requirements specification are translated into a formal model for e.g. validation needs.  Sufficient empirical evidence exists that just the attempt to translate requirements into a formal model helps to reveal a lot of defects.  After translating, some properties of the partial formal specification can be automatically verified by software.
  • 34.  Prototyping  A prototype makes requirements tangible.  Users, managers, and other non-technical stakeholders usually find it very difficult to visualize how a written statement of requirements will translate into an executable software system.  If a prototype is developed to demonstrate requirements, they find it easier to discover problems and suggest how the requirements may be improved.  Prototyping based validation steps:  choose prototype testers  develop test scenarios  execute scenarios  document problems - using a problem reporting tool
  • 35.  Test cases  A desirable attribute of every requirement statement is that it should be verifiable, i.e. it should be possible to define one or more test cases that can check whether the requirement has been met.  Even though the tests will be applied to the system only after implementation, designing tests at an early stage is an effective way of revealing requirements defects.  A test case usually tests several related requirements, both functional and non-functional.  Therefore, test cases may make the expected system behaviors clearer to all the stakeholders.  Test cases designed for validation of requirements may also be only theoretical, e.g. be too expensive to run in practice.