protected String url(String path, String ext) { StoryReporterBuilder builder = embedder.configuration().storyReporterBuilder(); return builder.codeLocation().toExternalForm() + "/" + path + "." + ext; }
private void addToStoryReporterFormats(JUnitScenarioReporter junitReporter) { StoryReporterBuilder storyReporterBuilder = configuration .storyReporterBuilder(); StoryReporterBuilder.ProvidedFormat junitReportFormat = new StoryReporterBuilder.ProvidedFormat( junitReporter); storyReporterBuilder.withFormats(junitReportFormat); }
protected String url(String path, String ext) { StoryReporterBuilder builder = embedder.configuration().storyReporterBuilder(); return builder.codeLocation().toExternalForm() + "/" + path + "." + ext; }
private File viewDirectory() { if ( viewDirectory != null ){ return viewDirectory; } StoryReporterBuilder storyReporterBuilder = newEmbedder().configuration().storyReporterBuilder(); String build = project.getBuild().getDirectory(); String output = storyReporterBuilder.outputDirectory().getName(); String view = storyReporterBuilder.viewResources().getProperty("viewDirectory"); return new File(build + "/" + output + "/" + view); }
private void addToStoryReporterFormats(JUnitScenarioReporter junitReporter) { StoryReporterBuilder storyReporterBuilder = configuration .storyReporterBuilder(); StoryReporterBuilder.ProvidedFormat junitReportFormat = new StoryReporterBuilder.ProvidedFormat( junitReporter); storyReporterBuilder.withFormats(junitReportFormat); }
@Override public final InjectableStepsFactory stepsFactory() { final Configuration configuration = configuration(); final List<Object> steps = stepsInstances(); steps.add(lifecycleSteps); steps.add(new WebDriverScreenshotOnFailure(driverProvider, configuration.storyReporterBuilder())); return new InstanceStepsFactory(configuration(), steps); }
private void addToStoryReporterFormats(JUnitScenarioReporter junitReporter) { StoryReporterBuilder storyReporterBuilder = getConfiguration().storyReporterBuilder(); StoryReporterBuilder.ProvidedFormat junitReportFormat = new StoryReporterBuilder.ProvidedFormat(junitReporter); storyReporterBuilder.withFormats(junitReportFormat); }
private void addToStoryReporterFormats(JUnitScenarioReporter junitReporter) { StoryReporterBuilder storyReporterBuilder = getConfiguration().storyReporterBuilder(); StoryReporterBuilder.ProvidedFormat junitReportFormat = new StoryReporterBuilder.ProvidedFormat(junitReporter); storyReporterBuilder.withFormats(junitReportFormat); }
private void reportToDirectory(String path) { embedder.configuration().storyReporterBuilder().withCodeLocation(codeLocationFromPath(path)) .withDefaultFormats().withFormats(HTML, TXT, XML).withCrossReference(new CrossReference()); }
private void reportToDirectory(String path) { embedder.configuration().storyReporterBuilder().withCodeLocation(codeLocationFromPath(path)) .withDefaultFormats().withFormats(HTML, TXT, XML).withCrossReference(new CrossReference()); }
embedder.configuration().storyReporterBuilder().withCodeLocation(codeLocation);
embedder.configuration().storyReporterBuilder().withCodeLocation(codeLocation);