Академический Документы
Профессиональный Документы
Культура Документы
Lethbridge/Laganire 2005
Functional Requirements
Lethbridge/Laganire 2005
Quality Requirementts
Lethbridge/Laganire 2005
Functional requirements
Describe what the system should do
Quality requirements
Constraints on the design to meet specified levels of
quality
Platform requirements
Constraints on the environment and technology of the
system
Process requirements
Constraints on the project plan and development
methods
Lethbridge/Laganire 2005
Use cases
A use case should
Cover the full sequence of steps from the beginning of a
task until the end.
Describe the users interaction with the system ...
Not the computations the system performs.
Be written so as to be as independent as possible from
any particular user interface design.
Only include actions in which the actor interacts with
the computer.
Not actions a user does manually
Lethbridge/Laganire 2005
Scenarios
Lethbridge/Laganire 2005
Extensions
Used to make optional interactions explicit or to handle
exceptional cases.
Keep the description of the basic use case simple.
Register in Course
Add Course Offering
Registrar Actor
Lethbridge/Laganire 2005
Add Course
Student
Enter Grade
for Course
Professor Actor
Lethbridge/Laganire 2005
Generalizations
Lethbridge/Laganire 2005
10
Inclusions
Lethbridge/Laganire 2005
11
Lethbridge/Laganire 2005
12
Lethbridge/Laganire 2005
13
System responses
2. File open dialog appears
Steps:
Actor actions
1. Choose Open command
3. Browse for file
4. Confirm selection
5. Dialog disappears
15
Lethbridge/Laganire 2005
System responses
2. File open dialog appears
5. Dialog disappears
16
Example (continued)
Use case: Browse for file (inclusion)
Lethbridge/Laganire 2005
14
Example (continued)
Lethbridge/Laganire 2005
5. Dialog disappears
Example (continued)
Example (continued)
Steps:
Actor actions
1. Choose Open command
3a. Select text field
3b. Type file name
4. Click Open
Lethbridge/Laganire 2005
System responses
2. File open dialog appears
System responses
2. File open dialog appears
5. System indicates that file
does not exist
Steps:
Actor actions
System responses
1. If the desired file is not displayed, 2. Contents of directory is
select a directory
displayed
3. Repeat step 1 until the desired file is
displayed
4. Select a file
8 Dialog disappears
17
Lethbridge/Laganire 2005
18
Lethbridge/Laganire 2005
19
21
!
!
!
!
20
Lethbridge/Laganire 2005
22
Brainstorming
Appoint an experienced moderator
Arrange the attendees around a table
Decide on a trigger question
Ask each participant to write an answer and pass the
paper to its neighbour
!
Observation
Read documents and discuss requirements with users
Shadowing important potential users as they do their work
ask the user to explain everything he or she is doing
Session videotaping
Interviewing
Conduct a series of interviews
Ask about specific details
Ask about the stakeholders vision for the future
Ask if they have alternative ideas
Ask for other sources of information
Ask them to draw diagrams
Lethbridge/Laganire 2005
They can
Help to define the scope of the system
23
Prototyping
The simplest kind: paper prototype.
a set of pictures of the system that are shown to
users in sequence to explain what would happen
The most common: a mock-up of the systems UI
Written in a rapid prototyping language
Does not normally perform any computations,
access any databases or interact with any other
systems
May prototype a particular aspect of the system
Lethbridge/Laganire 2005
24
Two extremes:
An informal outline of the requirements using a few
paragraphs or simple diagrams
requirements definition
A long list of specifications that contain thousands of
pages of intricate detail
requirements specification
Requirements
xxxx
xxxxxxx
xxx
xxxxxxxxxxx
xxxxx
xxxxxxxxxxxxx
xxxxxxx
xxx
xxxxxxxxxxxxxxx
subsystem 1
Requirements
xxxx
xxxxxxx
xxx
xxxxxxxxxxx
xxxxx
xxxxxxxxxxxxx
xxxxxxx
xxx
xxxxxxxxxxxxxxx
sub-subsystems
Requirements Requirements
Requirements Requirements Definition
Definition
Definition
Definition
xxxx
xxxx
xxxx
xxxxxxx
xxxx
xxxxxxx
xxxxxxx
xxx Requirements
xxx Requirements
xxxxxxx
xxx Requirements
xxx Requirements
xxxxxxxxxxx xxxxxxxxxxx
xxxxx Specification
xxxxxxxxxxx xxxxxxxxxxx
xxxxx Specification
xxxx
xxxxx Specification
xxxxxxxxxxxxx
xxxxx Specification
xxxxxxxxxxxxx
xxxx
xxxx
xxxxxxx
xxxxxxxxxxxxx
xxxxxxx
xxxxxxxxxxxxx
xxxx
xxxxxxx xxx
xxxxxxx xxxxxxx
xxx
xxxxxxx
xxxxxxx
xxxxxxx xxx
xxx xxx
xxx
xxxxxxxxxxx
xxxxxxxxxxxxxxx
xxx xxx
xxxxxxxxxxxxxxx
xxxxxxxxxxx
xxxxxxxxxxx
xxxxx
xxxxxxxxxxxxxxx
xxxxxxxxxxxxxxx
xxxxxxxxxxx
xxxxx
xxxxx
xxxxxxxxxxxxx
xxxxx
xxxxxxxxxxxxx xxxxxxxxxxxxx xxxxxxx
xxxxxxxxxxxxx xxxxxxx
xxxxxxx
xxx
xxxxxxx
xxx
xxx
xxxxxxxxxxxxxxx
xxx
xxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Lethbridge/Laganire 2005
25
Lethbridge/Laganire 2005
27
Lethbridge/Laganire 2005
subsystem 2
Requirements
Definition
xxxx
xxxxxxx
Requirements
xxx
xxxxxxxxxxx
Specification
xxxxx
xxxx
xxxxxxxxxxxxx
xxxxxxxxxxxxxx
xxx
xxx
xxxxxxxxxxx
xxxxxxxxxxxxxxx
xxxxx
xxxxxxxxxxxxx
xxxxxxx
xxx
xxxxxxxxxxxxxxx
sub-subsystems
Requirements
Requirements Requirements
Requirements
Definition
Definition
Definition
Definition
xxxx
xxxx
xxxx
xxxxxxx
xxxx
xxxxxxx
xxxxxxx
xxx Requirements
xxx Requirements
xxxxxxx
xxx Requirements
xxxxxxxxxxx
xxx Requirements
xxxxxxxxxxx
Specification
xxxxx xxxx
xxxxxxxxxxx xxxxxxxxxxx
Specification
xxxxx Specification
xxxxx
xxxxxxxxxxxxx
xxxxx Specification
xxxxxxxxxxxxx
xxxx
xxxx
xxxxxxx
xxxxxxxxxxxxx
xxxxxxxxxxxxx
xxxx
xxxxxxx xxxxxxx
xxxxxxx xxxxxxx
xxx
xxx xxxxxxxxxxx
xxxxxxx
xxxxxxx xxxxxxx
xxx xxx
xxx xxx
xxxxxxxxxxxxxxx
xxx xxx
xxxxxxxxxxxxxxx
xxxxxxxxxxx
xxxxxxxxxxx
xxxxx
xxxxxxxxxxxxxxx
xxxxxxxxxxxxxxx
xxxxxxxxxxx
xxxxx
xxxxx
xxxxxxxxxxxxx
xxxxx
xxxxxxxxxxxxx xxxxxxxxxxxxx xxxxxxx
xxxxxxxxxxxxx xxxxxxx
xxxxxxx
xxx
xxxxxxx
xxx
xxx
xxxxxxxxxxxxxxx
xxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxx
26