Skip to content

Commit c97f7ad

Browse files
dependabot[bot]KaliCZclaude
committed
Bump nuget group + switch tests to Microsoft Testing Platform (MTP) (#8)
* Bump the nuget group with 5 updates Bumps BenchmarkDotNet from 0.13.6 to 0.15.8 Bumps FsCheck.Xunit from 2.16.6 to 3.3.2 Bumps Microsoft.NET.Test.Sdk from 17.12.0 to 18.4.0 Bumps xunit from 2.9.2 to 2.9.3 Bumps xunit.runner.visualstudio from 2.8.2 to 3.1.5 --- updated-dependencies: - dependency-name: BenchmarkDotNet dependency-version: 0.15.8 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: nuget - dependency-name: FsCheck.Xunit dependency-version: 3.3.2 dependency-type: direct:production update-type: version-update:semver-major dependency-group: nuget - dependency-name: Microsoft.NET.Test.Sdk dependency-version: 18.4.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: nuget - dependency-name: xunit dependency-version: 2.9.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: nuget - dependency-name: xunit.runner.visualstudio dependency-version: 3.1.5 dependency-type: direct:production update-type: version-update:semver-major dependency-group: nuget ... Signed-off-by: dependabot[bot] <support@github.com> * Switch tests to Microsoft Testing Platform (MTP) and pin FsCheck.Xunit - Enable Microsoft Testing Platform runner via UseMicrosoftTestingPlatformRunner and TestingPlatformDotnetTestSupport. Produces an executable test host that runs natively against MTP instead of routing only through legacy VSTest. - Pin FsCheck.Xunit to 2.16.6 (last v2). FsCheck 3.x removed the Arb API used throughout the 70+ *_Old test files that are already scheduled for rewrite as part of the ongoing migration; upgrading ahead of the rewrite would require rewriting tests that are about to be deleted. - Other package bumps from dependabot (Microsoft.NET.Test.Sdk 18.4.0, xunit 2.9.3, xunit.runner.visualstudio 3.1.5, BenchmarkDotNet 0.15.8) are retained. Build + all 420 tests green. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: KaliCZ <kalandrapavel@gmail.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 9c26f81 commit c97f7ad

2 files changed

Lines changed: 10 additions & 6 deletions

File tree

src/StrongTypes.Benchmarks/StrongTypes.Benchmarks.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
</PropertyGroup>
1111
<ItemGroup>
1212
<ProjectReference Include="..\StrongTypes\StrongTypes.csproj" />
13-
<PackageReference Include="BenchmarkDotNet" Version="0.13.6" />
13+
<PackageReference Include="BenchmarkDotNet" Version="0.15.8" />
1414
</ItemGroup>
1515
</Project>
Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFramework>net10.0</TargetFramework>
44
<LangVersion>14.0</LangVersion>
55
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
66
<NoWarn>CS1591</NoWarn>
77
<IsPackable>false</IsPackable>
8+
<OutputType>Exe</OutputType>
9+
<UseMicrosoftTestingPlatformRunner>true</UseMicrosoftTestingPlatformRunner>
10+
<TestingPlatformDotnetTestSupport>true</TestingPlatformDotnetTestSupport>
11+
<GenerateTestingPlatformEntryPoint>false</GenerateTestingPlatformEntryPoint>
812
</PropertyGroup>
913
<ItemGroup>
1014
<PackageReference Include="FsCheck.Xunit" Version="2.16.6" />
11-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
12-
<PackageReference Include="xunit" Version="2.9.2" />
13-
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2" />
15+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.4.0" />
16+
<PackageReference Include="xunit" Version="2.9.3" />
17+
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5" />
1418
</ItemGroup>
1519
<ItemGroup>
1620
<ProjectReference Include="..\StrongTypes\StrongTypes.csproj" />
1721
</ItemGroup>
18-
</Project>
22+
</Project>

0 commit comments

Comments
 (0)