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);
}
}