summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Carstairs <jcarstairs@scottlogic.com>2025-07-16 13:39:45 +0100
committerJoe Carstairs <jcarstairs@scottlogic.com>2025-07-16 13:40:13 +0100
commita1bf85d86011d815df4652aba1349acdec9fda17 (patch)
tree4258edbefabb1304c2337055fcbc5f9b28cd48d3
parente76f4c45f0886e7726913539d7b6e749d8ace91a (diff)
add req-051, task-003, task-004, edit req-015
-rw-r--r--requirements/catalogue/req-015.md2
-rw-r--r--requirements/catalogue/req-051.md10
-rw-r--r--requirements/tasks/task-003.md10
-rw-r--r--requirements/tasks/task-004.md12
4 files changed, 34 insertions, 0 deletions
diff --git a/requirements/catalogue/req-015.md b/requirements/catalogue/req-015.md
index eb5a594..3845033 100644
--- a/requirements/catalogue/req-015.md
+++ b/requirements/catalogue/req-015.md
@@ -5,3 +5,5 @@ up to sync with Schist to be recorded in Schist automatically, so that my
purchase of this beer is recorded as a beer transaction.
Source: req-010
+
+Satisfied by: req-049, req-051
diff --git a/requirements/catalogue/req-051.md b/requirements/catalogue/req-051.md
new file mode 100644
index 0000000..d38c053
--- /dev/null
+++ b/requirements/catalogue/req-051.md
@@ -0,0 +1,10 @@
+# req-051
+
+Given a user's bank account is set up to sync with Schist, when the user makes
+a transaction in that bank account, then Schist must record that transaction,
+and Schist should record that transaction before the user reads any data from
+Schist which depends upon accurate transaction records.
+
+Source: req-015
+
+Satisfied by: task-003, task-004
diff --git a/requirements/tasks/task-003.md b/requirements/tasks/task-003.md
new file mode 100644
index 0000000..4ba2293
--- /dev/null
+++ b/requirements/tasks/task-003.md
@@ -0,0 +1,10 @@
+# task-003
+
+Given the user has set up a bank account to sync with Schist, then Schist must
+regularly retrieve the latest transactions from that bank account and record
+them.
+
+Exception: if retrieving transactions from the bank account fails, then Schist
+should notify the user.
+
+Source: req-051
diff --git a/requirements/tasks/task-004.md b/requirements/tasks/task-004.md
new file mode 100644
index 0000000..f00a055
--- /dev/null
+++ b/requirements/tasks/task-004.md
@@ -0,0 +1,12 @@
+# task-005
+
+Given the user has set up a bank account to sync with Schist, when they read
+any data from Schist which depends upon accurate transaction records, then
+Schist retrieves transactions from the bank account and records them before
+returning the result to the user.
+
+Exception: if it takes too long to get transactions from the bank account, then
+Schist should return the stale data at first while retrieving the fresh
+transactions at the same time.
+
+Source: req-051