public void Parse()
        {
            // Arrange
            string xml = XmlPathUtility.GetTestXmlContent("MSTest.xml");

            // Act
            TestRun testRun = MsTestResultsParser.Parse(XDocument.Parse(xml));

            // Assert
            AssertTestRun(testRun, 12, 4, 6, 2, "Failed", false, "BoraA@DT167 2018-09-23 19:48:07");
        }
Exemplo n.º 2
0
        public void Parse()
        {
            // Arrange
            string xml = XmlPathUtility.GetTestXmlContent("XUnit2.xml");

            // Act
            TestRun testRun = XUnit2TestResultsParser.Parse(XDocument.Parse(xml));

            // Assert
            AssertTestRun(testRun, 12, 4, 6, 2, "Failed", false, "XUnit 09/23/2018 19:57:53");
        }