Lightlines
By dotnet

migrate-nunit-to-mstest

dotnet1.1k installs

Move NUnit tests to MSTest with behavior intact.

What it does

Converts NUnit tests to MSTest v4 while preserving test behavior, target framework, and test platform.

When to use it

Use when a project contains NUnit packages or source and the user wants MSTest; report a no-op if already migrated.

How to use it

Give it a project to migrate from NUnit to MSTest; it edits the tests, builds, and runs them to verify parity.

What you provide

  • An existing project

Latest review

What you need · 2

Test applications must target .NET 8+ or .NET Framework 4.6.2+ for MSTest v4; unsupported targets stop the migration before package changes.

Uses platform-detection when identifying VSTest versus MTP is ambiguous; whether it must be installed to complete the workflow is unstated.


Access · 0

No additional actions listed.