Analysis: Use Case Descriptions



index
Disabled back button Next Section
printable version




Section 0: Module Objectives or Competencies
Course Objective or Competency Module Objectives or Competency
The student will be able to assess and apply Object-Oriented analysis and design methods like use cases to express user requirements, UML modeling, and other OO approaches. Understand the process used to create use case descriptions.
Understand the rules and style guidelines for use case descriptions.


Section 1: Use Case Descriptions

The behavior of a use case can be described by means of activity diagrams and state diagrams, interaction diagrams (sequence and communication diagrams), as well as textual use cases, where appropriate.

A use case description is a written account of the sequence of steps performed by an analyst to accomplish a complete business transaction. It’s initiated by an actor, provides value to that actor, and is a goal of the actor working in that system.

Use case descriptions provide a means to more fully document the different aspects of each individual use case diagram.



Section 2: Example of Use Case Description
Example of Use Case Description.


Section 3: Elements of a Use Case Description

Supplemental Notes



Section 4: Use Case Writing Guidelines
  1. Write in the form of subject-verb-direct object.
  2. Make sure it is clear who the initiator of the step is.
  3. Write from independent observer’s perspective.
  4. Write at about the same level of abstraction.
  5. Ensure the use case has a sensible set of steps.
  6. Apply the KISS principle liberally.
  7. Write repeating instructions after the set of steps to be repeated.


Section 5: Creating Use Case Descriptions
  1. Pick a high priority use case and create an overview:
    1. List the primary actor
    2. Determine its type (overview or detail; essential or real)
    3. List all stakeholders and their interests
    4. Determine the level of importance of the use case
    5. Briefly describe the use case
    6. List what triggers the use case
    7. List its relationship to other use cases
  2. Fill in the steps of the normal flow of events required to complete the use case
  3. Ensure that the steps listed are not too complicated or long and are consistent in size with other steps
  4. Identify and write the alternate or exceptional flows
  5. Carefully review the use case description and confirm that it is correct
  6. Iterate over the entire set of steps again


Section 6: Resources