From 8f4023467c9c032e766ce9aea2627116e1018cb5 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Fri, 10 May 2019 11:46:54 +0300 Subject: Add: note that GIVEN cleanups are always done, and in reverse order --- saga.pdf | Bin 145672 -> 145824 bytes saga.yarn | 3 +++ 2 files changed, 3 insertions(+) diff --git a/saga.pdf b/saga.pdf index 57a7e23..d07cde3 100644 Binary files a/saga.pdf and b/saga.pdf 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—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. -- cgit v1.2.1