Use Case Modelling Flashcards
What are Use Cases?
- Describe the sequence of events to yield a result
- Considers flow to/flow from the system and possible outcomes, including failure
What is an Actor?
Someone or something external to the system that interacts with it
- Human user, a role not a person
- Can be another system
What is a Use Case?
An activity that the system carries out in response to a request from an actor
- A way in which a user may interact with a system
- An action undertaken on a system to achieve a goal
What should a proper Use Case include?
Capture
- Who (actor) does
- What (interaction) with the system
- For what purpose (goal)
What should a complete set of cases do?
- Specify all the different ways to use the system
- Define all the behaviour required of the system
What is the use of Use Case index and what is included?
- A list of all use cases is kept in an index
- Helps to organise and manage cases
- ID, Name, Primary Actor, Complexity and Priority
What is a Use Case diagram?
- A simple diagram showing a high-level overview of all use cases
- Models all functionality of a system from the users’ point of view
- Shows how actors interact with the system
- No detail given about steps within use cases
- Good for communicating with stakeholders
What is the use of Textual Use Cases?
- Helps to understand all the steps involved in a use case
- Level of detail can be increased or decreased as needed
What are the 3 sequences in a Textual Use Case?
- Happy path: when things go right
- Unhappy path: when things go wrong, AKA exception conditions
- Alternate flow: different path taken