summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2019-05-10 11:46:54 +0300
committerLars Wirzenius <liw@liw.fi>2019-05-10 11:46:54 +0300
commit8f4023467c9c032e766ce9aea2627116e1018cb5 (patch)
tree089a182b5337cb71b42b86647d9302c46e7af46b
parent882115f1a426651bbe1f8d469d5b1487abd53e4b (diff)
downloadsaga-poc-8f4023467c9c032e766ce9aea2627116e1018cb5.tar.gz
Add: note that GIVEN cleanups are always done, and in reverse order
-rw-r--r--saga.pdfbin145672 -> 145824 bytes
-rw-r--r--saga.yarn3
2 files changed, 3 insertions, 0 deletions
diff --git a/saga.pdf b/saga.pdf
index 57a7e23..d07cde3 100644
--- a/saga.pdf
+++ b/saga.pdf
Binary files differ
diff --git a/saga.yarn b/saga.yarn
index 0a31598..af8087d 100644
--- a/saga.yarn
+++ b/saga.yarn
@@ -191,6 +191,9 @@ The keywords have the following meanings:
has ended. The setup and cleanup MUST succeed, or the scenario will
fail.
+ The cleanups are executed in the reverse order of the GIVENs, and
+ they're done always, whether the scenario succeeds or not.
+
* WHEN&mdash;perform the action that is being tested. This MUST
succeed. This might, for example, execute a command line program,
and capture its output and exit code.