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.

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.

Key capabilities

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

Technical details

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

Explore related resources

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
9 days ago
Repository age
10 years
License
MIT

Auto-fetched from GitHub.

Ad
Favicon

 

  
 

Similar to migrate-xunit-to-mstest

migrate-xunit-to-mstest: Install, Config & GitHub Signals – SkillIndex