From ffe95f81b462c3ff0d08de37b3b9e4ce4ccfa93a Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Fri, 10 May 2019 11:42:09 +0300 Subject: Change: first all ASSUMINGs, then all USINGs, then the rest --- saga.pdf | Bin 145520 -> 145672 bytes saga.yarn | 5 +++++ 2 files changed, 5 insertions(+) diff --git a/saga.pdf b/saga.pdf index b6ac54a..57a7e23 100644 Binary files a/saga.pdf and b/saga.pdf differ 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 -- cgit v1.2.1