use of org.jbehave.core.embedder.PerformableTree in project serenity-jbehave by serenity-bdd.
the class SerenityReportingRunner method createPerformableTree.
private PerformableTree createPerformableTree(List<String> storyPaths) {
ExtendedEmbedder configuredEmbedder = this.getConfiguredEmbedder();
configuredEmbedder.useMetaFilters(getMetaFilters());
BatchFailures failures = new BatchFailures(configuredEmbedder.embedderControls().verboseFailures());
PerformableTree performableTree = new PerformableTree();
RunContext context = performableTree.newRunContext(getConfiguration(), configuredEmbedder.stepsFactory(), configuredEmbedder.embedderMonitor(), configuredEmbedder.metaFilter(), failures);
performableTree.addStories(context, storiesOf(performableTree, storyPaths));
return performableTree;
}
Aggregations