assertThat(inTheTesOutcomes(executedScenarios).theOutcomeFor("edge_case_2").getTestSteps().size(), is(2));
}
@Test
public void the_test_runner_distinguishes_between_ignored_skipped_and_pending_steps() throws InitializationError {
ThucydidesRunner runner = new ThucydidesRunner(SampleTestScenario.class);
runner.run(new RunNotifier());
List<TestOutcome> executedScenarios = runner.getTestOutcomes();
assertThat(executedScenarios.size(), is(2));
TestOutcome testOutcome = executedScenarios.get(0);
TestOutcome failingTestOutcome = executedScenarios.get(1);
TestStep succeeds = testOutcome.getTestSteps().get(0);
TestStep ignored = testOutcome.getTestSteps().get(1);