summaryrefslogtreecommitdiff
path: root/saga.yarn
diff options
context:
space:
mode:
Diffstat (limited to 'saga.yarn')
-rw-r--r--saga.yarn5
1 files changed, 5 insertions, 0 deletions
diff --git a/saga.yarn b/saga.yarn
index f3adb36..6bb7aa9 100644
--- a/saga.yarn
+++ b/saga.yarn
@@ -161,6 +161,8 @@ The keywords have the following meanings:
environment, or access to external services, but which can't be
required for all runs of the acceptance tests.
+ All ASSUMING steps MUST come first in the scenario.
+
* USING—indicate that the scenario uses a resource such as a
database, that's constrained and can't be used by all scenarios if
they run concurrently. When scenarios declare the resource, Saga can
@@ -175,6 +177,9 @@ The keywords have the following meanings:
The goal is to be simple and correct rather then get maximal
concurrency.)
+ All USING steps MUST come at the beginning of the scenario, except
+ the ASSUMING steps may precede them.
+
* GIVEN—set up the test environment for the action (WHEN). This
might create files, start a background process, or something like
that. This also sets up the reversal of the setup, so that any