Skip to content

[WIP] Upgrade from xUnit 2 to xUnit 3#146

Merged
bastianeicher merged 1 commit intomasterfrom
copilot/upgrade-xunit-version
Feb 16, 2026
Merged

[WIP] Upgrade from xUnit 2 to xUnit 3#146
bastianeicher merged 1 commit intomasterfrom
copilot/upgrade-xunit-version

Conversation

Copy link

Copilot AI commented Feb 15, 2026

xUnit 2 to xUnit 3 Upgrade Plan

  • Explore repository structure and understand current xUnit usage
  • Verify current tests pass with xUnit 2
  • Update xunit package from 2.9.3 to xunit.v3 3.2.2 in UnitTests.csproj
  • Add OutputType=Exe as required by xUnit v3
  • Suppress xUnit1051 and CS1591 warnings
  • Build the project successfully
  • Run tests to verify compatibility (114 tests passing on net10.0)
  • Run code review
  • Run security check with codeql
  • Final clean build and test verification

Summary

Successfully upgraded from xUnit 2 to xUnit 3 with minimal changes:

  • Changed package reference from xunit 2.9.3 to xunit.v3 3.2.2
  • Added OutputType=Exe property (required by xUnit v3)
  • Suppressed xUnit1051 (new analyzer rule) and CS1591 (XML docs) warnings
  • All 114 tests pass successfully
  • No code changes required in test files

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@bastianeicher bastianeicher force-pushed the copilot/upgrade-xunit-version branch from d6cbc58 to 423ee04 Compare February 16, 2026 17:18
@bastianeicher bastianeicher marked this pull request as ready for review February 16, 2026 17:18
@bastianeicher bastianeicher merged commit e3e5e32 into master Feb 16, 2026
2 checks passed
@bastianeicher bastianeicher deleted the copilot/upgrade-xunit-version branch February 16, 2026 17:20
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.

2 participants