Use case
In software engineering, a use case (pronounced yoos-case) is a technique for capturing the requirements of a new system or software change. Each Use Case provides one or more scenarios that convey how the system should interact with the end user or another system. Use Cases typically avoid technical jargon, preferring instead the language of the end user, or domain expert. Use Cases are often co-authored by software developers and end users.
| Table of contents |
|
2 Alternate Scenarios 3 Scope of a Use Case 4 Other Parts of a Use Case 5 A Better Technique |
Main Scenario
At a minimum, each use case should convey a primary scenario, or the typical course of events. The main scenario is often conveyed as a set of steps, for example:
...and so on.Alternate Scenarios
Use cases may contain secondary, or alternate scenarios which are slight variations on the main theme. Exceptions, or what happens when things go wrong, may also be described.Scope of a Use Case
Each use case focuses on just one feature of the system. For most software projects this means that multiple, perhaps dozens, of use case are needed to fully specify the new system. The degree of formality of a particular software project may influence the level of detail required in each use case. It is generally accepted that each use case be short enough to implement by one software developer in one release.