Augustana University College

COMPUTING SCIENCE 220
Software Engineering and Human-Computer Interfaces


Use-Case Model



Definitions

use cases
stories of using a system to meet stakeholder goals
Use Case Model
the set of all use cases (a UP artifact within the Requirements discipline)
actor
something with behavior, such as a person (identified by role), computer system, or organization
primary actor
has user goals fulfilled through using the services of the system
  • may be an external computer system
supporting actor
provides a service (information) to the system
offstage actor
has an interest in some behavior of the system, but is not primary or supporting
scenario
a specific sequence of actions and interactions between actors and the system under discussion that yields an observable result of value to a particular actor; a use case instance
main success scenario (basic flow)
the main flow of events leading to a successful outcome
extensions (alternative flows)
different flows of events that may or may not lead to success
use case
a collection of related success and failure scenarios that describe actors using a system to support a goal; a set of use-case instances
black-box use cases
use cases that describe the system as having responsibilities, specifying what the system must do (functional requirements)
white-box use cases
use cases that describe the internal workings of the system, its components or design, specifying how the system will work

Goals and Scope of a Use Case

Identifying Use Cases

  1. Choose the system boundary: what is internal and what is external?
  2. Identify the primary actors and their EBP-level user goals.
  3. Define use cases that satisfy user goals.

Formality Types

brief
a terse, one-paragraph summary, usually of the main success scenario (see p. 63)
casual
informal, multi-paragraph format, covering various scenarios (see pp. 63–64)
fully dressed
an elaborate format, with all steps and variations written in detail (see pp. 67–72)

Style

essential
narrative is expressed at the level of the user's intentions and the system's responsibilities, without reference to technology and mechanism details (especially the UI)
concrete
user interface decisions are embedded in the use case text as an aid to detailed GUI design work

UML Use Case Diagrams

An example of a UML use case diagram:

Some UML use case diagram notation suggestions:

Resources

. www.usecases.org — courses and online resources, primarily by Alistair Cockburn

. Object-Oriented Analysis and Design Study Notes:Requirements Modeling by Ezequiel Cuellar

. Use Case-Driven Software Development (PDF), a presentation from SteelTrace (2003)

. Fully dressed use case template (Microsoft Word document)

Copyright © 2003 Jonathan Mohr