public void It_should_generate_the_correct_report() { ScenarioReport.Should().Be( string.Format( "Scenario Outline: eating{0}{1}Given there are 12 cucumbers{0}{1}When i eat 5 cucumbers{0}{1}Then i should have 7 cucumbers", Settings.GetSeperator(SeperatorType.Line), Settings.GetSeperator(SeperatorType.Indent))); }
public void It_should_generate_the_correct_report() { ScenarioReport.Should().Be( string.Format("{0} an assumption{3}{1} performing the deed{3}{2} it should do the right thing", Settings.GetStep(StepType.Given), Settings.GetStep(StepType.When), Settings.GetStep(StepType.Then), Settings.GetSeperator(SeperatorType.Line))); }
public void It_should_generate_the_proper_report() { ScenarioReport.Should().Be(string.Format( "{5}Feature summary{3}{4}Detail 1{3}{4}Detail 2{3}{3}{4}{0} precondition{3}{4}{1} doing the deed{3}{4}{2} it should do the right thing", Settings.GetStep(StepType.Given), Settings.GetStep(StepType.When), Settings.GetStep(StepType.Then), Settings.GetSeperator(SeperatorType.Line), Settings.GetSeperator(SeperatorType.Indent), Settings.GetToken(TokenType.Feature))); }
public void It_should_generate_the_correct_report() { ScenarioReport.Should().Be( string.Format( "{0} one thing{3}{4}{5} another thing{3}{4}{5} yet another thing{3}{1} i open my eyes{3}{2} i see something{3}{4}{6} i dont see something else", Settings.GetStep(StepType.Given), Settings.GetStep(StepType.When), Settings.GetStep(StepType.Then), Settings.GetSeperator(SeperatorType.Line), Settings.GetSeperator(SeperatorType.Indent), Settings.GetToken(TokenType.And), Settings.GetToken(TokenType.But))); }
public void It_should_generate_a_brief_report() { ScenarioReport.Should().Be( "Feature: TestSupport\r\n\r\nScenario: When generating report for default step names scenario\r\n When generating report for default step names scenario"); }
public void It_should_use_the_class_name() { ScenarioReport.Should().Be( "Feature: TestSupport\r\n\r\nScenario: Fixture uses implicit scenario description\r\n When fixture uses implicit scenario description\r\n Then it will use the class name"); }
public void But_not_for_given() { ScenarioReport.Should().NotContain(Settings.GetStep(StepType.Given)); }
public void And_when() { ScenarioReport.Should().Contain(Settings.GetStep(StepType.When)); }
public void The_report_should_have_output_for_then() { ScenarioReport.Should().Contain(Settings.GetStep(StepType.Then)); }
public void It_should_use_the_class_name() { ScenarioReport.Should().StartWith(string.Format("{0}Fixture uses implicit scenario description", GherkinTestFrameworkSettingsFacade.GetInstance().GetToken(TokenType.Scenario))); }
public void It_should_generate_the_correct_report() { ScenarioReport.Should().Be( "Feature: TestSupport\r\n\r\nScenario: When generating report for underscore step names scenario\r\n Given an assumption\r\n When performing the deed\r\n Then it should do the right thing"); }
public void It_should_generate_the_correct_report() { ScenarioReport.Should().Be( "Feature: TestSupport\r\n\r\nScenario: Pascal test\r\n Given an assumption\r\n When performing the deed\r\n Then it should do the right thing"); }
public void It_should_not_output_anything() { ScenarioReport.Should().BeEmpty(); }
public void It_should_generate_the_correct_report() { ScenarioReport.Should().Be( "Feature: TestSupport\r\n\r\nScenario: When generating report for default step names and custom steps scenario\r\n Given one thing\r\n And another thing\r\n And yet another thing\r\n When i open my eyes\r\n Then i see something\r\n But i dont see something else"); }
public void It_should_generate_the_correct_report() { ScenarioReport.Should().Be( "Feature: TestSupport\r\n\r\nScenario Outline: Eating cucumbers\r\n Given there are 12 cucumbers\r\n When i eat 5 cucumbers\r\n Then i should have 7 cucumbers"); }
public void It_should_have_tag_attributes() { ScenarioReport.Should().Contain("@Foo").And.Contain("@Bar"); }
public void It_should_generate_the_proper_report() { ScenarioReport.Should().Be( "Feature: TestSupport\r\n\r\nScenario: Test scenario\r\n Given precondition\r\n When doing the deed\r\n Then it should do the right thing"); }
public void It_should_generate_a_brief_report() { ScenarioReport.Should().Be(string.Format( "{0} generating report for default step names scenario", Settings.GetStep(StepType.When))); }