public static CreateFailed ( ) : TestCaseResultServerEvent | ||
리턴 | StatLight.Core.Events.TestCaseResultServerEvent |
public void Should_be_able_to_add_test_results() { var result = new TestReport("test"); result.AddResult(TestCaseResultFactory.CreatePassed()); result.AddResult(TestCaseResultFactory.CreateFailed()); result.TotalResults.ShouldEqual(2); }
protected override void Before_all_tests() { base.Before_all_tests(); _result = new TestReport("test"); _result .AddResult(TestCaseResultFactory.CreateIgnored()) .AddResult(TestCaseResultFactory.CreateFailed()) .AddResult(TestCaseResultFactory.CreateFailed()) .AddResult(TestCaseResultFactory.CreatePassed()) .AddResult(TestCaseResultFactory.CreatePassed()) .AddResult(TestCaseResultFactory.CreatePassed()) ; }