SkillTrust

← All skills

migrate-xunit-to-mstest

100 / 100 · Low risk

Fine to try.

By dotnet/skills (GitHub) · other · 5,870 stars · scanned at commit 96c3d68

Convert .NET tests from xUnit.net v2/v3 to MSTest v4 while preserving VSTest or MTP. Use for replacing xunit packages, Fact/Theory/InlineData/MemberData, assertions, IClassFixture/ICollectionFixture, ITestOutputHelper, TestContext cancellation, traits/Owner, skips, timeouts, and xUnit parallelization. Also use when a "convert xUnit to MSTest" request may already be migrated: inspect and report the no-op. Do not use for xUnit v2-to-v3, MSTest upgrades, NUnit/TUnit conversion, or runner-only VSTe…

Works with any agent that supports SKILL.md skills.

What this skill can do

We found nothing in the files we read that matches our rules. That does not prove the skill is safe: see the limits of static scanning.

Install

Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.

if [ -e ~/.agents/skills/'migrate-xunit-to-mstest' ] || [ -L ~/.agents/skills/'migrate-xunit-to-mstest' ]; then echo 'A skill folder named migrate-xunit-to-mstest already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/dotnet/skills' "$d" && git -C "$d" checkout --quiet '96c3d68dad2855e3ab5178aa1a262789d86a1466' -- 'plugins/dotnet-test-migration/skills/migrate-xunit-to-mstest' && mkdir -p ~/.agents/skills && cp -R "$d"/'plugins/dotnet-test-migration/skills/migrate-xunit-to-mstest' ~/.agents/skills/'migrate-xunit-to-mstest' && rm -rf "$d"; fi

Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'migrate-xunit-to-mstest' ~/.claude/skills/'migrate-xunit-to-mstest' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.

Badge for your README

The badge for dotnet/skills shows the score of its lowest-scoring skill.

SkillTrust badge for dotnet/skills

[![SkillTrust](https://zalavijaysinh.github.io/skilltrust/badges/dotnet/skills.svg)](https://zalavijaysinh.github.io/skilltrust/repos/dotnet/skills/)

Score history

DateVersionScore
2026-11-0896c3d68100
2026-11-0796c3d68100