migrate-xunit-to-mstest

dotnet/migrate-xunit-to-mstest · Agent Skill (multi-file)

by .NET (Microsoft) · bundle

Published · Last updated


Migrate .NET test projects from xUnit.net (v2 or v3) to MSTest v4, converting attributes, assertions, fixtures, and project configuration.

SKILL.md

Files

This skill is a package of 2 files. Install with the command above, or download the folder.

  • 📄SKILL.md entry
  • 📁references
  • 📄mapping-cheatsheet.md 24.6 KB

Related

  1. migrate-mstest-v1v2-to-v3 · dotnet
    Migrate test projects from MSTest v1 (assembly references) or v2 (NuGet 1.x-2.x) to MSTest v3, handling breaking changes like assertion overloads, DataRow constructors, .testsettings replacement, and target framework updates.
    4k
    repo stars
  2. csharp-xunit · github
    Write effective unit tests with XUnit, covering standard and data-driven testing approaches.
    36.2k
    repo stars
  3. csharp-mstest · github
    Write effective unit tests with modern MSTest 3.x/4.x, covering assertion APIs, data-driven tests, and test lifecycle best practices.
    36.2k
    repo stars
  4. mcp-csharp-test · dotnet bundle
    Test C# MCP servers at unit and integration levels using xUnit, Moq, and the MCP client SDK.
    4k
    repo stars
  5. writing-mstest-tests · dotnet
    Write, create, modernize, or fix comprehensive MSTest unit tests with MSTest 3.x/4.x APIs, covering assertions, data-driven tests, lifecycle, and async patterns.
    4k
    repo stars
  6. migrate-mstest-v3-to-v4 · dotnet
    Fix build errors and breaking changes when upgrading MSTest from v3 to v4, or plan a complete migration.
    4k
    repo stars

Frequently asked questions

How do I install the migrate-xunit-to-mstest skill?

Run npx skillmds add dotnet/migrate-xunit-to-mstest in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.

What does the migrate-xunit-to-mstest skill do?

Migrate .NET test projects from xUnit.net (v2 or v3) to MSTest v4, converting attributes, assertions, fixtures, and project configuration. It is listed under Coding & Dev Tools, Testing & QA on SkillMD.

Is migrate-xunit-to-mstest safe to use?

SkillMD's automated safety review verdict for this skill is PASS. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. Capability flags: makes network calls. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.

Which AI agents work with migrate-xunit-to-mstest?

This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.

Is migrate-xunit-to-mstest free to use?

Yes. Installing skills from SkillMD is free. This skill is licensed under MIT.

Who published migrate-xunit-to-mstest?

.NET (Microsoft) (@dotnet) published this skill as a verified publisher. Their other Agent Skills are listed on their SkillMD profile.