requirementuser stories •user stories are part of an agile approach that helps shift focus from...

20
Requirement KANOKWATT SHIANGJEN COMPUTER SCIENCE SCHOOL OF INFORMATION AND COMMUNICATION TECHNOLOGY UNIVERSITY OF PHAYAO

Upload: others

Post on 18-Mar-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: RequirementUser Stories •User stories are part of an agile approach that helps shift focus from writing about requirements to them. All agile user stories include a written sentence

Requirement

KANOKWATT SHIANGJENCOMPUTER SCIENCE

SCHOOL OF INFORMATION AND COMMUNICATION TECHNOLOGY

UNIVERSITY OF PHAYAO

Page 2: RequirementUser Stories •User stories are part of an agile approach that helps shift focus from writing about requirements to them. All agile user stories include a written sentence

Contents

• What is requirement?

• Software Requirement Specification (SRS)

• Requirements Engineering Process

• User Stories

• Q & A

• References

2

Page 3: RequirementUser Stories •User stories are part of an agile approach that helps shift focus from writing about requirements to them. All agile user stories include a written sentence

Requirement

“ A thing that is needed or wanted”

3http://www.kasbahouse.com/villawareonline/grillsandgriddles2.asp

https://th.aliexpress.com/item/Stainless-steel-can-opener-tin-opener-multi-functional-open-cans-bottle-corkscrew-kitchen-utensils/32306548618.html

Page 4: RequirementUser Stories •User stories are part of an agile approach that helps shift focus from writing about requirements to them. All agile user stories include a written sentence

Food in Box

4http://publicradiotulsa.org/post/food-bank-expands-senior-outreach

https://www.davpack.co.uk/cardboard-boxes/double-wall/brown-dw.htm

https://th.aliexpress.com/item/Stainless-steel-can-opener-tin-opener-multi-functional-open-cans-bottle-corkscrew-kitchen-utensils/32306548618.html

https://www.silgancontainers.com/products/ends/

https://www.hellofresh.com.au/tasty/food-boxes/

http://chefspick.co.uk/whats-the-best-pan-for-cooking-steak/

http://www.kasbahouse.com/villawareonline/grillsandgriddles2.asp

Page 5: RequirementUser Stories •User stories are part of an agile approach that helps shift focus from writing about requirements to them. All agile user stories include a written sentence

Software Requirement

“A formal description of the system function”

“A software requirement provides a for the development of software product”

5https://www.slideshare.net/deepaksharmasharma9615/2software-requirement-specification

Page 6: RequirementUser Stories •User stories are part of an agile approach that helps shift focus from writing about requirements to them. All agile user stories include a written sentence

Characteristics of a good requirement

• Correct:

• Clear:

• Complete:

• Consistency:

• Verifiable:

6http://slideplayer.com/slide/6849512/

Page 7: RequirementUser Stories •User stories are part of an agile approach that helps shift focus from writing about requirements to them. All agile user stories include a written sentence

Why is getting good requirements hard?

• Stakeholders don’t know what they really want.

• Stakeholders express requirements in their own terms.

• Different stakeholders may have conflicting requirements.

• Organizational and Political factors may influence the system requirements.

• The requirements change.

7

Page 8: RequirementUser Stories •User stories are part of an agile approach that helps shift focus from writing about requirements to them. All agile user stories include a written sentence

Types of requirement• Functional Requirement: that the system .

• Non-Functional Requirement: on the offered by the system.

• Users Requirement: in natural language and of

• System Requirement: giving description of

8

Page 9: RequirementUser Stories •User stories are part of an agile approach that helps shift focus from writing about requirements to them. All agile user stories include a written sentence

Internet Banking: Requirement

• Functional Requirement: deposit, withdraw, transfer, payment

• Non-Functional Requirement: security, reliability, response time

• User Requirement: Prompt Pay, QR Code, e-Wallet

• System Requirement: Server, Communication

9

Page 10: RequirementUser Stories •User stories are part of an agile approach that helps shift focus from writing about requirements to them. All agile user stories include a written sentence

Software Requirement Specification (SRS)

• and may include a set of use cases that describe interactions the users will have with the software.

• It is a sub-field of software engineering that deals with the

• It is a structured document setting out detailed description of the system services written as a between client and contractor

10

Page 11: RequirementUser Stories •User stories are part of an agile approach that helps shift focus from writing about requirements to them. All agile user stories include a written sentence

Components of SRS

• Functionality

• Performance

• Design Constraints imposed on an implementation• Standard Compliance

• Hardware Limitations

• Security

• External Interfaces

• Non-functionality (Additional Requirements)

11

http://rpl-blog.blogspot.com/2010/03/332-components-of-srs.html

