Favicon of migrate-xunit-to-mstest

migrate-xunit-to-mstest Skill

AI Agent SkillC#Open source

Migrate .NET test projects from xUnit.net (v2 or v3) to MSTest v4. USE FOR: convert/migrate xUnit tests to MSTest, replace xunit/xunit.v3 packages, port [Fact]/[Theory]/[InlineData]/[MemberData]/[ClassData] to [TestMethod]/[DataRow]/[DynamicData], port Assert.Equal/True/Throws/ThrowsAsync to Assert.AreEqual/IsTrue/Thro Published by microsoft in testfx.

Decision snapshot

Is this a fit?

Best for

Testing, Includes SKILL.md, Reusable instructions

Works with

Compatibility not yet detected.

Access

Permission behavior not yet detected.

Setup

Copy skill directory

Project health

2 months ago · MIT license

Considerations

No specific cautions were detected. Review the source and requested permissions before installing.

What is migrate-xunit-to-mstest Skill?

Migrate .NET test projects from xUnit.net (v2 or v3) to MSTest v4. USE FOR: convert/migrate xUnit tests to MSTest, replace xunit/xunit.v3 packages, port [Fact]/[Theory]/[InlineData]/[MemberData]/[ClassData] to [TestMethod]/[DataRow]/[DynamicData], port Assert.Equal/True/Throws/ThrowsAsync to Assert.AreEqual/IsTrue/Thro Published by microsoft in testfx. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.

Trust signal
95/100
Maintenance signal
90/100
Adoption signal
75/100

Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement. See how SkillIndex evaluates profiles.

Key capabilities

  • Includes SKILL.md support
  • Reusable instructions support
  • Testing
  • Testing use cases

Declared skill metadata

  • Declared license: MIT
  • Source file: .agents/skills/migrate-xunit-to-mstest/SKILL.md

These fields retain source and confidence evidence from the indexed SKILL.md.

Compatibility and setup

Copy skill directory
  • Install or run with Copy skill directory

When to use migrate-xunit-to-mstest Skill

  • Use it for testing.

Built with

C#Copy skill directory

Editorial notes

Source

  • Creator: microsoft
  • Repository: microsoft/testfx
  • Skill file: .agents/skills/migrate-xunit-to-mstest/SKILL.md

What it does

Migrate .NET test projects from xUnit.net (v2 or v3) to MSTest v4. USE FOR: convert/migrate xUnit tests to MSTest, replace xunit/xunit.v3 packages, port [Fact]/[Theory]/[InlineData]/[MemberData]/[ClassData] to [TestMethod]/[DataRow]/[DynamicData], port Assert.Equal/True/Throws/ThrowsAsync to Assert.AreEqual/IsTrue/Thro

Skill instructions

xUnit - MSTest Migration Migrate a .NET test project from xUnit.net (v2 or v3) to MSTest v4. The outcome is a project that: - References MSTest v4 packages (or MSTest.Sdk 4.x) instead of xunit / xunit.v3. - Has every [Fact]/[Theory] rewritten as [TestMethod] and every assertion mapped to the MSTest equivalent - Builds cleanly with the same target framework - Passes the same set of tests (modulo intentional changes documented below) - Preserves the current test platform (VSTest stays on VSTest; MTP stays on MTP) This is a cross-framework migration. Do not bundle it with a version upgrade or a platform switch in the same pass -- if both are needed, do this skill first, commit, then run migrate-mstest-v3-to-v4 (if you stopped on v3) or migrate-vstest-to-mtp. When to Use - The project references xunit, xunit.assert, xunit.core, xunit.extensibility.core/execution, xunit.abstractions, or any xunit.v3. package, and you want to switch to MSTest - You want a single .NET test framework across a

Verified compatibility and discovery

Frequently asked questions

What is migrate-xunit-to-mstest?

migrate-xunit-to-mstest is a open-source AI agent skill with Copy skill directory. Migrate .NET test projects from xUnit.net (v2 or v3) to MSTest v4. USE FOR: convert/migrate xUnit tests to MSTest, replace xunit/xunit.v3 packages, port.

Who is migrate-xunit-to-mstest best for?

migrate-xunit-to-mstest is best for reusing agent instructions, scripts, and references, testing workflows.

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

Install or run migrate-xunit-to-mstest using Copy skill directory. Check migrate-xunit-to-mstest for the latest setup command.

Is migrate-xunit-to-mstest actively maintained?

migrate-xunit-to-mstest may need a closer maintenance check before production use.

Share:

Stars
1,031
Forks
305
Last commit
2 months ago
Last verified
Aug 28, 2026
Metadata fetched
Aug 28, 2026
Repository age
10 years
License
MIT

Project health auto-fetched from the source repository.

Maintain this resource?

Review this source-backed profile, send a correction with evidence, or link to it from your documentation. Claims verify your relationship to the project; profile facts still require source evidence and editorial review.

Alternatives to migrate-xunit-to-mstest