test-anti-patterns

Installation
SKILL.md

Test Anti-Pattern Detection

Quick, pragmatic analysis of .NET test code for anti-patterns and quality issues that undermine test reliability, maintainability, and diagnostic value.

When to Use

  • User asks to review test quality or find test smells
  • User wants to know why tests are flaky or unreliable
  • User asks "are my tests good?" or "what's wrong with my tests?"
  • User requests a test audit or test code review
  • User wants to improve existing test code

When Not to Use

  • User wants to write new tests from scratch (use writing-mstest-tests)
  • User wants direct implementation fixes in MSTest code rather than a diagnostic review (use writing-mstest-tests)
  • User asks to fix swapped Assert.AreEqual argument order (use writing-mstest-tests)
  • User asks to convert DynamicData from IEnumerable<object[]> to ValueTuple (use writing-mstest-tests)
  • User wants to run or execute tests (use run-tests)
Related skills

More from dotnet/skills

Installs
296
Repository
dotnet/skills
GitHub Stars
1.7K
First Seen
Mar 24, 2026