Skip to main content

writing-mstest-tests

Review, modernize, fix, or explain MSTest APIs using the installed version, including classic non-SDK packages.config projects and older MSTest 3.x. ALWAYS USE to "fix swapped Assert.AreEqual arguments", "replace ExpectedException with Assert.Throws/ThrowsExactly", choose specific assertions, fix StringAssert/CollectionAssert/IsInstanceOfType, modernize DataRow or DynamicData, configure lifecycle/TestContext/cancellation/retry/parallelization, set up MSTest.Sdk, or fix MSTESTxxxx diagnostics. Preserves FixtureBase, Moq/NBuilder, project format, and package versions unless migration is requested. DO NOT USE for generating new tests (code-testing-agent), audits, running tests, framework migration, xUnit/NUnit/TUnit, or non-.NET.

Zur Installation springen

Quellinformationen

Repository
dotnet/skills
Letzte Quellaktivität
12. August 2026 um 15:38
Erkannte Sprache von SKILL.md
Englisch
Sterne
5.190
Forks
387

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.