⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Commit 2093545

Browse files
committed
Update to xunit.v3 and Microsoft.Testing.Platform
1 parent cf8f50b commit 2093545

File tree

5 files changed

+12
-9
lines changed

5 files changed

+12
-9
lines changed

global.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"sdk": {
3+
"version": "10.0.101"
4+
},
5+
"test": {
6+
"runner": "Microsoft.Testing.Platform"
7+
}
8+
}

src/Directory.Build.props

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,7 @@
6565
<NuGetAuditMode>all</NuGetAuditMode>
6666
<!-- Report low, moderate, high and critical advisories -->
6767
<NuGetAuditLevel>moderate</NuGetAuditLevel>
68+
69+
<UseMicrosoftTestingPlatformRunner>true</UseMicrosoftTestingPlatformRunner>
6870
</PropertyGroup>
6971
</Project>

src/Test/Test.csproj

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@
1515
</ItemGroup>
1616

1717
<ItemGroup>
18-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
19-
<PackageReference Include="xunit" Version="2.7.1" />
20-
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2" />
18+
<PackageReference Include="xunit.v3.mtp-v2" Version="3.2.1" />
2119
<PackageReference Include="System.Reflection.TypeExtensions" Version="4.7.0" />
2220
<PackageReference Include="System.Threading.ThreadPool" Version="4.3.0" />
2321
<PackageReference Include="Moq" Version="4.20.72" />

src/dev.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ LAYOUT_DIR="$SCRIPT_DIR/../_layout"
1717
DOWNLOAD_DIR="$SCRIPT_DIR/../_downloads/netcore2x"
1818
PACKAGE_DIR="$SCRIPT_DIR/../_package"
1919
DOTNETSDK_ROOT="$SCRIPT_DIR/../_dotnetsdk"
20-
DOTNETSDK_VERSION="8.0.416"
20+
DOTNETSDK_VERSION="10.0.101"
2121
DOTNETSDK_INSTALLDIR="$DOTNETSDK_ROOT/$DOTNETSDK_VERSION"
2222
RUNNER_VERSION=$(cat runnerversion)
2323

src/global.json

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

0 commit comments

Comments
 (0)