|author||Lars Wirzenius <email@example.com>||2019-05-10 11:42:09 +0300|
|committer||Lars Wirzenius <firstname.lastname@example.org>||2019-05-10 11:42:09 +0300|
Change: first all ASSUMINGs, then all USINGs, then the rest
|-rw-r--r--||saga.pdf||bin||145520 -> 145672 bytes|
2 files changed, 5 insertions, 0 deletions
@@ -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
+ 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