public void SimpleFailedTest() { Console.WriteLine("This is test output, we are logging some stuff!"); Console.WriteLine($"Comparing '{TestData.Actual}' and '{TestData.Expected}'"); TestDataHelper.AddTestData(TestData.Actual, TestData.Expected, "Let's compare to XML strings!"); Console.WriteLine($"Comparing '{TestData.Actual}' and '{TestData.Expected}'"); TestDataHelper.AddTestData(TestData.Actual, TestData.Expected, "Let's compare for the second time!"); Assert.AreEqual(1, 2); }
//[Ignore("Skipped for now")] public void SimplePassedTest() { Console.WriteLine("This is test output, we are logging some stuff!"); Console.WriteLine($"Comparing '{TestData.Actual}' and '{TestData.Expected}'"); TestDataHelper.AddTestData(TestData.Actual, TestData.Expected, "Let's compare to XML strings!"); Console.WriteLine($"Comparing '{TestData.Actual}' and '{TestData.Expected}'"); TestDataHelper.AddTestData(TestData.Actual, TestData.Expected, "Let's compare for the second time!"); TestContext.AddTestAttachment(Path.GetTempFileName()); Assert.AreEqual(1, 1); }