diff options
| author | Joe Carstairs <jcarstairs@scottlogic.com> | 2025-07-25 17:30:30 +0100 |
|---|---|---|
| committer | Joe Carstairs <jcarstairs@scottlogic.com> | 2025-07-25 17:31:33 +0100 |
| commit | 7200684a1eddf1f19c3ae76927c189c3a7d53b58 (patch) | |
| tree | fc0dac730a93f142bc551e065913889575afa36f | |
| parent | bc68547172671a8fcd353784eed405f242dd29a1 (diff) | |
task-063: adds extensions for req-012
| -rw-r--r-- | requirements/assumptions/ass-026.md | 3 | ||||
| -rw-r--r-- | requirements/assumptions/ass-027.md | 4 | ||||
| -rw-r--r-- | requirements/catalogue/req-012.md | 27 | ||||
| -rw-r--r-- | requirements/catalogue/req-118.md | 2 | ||||
| -rw-r--r-- | requirements/catalogue/req-119.md | 9 | ||||
| -rw-r--r-- | requirements/catalogue/req-120.md | 5 | ||||
| -rw-r--r-- | requirements/catalogue/req-121.md | 5 |
7 files changed, 52 insertions, 3 deletions
diff --git a/requirements/assumptions/ass-026.md b/requirements/assumptions/ass-026.md new file mode 100644 index 0000000..a866da0 --- /dev/null +++ b/requirements/assumptions/ass-026.md @@ -0,0 +1,3 @@ +# ass-026 + +Schist does not have an SMS interface for reading transactions. diff --git a/requirements/assumptions/ass-027.md b/requirements/assumptions/ass-027.md new file mode 100644 index 0000000..af00983 --- /dev/null +++ b/requirements/assumptions/ass-027.md @@ -0,0 +1,4 @@ +# ass-027 + +If the user cannot read their transactions, they don't want to update or delete +them. diff --git a/requirements/catalogue/req-012.md b/requirements/catalogue/req-012.md index bbfb061..3aedcea 100644 --- a/requirements/catalogue/req-012.md +++ b/requirements/catalogue/req-012.md @@ -6,7 +6,8 @@ transaction. Source: req-011 -Satisfied by: req-043, req-044, req-045, ass-010, req-046, req-047 +Satisfied by: req-043, req-044, req-045, ass-010, req-046, req-047, req-118, +req-119, ass-025 Related to: req-076 @@ -14,7 +15,8 @@ Related to: req-076 Trigger: The user buys a beer. -1. If Schist is not in the user's phone contacts, go to req-013. +1. If Schist is not in the user's phone contacts, or if the user doesn't have + phone signal, battery charge or phone credit, go to req-013. 2. If the user doesn't know how to form the right command, they use the help interface until they do know how to form the right command. 3. The user sends an SMS to Schist. @@ -22,3 +24,24 @@ Trigger: The user buys a beer. then go to step 3. 5. Schist inserts a beer transaction into Schist's database. 6. Schist sends an OK response to the user. + +### Extensions + +#### The user gets the date wrong + +If the user gets the date wrong, tough -- it's good enough. + +#### The user omits the counterparty or gets the counterparty wrong + +If the user gets the counterparty wrong, tough -- it's good enough. + +#### The user gets the amount wrong + +If the user gets the amount wrong, the error will turn up in a reconciliation +transaction the next time the user reconciles their accounts. + +#### The user enters the transaction more than once + +If the user enters the transaction more than once, they may delete the +transaction later if they spot it. Otherwise, the error will turn up in a +reconciliation transaction the next time the user reconciles their accounts. diff --git a/requirements/catalogue/req-118.md b/requirements/catalogue/req-118.md index 92e304d..2a9d73e 100644 --- a/requirements/catalogue/req-118.md +++ b/requirements/catalogue/req-118.md @@ -3,4 +3,4 @@ As a user, I want to reconcile my accounts, so that I can account for errors in my records of my transactions. -Source: req-014 +Sources: req-014, req-012 diff --git a/requirements/catalogue/req-119.md b/requirements/catalogue/req-119.md new file mode 100644 index 0000000..4451f31 --- /dev/null +++ b/requirements/catalogue/req-119.md @@ -0,0 +1,9 @@ +# req-119 + +As a user, I want to delete a beer transaction which I entered into Schist by +SMS more than once by accident, so that I can record a beer transaction in +Schist by SMS. + +Source: req-012 + +Satisfied by: req-120, req-121, arch-v1.0.1, ass-026, ass-027 diff --git a/requirements/catalogue/req-120.md b/requirements/catalogue/req-120.md new file mode 100644 index 0000000..cd35baf --- /dev/null +++ b/requirements/catalogue/req-120.md @@ -0,0 +1,5 @@ +# req-120 + +Schist must have a desktop interface for deleting transactions. + +Source: req-119 diff --git a/requirements/catalogue/req-121.md b/requirements/catalogue/req-121.md new file mode 100644 index 0000000..c39ffc3 --- /dev/null +++ b/requirements/catalogue/req-121.md @@ -0,0 +1,5 @@ +# req-121 + +Schist must have a Web interface for deleting transactions. + +Source: req-119 |
