@Test
public void html_test_results_are_written_to_the_output_directory() throws Exception {
File outputDirectory = temporaryFolder.newFolder("output");
ThucydidesRunner runner = new TestableThucydidesRunnerSample(SamplePassingNonWebScenario.class,outputDirectory);
runner.run(new RunNotifier());
List<String> generatedHtmlReports = Arrays.asList(outputDirectory.list(new HTMLFileFilter()));
assertThat(generatedHtmlReports.size(), is(3));
}