Академический Документы
Профессиональный Документы
Культура Документы
Tra
Solution
cea
Features Space
bil
The
y it
Product
Software To Be
Requirements Built
Test
Procedures Design User
Docs
USE-CASE MODEL
Use-Cases drive
the work from
analysis through Use-Case Model
test
User Manual
Verified by
Realized by Implemented by
User Interface
Definition
Typical steps
Find a candidate system boundary
Find actors and goals
Find Use cases
Specify the Use cases
Identify Key alternative flows
Iterate until use cases, actors, and system boundary are stable
SYSTEM BOUNDARY
The System boundary defines the border between the solution and the real world that surround the
solution
Our system
Things that interact with our system
What is inside and what is outside?
System
boundary
I/O
Our Solution
Other
I/O Systems
AN ACTOR
The passenger never touches this system; the travel agent operates it. Or
perhaps you are building an Internet application ...
y?
Wh summary goal
ha t? user goal
W
ow? subfunction
H
GOALS AND LEVELS, EXAMPLES
Purchase a book from the online store, and have it shipped to the user; can be cancelled while in transit
level? summary goal
It is a case of use
Describes a conversation between an actor and a system to accomplish a goal
Use cases are always started by an actor
Use cases are always written from the point of view of the actors
UML USE CASE DIAGRAMS
open account
customer
USE CASES ARE NOT DIAGRAMS
Use Cases may have a diagram associated with them, and a use case
diagram is an easy way for an analyst to discuss a process with a subject
matter expert (SME).
But use cases are primarily text.
You begin with just a name for a use case and fill in the details later.
Details consist of an initial short description that is refined into a complete
specification
Use case
Use case summary
Use case specification
USE CASE DIAGRAM (USING UML)
System name
Communication
relationship
Use case
Actor
System boundary
DETAIL USE CASE
Success Guarantees (or Post conditions) state what must be true if the Use Case is completed
successfully. This may include the main success scenario and some alternative paths. For example, if
the happy path is a cash sale, a credit sale might also be regarded a success.
Stakeholders should agree on the guarantee.
MAIN SUCCESS SCENARIO
Extensions:
(action step(s)
1a. Low credit & Customer is 'Preferred': handling those conditions)
1a1. System gives them credit anyway.
1. Name the system scope and boundaries. 7. Capture stakeholders and interests, preconditions and
Track changes to this initial context diagram with the in/out list. guarantees.
2. Brainstorm and list the primary actors. The system will ensure the preconditions and guarantee the interests.
Find every human and non-human primary actor, over the life of the 8. Write the main success scenario (MSS).
system.
Use 3 to 9 steps to meet all interests and guarantees.
3. Brainstorm and exhaustively list user goals for the system.
9. Brainstorm and exhaustively list the extension conditions.
The initial Actor-Goal List is now available.
Include all that the system can detect and must handle.
4. Capture the outermost summary use cases to see who really
cares.
10. Write the extension-handling steps.
Each will ends back in the MSS, at a separate success exit, or in failure.
Check for an outermost use case for each primary actor.
5. Reconsider and revise the summary use cases.
11. Extract complex flows to sub use cases; merge trivial sub use
cases.
Add, subtract, or merge goals. Double-check for time-based triggers and
other events at the system boundary.
Extracting a sub use case is easy, but it adds cost to the project.
6. Select one use case to expand. 12. Readjust the set: add, subtract, merge, as needed.
Consider writing a narrative to learn the material.
Check for readability, completeness, and meeting stakeholders ’interests.
REQUIREMENTS WORKFLOW
Architect
Prioritize Use Cases
Q&A