diff options
Diffstat (limited to 'simple.scenario')
-rw-r--r-- | simple.scenario | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/simple.scenario b/simple.scenario new file mode 100644 index 0000000..8061e47 --- /dev/null +++ b/simple.scenario @@ -0,0 +1,32 @@ +A simple test scenario +====================== + +This is a very simple test scenario, which exists only to test +the scenario test runner itself. + + SCENARIO a simple scenario + +The following is the actual test in this scenario: + + GIVEN a clean slate + WHEN nothing happens + THEN everything is OK + AND not all is well + FINALLY cleanup + +And the implementations follow. + + IMPLEMENTS GIVEN a clean slate + echo a clean slate! + + IMPLEMENTS WHEN nothing happens + true + + IMPLEMENTS THEN everything is OK + echo OK! + + IMPLEMENTS THEN not all is well + false + + IMPLEMENTS FINALLY cleanup + echo cleaning up |