Writing mstest tests
dotnet/skills
Write, create, modernize, or fix comprehensive MSTest unit tests with MSTest 3.x/4.x APIs.
「執筆、コンテンツ、ドキュメント」分野のスキルです。Claude Code, Codex, OpenCode ほか 32 エージェント 向けのコマンドがあります。
詳細な説明
Write, create, modernize, or fix comprehensive MSTest unit tests with MSTest 3.x/4.x APIs. USE FOR: write or create MSTest unit tests, fix/modernize MSTest assertions, better MSTest assertion than Assert.IsTrue, replace hard cast with type check (IsInstanceOfType), MSTest assertion APIs (Contains, ContainsSingle, HasCount, IsEmpty, IsNotEmpty, DoesNotContain, AreSame, IsNull, StartsWith, EndsWith, MatchesRegex, IsGreaterThan, IsLessThan, IsInRange), swapped Assert.AreEqual args, replace ExpectedException with Assert.Throws, data-driven (DataRow, DynamicData, ValueTuples), lifecycle (TestInitialize, TestCleanup, TestContext), async tests and cancellation tokens, conditional execution/retry/cleanup (OSCondition, Retry), parallelization (Parallelize/DoNotParallelize), MSTest.Sdk setup, MSTESTxxxx analyzer fixes. DO NOT USE FOR: test quality audits (use test-anti-patterns), running tests (use run-tests), MSTest version migration (use the migrate-mstest skills), xUnit/NUnit/TUnit, or non-.NET languages.
- Skill
- 執筆、コンテンツ、ドキュメント
- 35 エージェント
- 6,428 スター
- MIT
このエントリーは Skills-2M のオープンデータセットから集計しました。ANG はこのスキルを実行も監査もしていません。インストール前にソースを確認してください。