@BeforeClass
public static void generateReports() throws IOException {
IssueTracking issueTracking = mock(IssueTracking.class);
RequirementsService requirementsService = mock(RequirementsService.class);
environmentVariables.setProperty("output.formats","xml");
HtmlAggregateStoryReporter reporter = new HtmlAggregateStoryReporter("project", "", issueTracking,
requirementsService, environmentVariables);
outputDirectory = newTemporaryDirectory();
reporter.setOutputDirectory(outputDirectory);
File sourceDirectory = directoryInClasspathCalled("/test-outcomes/containing-nostep-errors");
reporter.generateReportsForTestResultsFrom(sourceDirectory);
driver = new PhantomJSDriver();
}