diff --git a/plugins/dotnet-test/skills/writing-mstest-tests/SKILL.md b/plugins/dotnet-test/skills/writing-mstest-tests/SKILL.md index c14b8b2635..f9d02643b9 100644 --- a/plugins/dotnet-test/skills/writing-mstest-tests/SKILL.md +++ b/plugins/dotnet-test/skills/writing-mstest-tests/SKILL.md @@ -2,17 +2,18 @@ name: writing-mstest-tests description: > 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), + USE FOR: write, create, review, or modernize MSTest tests and assertions, + better MSTest assertion than Assert.IsTrue, replace hard cast with 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, + swapped/reversed Assert.AreEqual args (Expected/Actual backwards), + 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), + async and cancellation tests, 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), + running tests (use run-tests), MSTest version migration (use migrate-mstest skills), xUnit/NUnit/TUnit, or non-.NET languages. license: MIT --- diff --git a/tests/dotnet-test/writing-mstest-tests/eval.yaml b/tests/dotnet-test/writing-mstest-tests/eval.yaml index d4eee87b5f..8d6383f01f 100644 --- a/tests/dotnet-test/writing-mstest-tests/eval.yaml +++ b/tests/dotnet-test/writing-mstest-tests/eval.yaml @@ -410,7 +410,7 @@ scenarios: - "Tests boundary conditions at grade thresholds (e.g., exactly 90 vs 89)" - "Tests that NormalizeScore caps the result at 100 when rawScore exceeds maxRaw" - "Seals the test class" - timeout: 240 + timeout: 360 # ============================================================================ # Goal 7: Collection, null, and reference assertions