meeting -*- Outline -*- * Use-Case Model: Writing Requirements in Context (Larman, Ch. 6) The Use-case model is the set of all use cases, it is a model of the system's functionality and environment ** goals and stories (6.1) ------------------------------------------ USE CASE MODEL REQUIREMENTS IN CONTEXT (LARMAN CH. 6) Use case = Key idea: Example in brief format (from StickSync): Add a Directory FOR YOU TO DO, IN PAIRS Write one use case, in brief format, for StickSync's Remove a File: ------------------------------------------ ... a set of related stories of using the system ... how can this fulfill user goals (add value)? (vs. just listing features) ... work out this first example with students Add a directory: The user tells the system about a directory that should be synchronized with the selected remote computer and PMSD. The system remembers the directory name and the selected remote computer, and records this on the PMSD. brief format is just a paragraph Put the student ones on the board and discuss ** Use cases and adding value (6.3) ------------------------------------------ MORE TERMS (6.3) Actor = Scenario = So a use case is: ------------------------------------------ ... something or someone with behavior person identified by role, computer system, organization Q: What are some of the actors in the POS system? In the StickSync system? ... a specific sequence of actions and interactions between actors and the system Scenario also called a use case instance ... a set of related success and failure scenarios that describes actors using a system to support a goal. ------------------------------------------ EXAMPLE CASUAL FORMAT USE CASE Add a directory Main Success Scenario: The user tells the system about a directory that should be synchronized with the selected remote computer and PMSD. The system remembers the directory name and the selected remote computer, and records this on the PMSD. Alternative Scenario: ------------------------------------------ develop these in class concentrate on the alternatives, since we already did the happy path ... Alternatives: If the directory does not exist, ... If the directory is not readable, ... Start a new paragraph for each actor emphasize finding value for the actors, don't get a feature and function list Have the students do two use cases in casual format for the "compiler runner" project. (if time) - Compile a File - Compile Several Related Files