public void ShouldSucceed_One_Time_Out_Of_3_TestCaseSource() { InterTestContext.IncrementMethodTries("1_on_3_TestCaseSource"); if (InterTestContext.InterTestCounts["1_on_3_TestCaseSource"] == 1) { Assert.Fail(); } Assert.Pass(); }
public void One_Failure_On_Three_Should_Pass() { InterTestContext.IncrementMethodTries("1_on_3"); if (InterTestContext.InterTestCounts["1_on_3"] == 1) { Assert.Fail(); } Assert.Pass(); }
public void When_SucceedOnce_Pass() { InterTestContext.IncrementMethodTries("once"); if (InterTestContext.InterTestCounts["once"] == 2) { Assert.Fail(); } Assert.Pass(); }
public void Inherited_ShouldSucceed_One_Time_Out_Of_3() { InterTestContext.IncrementMethodTries("inherited_1_on_3"); if (InterTestContext.InterTestCounts["inherited_1_on_3"] == 1) { Assert.Fail(); } Assert.Pass(); }