The Excellent Use Case
-
Upload
maxwell-frost -
Category
Documents
-
view
21 -
download
0
description
Transcript of The Excellent Use Case
![Page 1: The Excellent Use Case](https://reader036.fdocuments.us/reader036/viewer/2022082817/56812ac6550346895d8e9fe2/html5/thumbnails/1.jpg)
The Excellent Use Case
Daryl KulakPerficient, Inc.
![Page 2: The Excellent Use Case](https://reader036.fdocuments.us/reader036/viewer/2022082817/56812ac6550346895d8e9fe2/html5/thumbnails/2.jpg)
2
The Excellent Use Case
Getting to GoodExcellence from 5 Perspectives
![Page 3: The Excellent Use Case](https://reader036.fdocuments.us/reader036/viewer/2022082817/56812ac6550346895d8e9fe2/html5/thumbnails/3.jpg)
3
The Good Use Case
Definition of a use case– A set of interactions between a system and an external
person or system that achieves a goal.
PayBill
![Page 4: The Excellent Use Case](https://reader036.fdocuments.us/reader036/viewer/2022082817/56812ac6550346895d8e9fe2/html5/thumbnails/4.jpg)
4
A Good Use Case Is…
Well-named– Verb-Noun
A tennis match– Back and forth between actor and system
Devoid of user interface specifications– No buttons, drop downs, navigation, Web pages
Devoid of internal design specifications– Doesn’t document what happens “inside the box”
Achieves business value– The actor accomplishes a goal with the system
A story– Matches how business people think of their interactions
with software
![Page 5: The Excellent Use Case](https://reader036.fdocuments.us/reader036/viewer/2022082817/56812ac6550346895d8e9fe2/html5/thumbnails/5.jpg)
5
A Good Use Case
System
![Page 6: The Excellent Use Case](https://reader036.fdocuments.us/reader036/viewer/2022082817/56812ac6550346895d8e9fe2/html5/thumbnails/6.jpg)
6
The Excellent Use Case
![Page 7: The Excellent Use Case](https://reader036.fdocuments.us/reader036/viewer/2022082817/56812ac6550346895d8e9fe2/html5/thumbnails/7.jpg)
7
The Excellent Use Case (2)
Alastair Cockburn says “Good Enough”Excellence doesn’t mean overly detailedExcellence doesn’t mean analysis-paralysis
![Page 8: The Excellent Use Case](https://reader036.fdocuments.us/reader036/viewer/2022082817/56812ac6550346895d8e9fe2/html5/thumbnails/8.jpg)
8
Five Perspectives +1
The Right SizeTested on PaperTested in CodeIndependence of RequirementsOutside-In
A Word about Non-IT Use Cases
![Page 9: The Excellent Use Case](https://reader036.fdocuments.us/reader036/viewer/2022082817/56812ac6550346895d8e9fe2/html5/thumbnails/9.jpg)
9
The Right Size
What is the right size for a use case?– Number of pages, number of paths, blah-blah-blah
1. Down the Road Rule - One team of 3-4 people should be able to design/develop/test the use case in 3-4 weeks.
2. One Brain Rule – One person should be able to do all the work associated with the single use case.
3. One Sitting Rule – The use case should be something an actor or actors can accomplish in one sitting.
![Page 10: The Excellent Use Case](https://reader036.fdocuments.us/reader036/viewer/2022082817/56812ac6550346895d8e9fe2/html5/thumbnails/10.jpg)
10
Size – Let’s Talk about Batch
“Batch use cases??”Two situations
– Period-end processing done for business purposes– Processing pushed off-hours for technical reasons
Requests report
Report is delivered next morning
![Page 11: The Excellent Use Case](https://reader036.fdocuments.us/reader036/viewer/2022082817/56812ac6550346895d8e9fe2/html5/thumbnails/11.jpg)
11
Tested on Paper
Use Case “Scenarios”Meeting room with a projectorInvite business analyst, tester, SMEsSubstitute real data for the generic references in the use case
– “Supply clerk” becomes “Sam Turner”– “Customer number” becomes “AR577341-1”– “Number of items in the order” becomes “8”
Take the data from a real set of informationMakes the use case “real” for the business peopleDon’t have to keep the scenarios
![Page 12: The Excellent Use Case](https://reader036.fdocuments.us/reader036/viewer/2022082817/56812ac6550346895d8e9fe2/html5/thumbnails/12.jpg)
12
Tested in Code
Iterative/Incremental LifecycleTwo problems
– Business people “I’ll know it when I see it”– Technical people “I’ll know how to code it after I’ve coded it”
The use case ain’t done until you’ve seen it running in codeLiving documentWeekly demonstrable deliverablesUse the weekly feedback to improve the use case and the
design and the code
![Page 13: The Excellent Use Case](https://reader036.fdocuments.us/reader036/viewer/2022082817/56812ac6550346895d8e9fe2/html5/thumbnails/13.jpg)
13
Research at MIT
Dr. Nam Suh of MITA Decade to Find Design AxiomsAn Axiom is “a fundamental truth that is always observed to be valid and for which there are no counterexamples or exceptions.”
Axiom #1– The Independence Axiom– A good design always maintains the independence of
functional requirements.Axiom #2
– The Information Axiom– The best design among several is a functionally uncoupled
design that has the minimum information content.
![Page 14: The Excellent Use Case](https://reader036.fdocuments.us/reader036/viewer/2022082817/56812ac6550346895d8e9fe2/html5/thumbnails/14.jpg)
14
Independence of Functional Requirements
Preconditions, PostconditionsBUT NOT THESE
– Use Case Flow Diagram– Go-To’s– Uses/Includes/Extends– Hierarchies of Use Cases
Resist making use cases dependent on one another
![Page 15: The Excellent Use Case](https://reader036.fdocuments.us/reader036/viewer/2022082817/56812ac6550346895d8e9fe2/html5/thumbnails/15.jpg)
15
Outside-In
Each Use Case Must Address an Actor’s GoalWhat are the Goals of a Stove?
1. Turn burner on2. Turn burner off3. Read clock4. Turn heat up5. Turn heat down
1. Make eggs and bacon for breakfast
2. Boil water for tea3. Make spaghetti
sauce4. Clean the stove
before parents come over
5. Look impressive for the neighbors
![Page 16: The Excellent Use Case](https://reader036.fdocuments.us/reader036/viewer/2022082817/56812ac6550346895d8e9fe2/html5/thumbnails/16.jpg)
16
You-Know-Who Versus Guess-Who
![Page 17: The Excellent Use Case](https://reader036.fdocuments.us/reader036/viewer/2022082817/56812ac6550346895d8e9fe2/html5/thumbnails/17.jpg)
17
A Word About Business Use Cases
Business Unit
• Car• Clock Radio• Robot• Tree
![Page 18: The Excellent Use Case](https://reader036.fdocuments.us/reader036/viewer/2022082817/56812ac6550346895d8e9fe2/html5/thumbnails/18.jpg)
18
Questions?
Daryl KulakPerficient, Inc.401 N Front Street, #240Columbus OH 43215
(614) 306 [email protected]
www.perficient.com