migrate-nunit-to-mstest - Migrate NUnit Tests to MSTest v4
Converts NUnit 3/4 tests to MSTest v4 while preserving the target framework, test runner, discovery, lifecycle, data, filtering, and concurrency behavior.
Tags
Updated: 2026-09-30Capabilities
Typical Inputs
What this skill does
- Inspect test projects and source
- Detect NUnit version and runner
- Replace NUnit packages and attributes
- Translate assertions and lifecycle
- Preserve test data and semantics
- Build and run tests
- Report no-op migrations
Inputs
- Current working directory
- .NET test projects and source
- User migration request and scope
- Runner and configuration files
- Existing CI or test results
Outputs
- Modified test project files
- Build and test results
- Migration summary with test counts
- No-op migration status
Requirements
- .NET 8+ or .NET Framework 4.6.2+
- MSTest v4-compatible package source
- Permission to edit project files
- dotnet CLI test environment
