commit b9a1ff68070bf40271e2c68b25f60ebc4a906923
Author: Mauro Talevi <[email protected]>
AuthorDate: Wed, 21 May 2014 08:49:02 +0200
Commit: Mauro Talevi <[email protected]>
CommitDate: Wed, 21 May 2014 08:49:02 +0200
JBEHAVE-1014: Updated documentation with lifecycle after outcomes.
diff --git a/distribution/src/site/content/story-syntax.html
b/distribution/src/site/content/story-syntax.html
index e70d539..9ecbe64 100755
--- a/distribution/src/site/content/story-syntax.html
+++ b/distribution/src/site/content/story-syntax.html
@@ -28,7 +28,12 @@ Lifecycle:
Before:
Given a step that is executed before each scenario
After:
-Given a step that is executed after each scenario
+Outcome: ANY
+Given a step that is executed after each scenario regardless of outcome
+Outcome: SUCCESS
+Given a step that is executed after each successful scenario
+Outcome: FAILURE
+Given a step that is executed after each failed scenario
Scenario: A scenario is a collection of executable steps of different type