Page 12: RequirementUser Stories •User stories are part of an agile approach that helps shift focus from writing about requirements to them. All agile user stories include a written sentence

Users of a requirements document

• Customer: the requirements that meet their .

• Manager: for the system development .

• Engineer: what system is to be .

• Test Engineer: for the system.

• Maintenance Engineer: the and between its parts.

12

https://www.slideshare.net/logu73/software-requirements-14210375

Page 13: RequirementUser Stories •User stories are part of an agile approach that helps shift focus from writing about requirements to them. All agile user stories include a written sentence

Requirements Engineering Process

13

Inception

Elicitation

Elaboration

Negotiation

Specification

Validation

Requirement Managements

Page 14: RequirementUser Stories •User stories are part of an agile approach that helps shift focus from writing about requirements to them. All agile user stories include a written sentence

Requirements Engineering Process• Inception: Establish a basic understanding of the problem and the nature

of the solution

• Elicitation: Draw out the requirements from stakeholders

• Elaboration: Create Model that represents information, functional, and behavioral aspects of the requirements

• Negotiation: Agree on a deliverable system that is realistic for developers and customers.

• Specification: Describe the requirements

• Validation: Review the requirement specification

• Requirements Management: Manage changing requirements

14

Page 15: RequirementUser Stories •User stories are part of an agile approach that helps shift focus from writing about requirements to them. All agile user stories include a written sentence

User Stories

• User stories are part of an agile approach that helps shift focus from writing about requirements to them. All agile user stories include a written sentence or two and, more importantly, a series of conversations about

• User stories are short, the perspective of the person who desires the new

capability, usually a or of the system

15https://www.mountaingoatsoftware.com/agile/user-stories

Page 16: RequirementUser Stories •User stories are part of an agile approach that helps shift focus from writing about requirements to them. All agile user stories include a written sentence

User story template

“As a <type of user>, I want <some goal> so that <some reason>”

• As a <flyer>, I want <to connect internet while flying> so that <I can trade stock in real time>

• As a <teacher>, I want <to contact students’ parent> so that <the student will do their best for the examination>

16https://www.mountaingoatsoftware.com/blog/a-sample-format-for-a-spreadsheet-based-product-backlog

Page 17: RequirementUser Stories •User stories are part of an agile approach that helps shift focus from writing about requirements to them. All agile user stories include a written sentence

User story SpreadsheetID Theme As a / an I want to ... So that ... Priority Status

1 Schedule Project Manager View a status report fromeach team member

I can ensure the project stays on track

Require Done

2 Schedule Employee Be reminder of upcoming deadlines Complete my tasks on time Require Done

3 Schedule Director See a big picture of the department Stay in the loop Require To Do

17

ID Theme As a / an I want to ... So that ... Priority Status

1 Game Admin Create a new Pokémon monster The player will come backto play again

Require Done

2 Game Player View the monster location I can catch a new monster Require Done

3 Game Player View the opponent monster I can make a attack plan

https://www.xltemplates.us/templates/free-agile-project-management-templates-in-excel-project-charter-excel-template-best-of-iuaed-892361/

Page 18: RequirementUser Stories •User stories are part of an agile approach that helps shift focus from writing about requirements to them. All agile user stories include a written sentence

e-Commerce: User storyID Theme As a / an I want to ... So that ... Priority Status

1 Database DB Designer Collect the customer information We can track a customer behavior Require Done

2 Database DB Designer Collect the product information Complete my tasks on time Require Done

3 UX Developer Use the customer view page Recommend the product Require Done

4 UX Developer Develop cross platform mobile application

It easy to write once run anywhere

Require Done

5 Payment Customer Payment by using e-Wallet I do not have to go to ATM Require Done

6 Payment Customer Confirm payment by using OTP Nobody can use my e-Wallet Require To Do

7 UX Customer Chat with the seller I can ask for more detail

8 UX Customer Compare the product spec. To Do

18

Page 19: RequirementUser Stories •User stories are part of an agile approach that helps shift focus from writing about requirements to them. All agile user stories include a written sentence

Q & A

19

Page 20: RequirementUser Stories •User stories are part of an agile approach that helps shift focus from writing about requirements to them. All agile user stories include a written sentence

References• Software Engineering, 10th edition, ISBN 978-0-13-394303-0, by Ian

Sommerville, published by Pearson Education 2016

• Software Requirement Specification https://www.slideshare.net/deepaksharmasharma9615/2software-requirement-specification

• Software Requirement https://www.slideshare.net/logu73/software-requirements-14210375

• Software Requirement Specification http://slideplayer.com/slide/6849512/

• https://www.mountaingoatsoftware.com/agile/

20