AutomationLayer.ScenarioOutlineSteps.ThenTheScenarioWill C# (CSharp) 메소드

ThenTheScenarioWill() 개인적인 메소드

private ThenTheScenarioWill ( string result ) : void
result string
리턴 void
    public void ThenTheScenarioWill(string result)
    {
        if (result.ToUpperInvariant().StartsWith("PASS"))
        {
        // nothing to be done
        }
        else if (result.ToUpperInvariant().StartsWith("FAIL"))
        {
        true.ShouldBe(false);
        }
        else
        {
        ScenarioContext.Current.Pending();
        }
    }