public void TestCanAccessTestState_IgnoredInSetUp() { TestStateRecordingFixture fixture = new TestStateRecordingFixture(); fixture.setUpIgnore = true; TestBuilder.RunTestFixture(fixture); Assert.That(fixture.stateList, Is.EqualTo("Inconclusive=>=>Ignored")); Assert.That(fixture.statusList, Is.EqualTo("Inconclusive=>=>Skipped")); }
public void TestCanAccessTestState_PassingTest() { TestStateRecordingFixture fixture = new TestStateRecordingFixture(); TestBuilder.RunTestFixture(fixture); Assert.That(fixture.stateList, Is.EqualTo("Inconclusive=>Inconclusive=>Success")); Assert.That(fixture.statusList, Is.EqualTo("Inconclusive=>Inconclusive=>Passed")); }
public void TestCanAccessTestState_FailingTest() { TestStateRecordingFixture fixture = new TestStateRecordingFixture(); fixture.testFailure = true; TestBuilder.RunTestFixture(fixture); Assert.That(fixture.stateList, Is.EqualTo("Inconclusive=>Inconclusive=>Failure")); Assert.That(fixture.statusList, Is.EqualTo("Inconclusive=>Inconclusive=>Failed")); }