source: main/eko-disco-specs/trunk/use-cases/sample.rst @ 17935

Last change on this file since 17935 was 10781, checked in by Henrik Bettermann, 11 years ago

Shorten use case titles.

Link data entities to use cases only if necessary/interesting.

File size: 2.1 KB
RevLine 
[10781]1Withdraw Money from ATM
[10584]2***********************************************************************
3
4.. Description of a use case
5.. The description must be formulated as seen from system (not: actors)
6.. Describes those changes an (outside) actor can notice
7.. Short and abstract as possible, as long as necessary.
8.. Each use case must have at least one actor involved
9.. Each use case must have a trigger and a result
10
11
12Short Description
13-----------------------------------------------------------------------
14
15An account holder is paid a requested amount of money and the account
16is charged this amount.
17
18
19Actor(s)
20-----------------------------------------------------------------------
21
22Account holder, Accounting System
23
24
25Trigger(s)
26-----------------------------------------------------------------------
27
28The account holder puts a debit card into the ATM slot.
29
30
31Result(s)
32-----------------------------------------------------------------------
33
34The account holder got an amount of money. The account has been
35charged. The account holder got back the debit card.
36
37
38Incoming Data
39-----------------------------------------------------------------------
40
41PIN, requested amount
42
43
44Outgoing Data
45-----------------------------------------------------------------------
46
47Data leaving the system _during_ use case. Includes only data not
48existing any more after use-case has been finished. For instance
49screen messages, etc.
50
51
52Precondition(s)
53-----------------------------------------------------------------------
54
55The ATM is ready to receive a debit card.
56
57
58Postcondition(s)
59-----------------------------------------------------------------------
60
61The ATM is ready to receive a debit card.
62
63
64Invariant(s)
65-----------------------------------------------------------------------
66
67
68
69
70Essential Steps
71-----------------------------------------------------------------------
72
73* Authenticate account holder
74* Get requested amount
75* Check possibility to withdraw
76* Charge account
77* Pay amount
78
79
80Open Issues
81-----------------------------------------------------------------------
82
83
84
85
86Remarks
87-----------------------------------------------------------------------
88
89
90.. raw:: latex
91
[10780]92      \
Note: See TracBrowser for help on using the repository browser.