Professional Documents
Culture Documents
t9 - Validation & Negotiation
t9 - Validation & Negotiation
VALIDATION
AND
NEGOTIATION
OBJECTIVES
▪ The essential to validate requirements.
▪ The three quality aspects of requirements.
▪ The six principles of requirements validation.
▪ Different validation techniques.
▪ The significance of conflicts with regard to requirements.
▪ The types of requirements conflicts.
▪ The various conflict resolution techniques.
▪ The documentation of conflict resolution.
RISKS OF NON-VALIDATED
REQUIREMENTS
▪ Subsequent errors in planning, architecture, design, test, implementation
▪ Conflicts are not resolved.
▪ Late error detection at during acceptance.
▪ Client stop trusting the supplier
▪ If consistencies and mistakes turn up repeatedly.
II. Documentation
• Are the requirements documented as needed?
III. Agreement
• Do all stakeholder agree with the requirements?
• Are all conflicts solved?
I. VALIDATING THE
CONTENT ASPECT
Goal
▪ Avoid that the development based on false information, that is the development of something that is not
needed.
Search for shortcomings referring to
▪ Completeness
▪ Set all requirements (All requirements documented?)
▪ Individual requirements (Everything described?)
6. Repeated validation
• Re-validate constantly in a heavily changing environment.
VALIDATION OF
REQUIREMENTS
Validation by the client can be done
▪ reviewing documents.
▪ early in the development stage using prototypes.
▪ during the development stage using periodical software increments.
needs needs
system test
Requirements System
Software-
Design Integrate, Test
TYPICAL DEFECTS FOUND
DURING REQUIREMENTS CHECK;
CORRECTIVE ACTIONS
Incorrect requirements
▪ Revising the requirements.
▪ Possible only with involvement of the stakeholders.
▪ Incomplete requirements.
▪ Requirements engineer needs to gather the missing information with the stakeholder.
Contradictory requirements
▪ Requirements engineer needs to resolve the contradictions with the stakeholders and thrive for a consensus among
them.
Unrealistic requirements
▪ Requirements engineer needs to discuss and negotiate the requirements with the stakeholders.
Superfluous requirements – not needed
▪ Clarify the benefit of the requirement with the stakeholders.
Attention:
a combination of all these defects is possible
TYPICAL DEFECTS FOUND
DURING REQUIREMENTS
DOCUMENT VALIDATION
▪ System border and context are not represented.
▪ It is not evident, which actor triggers the function.
▪ A data object is not defined but used in a function.
▪ No function is defined that would effect the transition between two states.
▪ Language defects exist.
▪ Symbols with non standard notation are used with no explanation.
▪ Table has empty cells.
▪ Few or none quality requirements.
▪ The measurement methods for quality requirements are insufficient or entirely not defined.
REQUIREMENTS VALIDATION
TECHNIQUES
Static techniques
▪ Reviews (informal review, audit/commenting, walkthrough, inspection)
▪ Matching of different notations
▪ Checking of models with tools (RE-, UML-Tools,…)
▪ Checking by human beings
▪ CRC cards against storyboards.
▪ Storyboards against use cases.
▪ Use cases against data model.
▪ Use cases against state diagrams.
A combination of techniques
Dynamic techniques leads to the best results
▪ Prototypes (behaviour, design, usability)
▪ Simulation(behaviour)
REVIEW BASICS
Validation of requirement documents
▪ Validation can be performed by anyone who understands the content or needs to process it.
individual inspection
preparation meeting
rework and
decision
revision
REVIEWS THE RESULTING
“REVIEW REPORT”
Classification of findings Recommendation for the decision about the checked item
▪ good ▪ accept
▪ critical error ▪ with or without update.
▪ Must be fixed. ▪ reject
▪ No approval of the checked item without further ▪ update is compulsory
review. ▪ re-review is mandatory
▪ major defect
▪ should be fixed.
▪ no approval without update of the checked item.
▪ minor defect
▪ grammar, layout, …
▪ the checked item can be approved with/without
update.
▪ open issue
▪ No clarification or agreement reached in the
review meeting.
▪ No approval of the checked without
clarification.
EXAMPLE REVIEW REPORT OF
USE CASE DIAGRAM AND
SPECIFICATION
ADDITIONAL VALIDATION
TECHNIQUES - CHECKLISTS
▪ Sources for questions
▪ Quality criteria for requirements documentation.
▪ Quality criteria for individual requirements.
▪ Typical errors in formulating the requirements.
▪ Errors, that have been found in earlier reviews.
Short description 3. Does the description clearly describe the goal of the primary actor?
4. Does it deliver an overview of the main activities?
Primary actor 5. Is the use case triggered by at least one (primary) actor)?
6. Is the primary actor uniquely identified?
Post condition 9. Can the post conditions always be met after a successful development?
Alternative paths 22. Are all alternative paths in the identical business context?
Overall view of the Use 23. Are all features and system requirements traceable to the use cases?
Case 24. No closed “include” chains of use cases exist?
25. The sponsor and user say explicitly: “ We want that”?
26. Can the stakeholder assess after the system delivery, using the use cases, whether they are
implemented?
27. Can the developer answer the question: “Can you develop this system taking the defined constraints
into account?”
ADDITIONAL VALIDATION
TECHNIQUES – PERSPECTIVE
BASED READING
The validation is checked from different views
▪ Possible perspectives from roles
▪ User client
▪ Software architect
▪ Tester
▪ Possible perspectives from quality criteria
▪ Content
▪ Documentation
▪ Agreement
▪ A perspective is assigned to the reviewer
▪ Detailed indications for each perspective.
▪ Questions, which have to be answered by the reviewer.
▪ Questions from the checklist according to the perspective.
▪ Consolidation of the replies, findings and questions.
ADDITIONAL VALIDATION
TECHNIQUES – PROTOTYPING
Advantages
▪ Concrete feedback from usage and experience
▪ Disadvantages
▪ Validation scenarios
▪ Relevant data sets and user interactions.
▪ Interest conflict
▪ Stakeholders have factual different needs or divergent personal interests.
▪ Value conflict
▪ Stakeholders have divergent value and preferences.
▪ Relationship conflict
▪ There are emotional problem in personal relationships between stakeholders.
▪ Structural conflict
▪ Conflict roots in stakeholders being on different hierarchy and decision power levels.
Scope
▪ Cause of the conflict
▪ Involved stakeholders
▪ Opinions of the stakeholders
▪ Means of resolving the conflict
▪ Potential alternatives
▪ Decisions and reasons for the decisions
END OF CHAPTER