Use cases

Definition: A use case captures a contract between stakeholders about the behavior of a program.

Who might be a stakeholder?

The use case describes how a system behaves as follows:

(Adapted from Writing Effective Use Cases, Alastair Cockburn)

Writing Use Cases:

  1. List actors and goals
  2. Main success scenario
  3. Failure conditions
  4. Failure handling