Docsity

XP Requirements Engineering-Software Engineering-Lecture Slides, Slides of Software Engineering

Partial preview of the text

Download XP Requirements Engineering-Software Engineering-Lecture Slides and more Slides Software Engineering in PDF only on Docsity!

1

Software RequirementsSpecificationSRS in XP

“Dilbert” on Extreme and AgileProgramming

CS

4-

Requirements analysis 

Sometimes called

requirements elicitation

or

requirements discovery

Involves

technical staff

working with

customers

to

find out about the application domain, the servicesthat the system should provide and the system’soperational constraints

May involve end-users, managers, engineersinvolved in maintenance, domain experts, tradeunions, etc. These are called

stakeholders

Problems of requirements analysis

Stakeholders don’t know

what they really want

Stakeholders express requirements in their

own

terms

Different stakeholders may have

conflicting

requirements

Organisational and political factors

may influence

the system requirements

The

requirements change

during the analysis

process. New stakeholders may emerge

CS

4-

Requirements

Requirements should be

specific, so you can tell whether you met them.

precise as necessary, but no more

Functional requirements

inputs, outputs, and the relations between them

in theory, can specify completely

Non-functional requirements

hard to specify, can’t specify completely

•scalability

•maintainability

•portability

•security

•reliability•efficiency

•usability

CS

4-

Functional requirements

Inputs, outputs, and the relationship

between them

Use Cases

Formats, standard interfaces

Business rules and complex formula

Functional requirements

Requirement: a desired relationship among

phenomena
of the environment of a system, to be brought about bythe hardware/software
machine that will be constructed

and installed in the environment.

A specification describes machine behavior
sufficient to

achieve the requirement.

A specification is a restricted kind of requirement

Lathe Operator

Machine

RequiredBehavior

of lathe

Specification

Requirements

Functional requirements

Requirements

define necessary objectives e.g.

software must handle error states reasonably and effectively,and provide explicit feedback to the users.

Specifications Define How to Meet The Objectives

list out all possible error states for a certain form, along with allof the error messages that should be displayed to the user.

CS

4-

Nonfunctional requirements

Technology

Must use Java

Business

Must get it finished in 1 year spending less

than $1,000,000.

XP Requirements: ReleasePlanning

Release Planning

Happens in the beginning of every project

Made up of 2 phases: Exploration + Planning Game

Each project divided up into 1+ releases

Each release must

Be small

Must deliver enough features to be of business value

Consist of a collection of user stories to provide features

User Stories Index Cards

Usually written on indexcards because easy to

understand

Pass around

Tear up

Prioritize

One and only onebusiness feature

Written by & focus oncustomer

Avoid details of specifictechnology, data baselayout, and algorithms

Poor User Stories

Too vague and hardto

Estimate

Test

Defines implementationdetails

Customer doesn’t careabout Tomcat orDreamweaver

Planning Game Example(From Textbook)

Northwind Inc Business Problem

Large reseller of food & beverage products.

Product sales over direct-mail catalogs.

Processing of ordersdone over the phone

from initial input of the order to

shipment and delivery of the order

3-

Create a Web presence that allows customers to self-order

Northwind products and

track the status of their orders all the way through to shipment

3-

User Stories for Northwind