Skip to content

Conversation

@sadukie
Copy link
Contributor

@sadukie sadukie commented Jun 11, 2025

Closes #223

  • Updates xUnit references to latest stable xunit.v3 version
  • Removes references to Xunit.Abstractions
  • Updates CancellationToken handling with the xUnit analyzer guidance - xUnit1051
    • Replaces default values of Cancellation to either Arg.Any<CancellationToken>() or TestContext.Current.CancellationToken, depending on the code situation
    • No more CancellationToken.None - Thanks to @sdepouw for this call-out!

@sadukie sadukie linked an issue Jun 11, 2025 that may be closed by this pull request
Copy link
Member

@KyleMcMaster KyleMcMaster left a comment

Choose a reason for hiding this comment

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

:shipit:

@github-actions
Copy link

Code Coverage

Package Line Rate Branch Rate Complexity Health
Infrastructure 4% 14% 82
BlazorAdmin 0% 0% 512
UnitTests 12% 0% 132
eShopWeb.AspireServiceDefaults 0% 0% 8
ApplicationCore 32% 27% 116
Web 0% 0% 749
BlazorShared 0% 0% 48
Summary 4% (273 / 7086) 1% (11 / 897) 1647

@sadukie sadukie merged commit bcd43e3 into main Jun 11, 2025
2 checks passed
@sadukie sadukie deleted the sadukie/xunit-to-v3 branch June 11, 2025 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update to xUnit v3

3 participants