Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<PackageVersion Include="Microsoft.Bcl.Memory" Version="10.0.12" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.10.0" />
<PackageVersion Include="Validation" Version="2.6.68" />
<PackageVersion Include="xunit.v3" Version="3.2.2" />
<PackageVersion Include="xunit.v3" Version="4.0.1" />

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Upgrade the test logger with xUnit

This moves the test host to Microsoft.Testing.Platform v2 while both test projects still reference GitHubActionsTestLogger 2.4.1, which belongs to the MTP-v1 stack. The repository explicitly documents in .github/dependabot.yml that logger 3.x is the MTP-v2-compatible generation and should be revisited when upgrading to xunit.v3 4.x; leaving the logger pinned and ignored can prevent it from loading when the integration workflows run dotnet test ... --logger GitHubActions. Update the logger to its compatible 3.x version and remove the stale Dependabot exclusion as part of this migration.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MTP v2 breaks VSTest CI runs

High Severity

xunit.v3 4.0.1 defaults to Microsoft Testing Platform v2 and drops the VSTest bridge on .NET 10. CI still uses VSTest-style dotnet test --logger GitHubActions with GitHubActionsTestLogger 2.4.1, and does not switch to xunit.v3.mtp-off or an MTP runner opt-in, so net10.0 test jobs can fail to run.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 3b782c7. Configure here.

<PackageVersion Include="xunit.v3.runner.console" Version="3.0.0" />
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.5" />
</ItemGroup>
Expand Down
Loading