use of org.jbehave.core.embedder.Embedder in project jbehave-core by jbehave.
the class ReportStepdocs method execute.
public void execute() throws BuildException {
Embedder embedder = newEmbedder();
log("Reporting stepdocs using embedder " + embedder, MSG_INFO);
embedder.reportStepdocs();
}
use of org.jbehave.core.embedder.Embedder in project jbehave-core by jbehave.
the class RunStoriesAsEmbeddables method execute.
public void execute() throws BuildException {
Embedder embedder = newEmbedder();
log("Running stories as Embeddables using embedder " + embedder, MSG_INFO);
embedder.runAsEmbeddables(classNames());
}
use of org.jbehave.core.embedder.Embedder in project jbehave-core by jbehave.
the class RunStoriesWithAnnotatedEmbedderRunner method execute.
public void execute() throws BuildException {
Embedder embedder = newEmbedder();
log("Running stories with annotated embedder runner", MSG_INFO);
embedder.runStoriesWithAnnotatedEmbedderRunner(classNames());
}
use of org.jbehave.core.embedder.Embedder in project jbehave-core by jbehave.
the class CoreStoryRunner method mapStories.
@Test
public void mapStories() {
Embedder embedder = new Embedder();
embedder.useMetaFilters(asList("+author *", "+theme *", "-skip"));
List<String> storyPaths = new StoryFinder().findPaths(codeLocationFromClass(this.getClass()), "**/*.story", "");
embedder.mapStoriesAsPaths(storyPaths);
}
use of org.jbehave.core.embedder.Embedder in project jbehave-core by jbehave.
the class CoreStoryRunner method runClasspathLoadedStoriesAsJUnit.
@Test
public void runClasspathLoadedStoriesAsJUnit() {
// CoreEmbedder defines the configuration and steps factory
Embedder embedder = new CoreEmbedder();
embedder.embedderControls().doIgnoreFailureInStories(true);
List<String> storyPaths = new StoryFinder().findPaths(codeLocationFromClass(this.getClass()), "**/*.story", "");
embedder.runStoriesAsPaths(storyPaths);
}
Aggregations