@Test public void the_test_runner_records_the_steps_as_they_are_executed() throws InitializationError { ThucydidesRunner runner = new ThucydidesRunner(LongSamplePassingScenarioUsingFirefox.class); runner.run(new RunNotifier()); List<TestOutcome> executedSteps = runner.getTestOutcomes(); assertThat(executedSteps.size(), is(1)); TestOutcome testOutcome1 = executedSteps.get(0); assertThat(testOutcome1.getTitle(), is("Happy day scenario")); assertThat(testOutcome1.getMethodName(), is("happy_day_scenario")); assertThat(testOutcome1.getTestSteps().size(), is(3)); assertThat(testOutcome1.getScreenshots().size(), is(not(0))); }