Skip to content

Instantly share code, notes, and snippets.

@alexbepple
Created September 3, 2010 17:26
Show Gist options
  • Save alexbepple/564218 to your computer and use it in GitHub Desktop.
Save alexbepple/564218 to your computer and use it in GitHub Desktop.
public class NonBuildingStoryReporterBuilder extends StoryReporterBuilder {
@Override
public Map<String, StoryReporter> build(List<String> storyPaths) {
return new HashMap<String, StoryReporter>();
}
}
@Override
public Configuration configuration() {
return new MostUsefulConfiguration()
.useStoryReporterBuilder(new NonBuildingStoryReporterBuilder())
.useDefaultStoryReporter(new SilentSuccessFilter(new ConsoleOutput()));
}
@Override
public Configuration configuration() {
return new MostUsefulConfiguration()
.usePendingStepStrategy(new FailingUponPendingStep())
}
@Ignore("wip")
public class Foo extends JUnitStory {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment