Skip to content

Commit

Permalink
fix: upgrade testlogger version. (#81)
Browse files Browse the repository at this point in the history
Assembly resolution conflict is caused when different
testloggers are used with different dependency on the
common testlogger. E.g. junit.testlogger and nunit.testlogger
depend on different common testloggers. This may result
in an exception while loading the outdated logger due to
breaking APIs in common testlogger.

Fixes #80
  • Loading branch information
codito authored May 21, 2021
1 parent 516893f commit 7d302a3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions scripts/dependencies.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
<MSTestVersion>1.3.2</MSTestVersion>
<NETTestSdkVersion>15.7.2</NETTestSdkVersion>
<MoqVersion>4.9.0</MoqVersion>
<TestLoggerVersion>3.0.31</TestLoggerVersion>
<TestLoggerVersion>3.0.37</TestLoggerVersion>

<!-- Test Assets use the minimum supported versions -->
<NETTestSdkMinimumVersion>15.0.0</NETTestSdkMinimumVersion>
<NUnitVersion>3.10.1</NUnitVersion>
<NUnitTestAdapterVersion>3.10.0</NUnitTestAdapterVersion>
<NUnitVersion>3.13.2</NUnitVersion>
<NUnitTestAdapterVersion>4.0.0-beta.2</NUnitTestAdapterVersion>

<StylecopVersion>1.1.118</StylecopVersion>
</PropertyGroup>
Expand Down
3 changes: 2 additions & 1 deletion src/NUnit.Xml.TestLogger/NUnitXmlSerializer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ public static IEnumerable<TestSuite> GroupTestSuites(IEnumerable<TestSuite> suit
public string Serialize(
LoggerConfiguration loggerConfiguration,
TestRunConfiguration runConfiguration,
List<TestResultInfo> results)
List<TestResultInfo> results,
List<TestMessageInfo> messages)
{
var doc = new XDocument(this.CreateTestRunElement(results, runConfiguration));
return doc.ToString();
Expand Down

0 comments on commit 7d302a3

Please sign in to comment.