Skip to content

Commit

Permalink
fix: update to testlogger with fix for char parsing issue (#49)
Browse files Browse the repository at this point in the history
* Update to testlogger with fix for char parsing issue

* Fix: update skipped count. See spekt/testlogger#26
  • Loading branch information
Siphonophora authored Dec 4, 2021
1 parent 6887644 commit 42cd7e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/dependencies.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<MSTestVersion>2.0.0</MSTestVersion>
<NETTestSdkVersion>15.7.2</NETTestSdkVersion>
<MoqVersion>4.9.0</MoqVersion>
<TestLoggerVersion>3.0.44</TestLoggerVersion>
<TestLoggerVersion>3.0.54</TestLoggerVersion>

<!-- Test Assets use the minimum supported versions -->
<NETTestSdkMinimumVersion>15.5.0</NETTestSdkMinimumVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public void TestResultFileShouldContainTestSuiteInformation()

Assert.AreEqual("52", node.Attribute(XName.Get("tests")).Value);
Assert.AreEqual("14", node.Attribute(XName.Get("failures")).Value);
Assert.AreEqual("6", node.Attribute(XName.Get("skipped")).Value);
Assert.AreEqual("8", node.Attribute(XName.Get("skipped")).Value);

// Errors is zero becasue we don't get errors as a test outcome from .net
Assert.AreEqual("0", node.Attribute(XName.Get("errors")).Value);
Expand Down Expand Up @@ -93,7 +93,7 @@ public void TestResultFileShouldContainTestCases()
.Where(x => x.Descendants().Any(y => y.Name.LocalName == "skipped"))
.ToList();

Assert.AreEqual(6, skips.Count());
Assert.AreEqual(8, skips.Count());
}

[TestMethod]
Expand Down

0 comments on commit 42cd7e2

Please sign in to comment.