public void should_handle_specification_with_examples() { var spec = new StubUserStoryScenarioForWithExamples(); var sut = new BddfyTestEngine(); sut.Execute(spec); spec.ExamplesWasCalled.ShouldBe(2); }
public void should_display_examples_on_reports() { var scenario = new StubUserStoryScenarioForWithExamples(); var sut = new BddfyTestEngine(); var story = sut.Execute(scenario); var reporter = new TextReporter(); reporter.Process(story); Approvals.Verify(reporter.ToString()); }