Created
September 3, 2010 17:26
-
-
Save alexbepple/564218 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class NonBuildingStoryReporterBuilder extends StoryReporterBuilder { | |
@Override | |
public Map<String, StoryReporter> build(List<String> storyPaths) { | |
return new HashMap<String, StoryReporter>(); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public Configuration configuration() { | |
return new MostUsefulConfiguration() | |
.useStoryReporterBuilder(new NonBuildingStoryReporterBuilder()) | |
.useDefaultStoryReporter(new SilentSuccessFilter(new ConsoleOutput())); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public Configuration configuration() { | |
return new MostUsefulConfiguration() | |
.usePendingStepStrategy(new FailingUponPendingStep()) | |
… | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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