Exemplo n.º 1
0
 public void TestCanAccessTestState_PassingTest()
 {
     TestStateRecordingFixture fixture = new TestStateRecordingFixture();
     TestBuilder.RunTestFixture(fixture);
     Assert.That(fixture.stateList, Is.EqualTo("Inconclusive=>Inconclusive=>Passed"));
     //Assert.That(fixture.statusList, Is.EqualTo("Inconclusive=>Inconclusive=>Passed"));
 }
Exemplo n.º 2
0
 public void TestCanAccessTestState_FailureInSetUp()
 {
     TestStateRecordingFixture fixture = new TestStateRecordingFixture();
     fixture.setUpFailure = true;
     TestBuilder.RunTestFixture(fixture);
     Assert.That(fixture.stateList, Is.EqualTo("Inconclusive=>=>Failed"));
     //Assert.That(fixture.statusList, Is.EqualTo("Inconclusive=>=>Failed"));
 }
 public void TestCanAccessTestState_IgnoredInSetUp()
 {
     TestStateRecordingFixture fixture = new TestStateRecordingFixture();
     fixture.setUpIgnore = true;
     TestBuilder.RunTestFixture(fixture);
     Assert.That(fixture.stateList, Is.EqualTo("Inconclusive=>=>Skipped:Ignored"));
 }