public void ParametersTest() { TestingClass.Process(path + "/ParametersTests/bin"); var successTests = TestingClass.TestInformation.Where(x => !x.Crashed).ToList(); Assert.AreEqual(1, successTests.Count); }
public void ExceptionsTest() { TestingClass.Process(path + "/ExceptionTests"); var successCount = TestingClass.TestInformation.Where(x => !x.Crashed).ToList().Count; Assert.AreEqual(4, successCount); }
public void SuccessfulTestingTest() { TestingClass.Process(path + "/SuccessfulTesting"); var successCount = TestingClass.TestInformation.Where(x => x.Crashed == false).ToList().Count; Assert.AreEqual(4, successCount); }
public void IgnoreAttributeTest() { TestingClass.Process(path + "/IgnoreAttributeTest"); var ignoredTests = TestingClass.TestInformation.Where(x => !x.Ignored).ToList(); Assert.IsTrue(ignoredTests.Where(x => (x.IgnoreReason).CompareTo("TestCase") == 0) != null); Assert.IsTrue(ignoredTests.Where(x => (x.IgnoreReason).CompareTo("SecondTestCase") == 0) != null); }
public void EmptyTestsTest() { TestingClass.Process(path + "/EmptyTests"); Assert.AreEqual(4, TestingClass.TestInformation.Count); }