Class PerformableTree

java.lang.Object
org.jbehave.core.embedder.PerformableTree

public class PerformableTree extends Object
Creates a tree of PerformableTree.Performable objects for a set of stories, grouping sets of performable steps for each story and scenario, and adding before and after stories steps. The process has two phases:
  1. The tree is populated with groups of performable steps when the stories are added via the addStories(RunContext, List) method.
  2. The performable steps are then populated with the results when the performBeforeOrAfterStories(RunContext, Stage) and perform(RunContext, Story) methods are executed.
The tree is created per PerformableTree.RunContext for the set of stories being run but the individual stories can be performed concurrently.