migrate-xunit-to-xunit-v3

Community

Upgrade 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 xunit and related dependencies to the appropriate xunit.v3.* packages and updates xunit.runner.visualstudio to match.
  • Test project configuration updates: Ensures the test projects build correctly by setting OutputType to Exe where 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.Abstractions usings, converting async void tests to async 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 required

Components

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.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.