assertThat(new File(outputDirectory,"index.html"), exists());
}
@Test
public void should_generate_overall_passed_failed_and_pending_reports() throws Exception {
ReportNameProvider reportName = new ReportNameProvider();
String expectedSuccessReport = reportName.forTestResult("success");
String expectedPendingReport = reportName.forTestResult("pending");
assertThat(new File(outputDirectory, expectedSuccessReport), exists());
assertThat(new File(outputDirectory, expectedPendingReport), exists());
}