migrate-xunit-to-xunit-v3
CommunityUpgrade xUnit v2 tests to v3 safely
Author1k-off
Version1.0.0
Installs0
System Documentation
What problem does it solve?
xUnit.net v3 upgrades break test projects that still depend on xUnit.net v2 packages and old APIs, causing compilation failures and failing migrations.
Core Features & Use Cases
- Package and project reference migration: Switches
xunitand related dependencies to the appropriatexunit.v3.*packages and updatesxunit.runner.visualstudioto match. - Test project configuration updates: Ensures the test projects build correctly by setting
OutputTypetoExewhere required and keeping the correct test platform behavior (VSTest vs Microsoft Testing Platform). - Code and API breaking-change remediation: Updates common breaking changes such as removing
Xunit.Abstractionsusings, convertingasync voidtests toasync Task, and handling updated attribute type signatures and other migration-specific transformations.
Quick Start
Use this skill to migrate a .NET solution named MySolution.sln from xUnit.net v2 to xUnit.net v3 and get all tests passing after the required package, configuration, and code updates.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: migrate-xunit-to-xunit-v3 Download link: https://github.com/1k-off/umbraco-observability-playground/archive/main.zip#migrate-xunit-to-xunit-v3 Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.