02291: System Integration...02291: System Integration Author Hubert [email protected] Created...

12
02291: System Integration Requirements Hubert Baumeister [email protected] DTU Compute Technical University of Denmark Spring 2020

Transcript of 02291: System Integration...02291: System Integration Author Hubert [email protected] Created...

Page 1: 02291: System Integration...02291: System Integration Author Hubert Baumeisterhuba@dtu.dk Created Date 2/11/2020 6:02:52 PM ...

02291: System IntegrationRequirements

Hubert [email protected]

DTU ComputeTechnical University of Denmark

Spring 2020

Page 2: 02291: System Integration...02291: System Integration Author Hubert Baumeisterhuba@dtu.dk Created Date 2/11/2020 6:02:52 PM ...

Activities in Software Developement

I Understand and document what kind of the software thecustomer wants→ Requirements AnalysisI external behaviour : what not how

I Determine how the software is to be built→ Design

I Build the software→ Implementation

I Validate that the software solves the customers problem→ Testing→ Verification→ Evaluation: e.g. User friendlieness

Page 3: 02291: System Integration...02291: System Integration Author Hubert Baumeisterhuba@dtu.dk Created Date 2/11/2020 6:02:52 PM ...

User Requirements vs System Requirements

1. User RequirementsI Used for business decision: go / no-goI Used to solicit offers from software housesI Done by the customer

2. System RequirementsI Define how the system is to be builtI Foundation for planning the project and cost estimationsI Done by the software house

Page 4: 02291: System Integration...02291: System Integration Author Hubert Baumeisterhuba@dtu.dk Created Date 2/11/2020 6:02:52 PM ...

Example of user requirements vs system requirements

Ian Sommerville, Software Engineering - 9

Page 5: 02291: System Integration...02291: System Integration Author Hubert Baumeisterhuba@dtu.dk Created Date 2/11/2020 6:02:52 PM ...

Types of Requirements

Functional RequirementsDescribe what the system should doI e.g. ”The user should be able to plan and book a trip”

Non-functional RequirementsEverything which is not functionalityI Where should the software run (e.g. operating system,

software environment, . . . )I What kind of UI the user prefers (e.g. stand alone

application, Web application, command line interface,graphical interface, . . . )

Page 6: 02291: System Integration...02291: System Integration Author Hubert Baumeisterhuba@dtu.dk Created Date 2/11/2020 6:02:52 PM ...

Categories of non-functional requirements

Ian Sommerville, Software Engineering - 9

Page 7: 02291: System Integration...02291: System Integration Author Hubert Baumeisterhuba@dtu.dk Created Date 2/11/2020 6:02:52 PM ...

Characteristics of good requirements

I TestableI Test whether the system satisfies the requirements or not

→ Measurable PropertiesI Makes non-functional requirements testable

Page 8: 02291: System Integration...02291: System Integration Author Hubert Baumeisterhuba@dtu.dk Created Date 2/11/2020 6:02:52 PM ...

Example of measurable requirements

I ”The system should be easy to use by medical staff andshould be organised in such a way that user errors areminimised”

I Better: ”Medical staff shall be able to use all the systemfunctions after four hours of training. After this training, theaverage number of errors made by experienced users shallnot exceed two per hour of system use.”

Page 9: 02291: System Integration...02291: System Integration Author Hubert Baumeisterhuba@dtu.dk Created Date 2/11/2020 6:02:52 PM ...

Possible measures

Ian Sommerville, Software Engineering - 9

Page 10: 02291: System Integration...02291: System Integration Author Hubert Baumeisterhuba@dtu.dk Created Date 2/11/2020 6:02:52 PM ...

Requirements engineering process

Ian Sommerville, Software Engineering - 9

Page 11: 02291: System Integration...02291: System Integration Author Hubert Baumeisterhuba@dtu.dk Created Date 2/11/2020 6:02:52 PM ...

Requirements documentation

I How to document requirements1 Domain model (class diagram, glossary, . . . ) to explain the

domain2 Use cases for functional requirements3 Non-functional requirements

I Requirements documentation are importantI to record the requirementsI to agree upon requirements with the customer

Page 12: 02291: System Integration...02291: System Integration Author Hubert Baumeisterhuba@dtu.dk Created Date 2/11/2020 6:02:52 PM ...

Requirements issues

I As a developer: Refrain from inventing requirements→ ask the customer when in doubt

I Problem descriptions can be very vague→ Discuss with the customer→ Customer knows what he does not want

I Requirements can changeI e.g. after the customer has seen a first version of the

softwareI the business situation has changed

I Consider the contextI What is requirement and what is designI E.g. can choose programming language or it is a

requirement