Skip to content

Commit a2d86f0

Browse files
authored
Merge pull request #25 from dotMorten/v3
Upgrade MSTest.TestAdapter to 3.6.0
2 parents a181aa1 + 23c7b7e commit a2d86f0

File tree

18 files changed

+1744
-1161
lines changed

18 files changed

+1744
-1161
lines changed

Automation/MSTestX.Console/Properties/launchSettings.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
"MSTestX.Console.Android": {
44
"commandName": "Project",
55
"commandLineArgs": "-apkpath ../../../../src/TestAppRunner/TestAppRunner.Android/bin/Debug/com.mstestx.TestAppRunner-Signed.apk -settings ../../testsettings.runsettings"
6+
},
7+
"MSTestX.Console.Windows": {
8+
"commandName": "Project",
9+
"commandLineArgs": "-remoteIp 127.0.0.1:38300 -settings ../../testsettings.runsettings - logFileName result.trx"
610
}
711
}
812
}

src/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project>
22

33
<PropertyGroup>
4-
<MSTestXAdapterVersion>2.2.10.2</MSTestXAdapterVersion>
4+
<MSTestXAdapterVersion>3.6.0</MSTestXAdapterVersion>
55
<MSTextXRunnerVersion>2.0.0</MSTextXRunnerVersion>
66
</PropertyGroup>
77

src/MSTestX.Adapter/Discovery/AssemblyEnumerator.cs

Lines changed: 386 additions & 324 deletions
Large diffs are not rendered by default.

src/MSTestX.Adapter/Discovery/UnitTestDiscoverer.cs

Lines changed: 0 additions & 170 deletions
This file was deleted.

src/MSTestX.Adapter/Execution/Extensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ static class ReflectionExtensions
1010
public static void Verify(this ExpectedExceptionBaseAttribute attr, Exception realException)
1111
{
1212
var method = typeof(ExpectedExceptionBaseAttribute).GetMethod("Verify", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance);
13-
method.Invoke(attr, new object[] { realException });
13+
method?.Invoke(attr, new object[] { realException });
1414
}
1515
}
1616
}

0 commit comments

Comments
 (0)