Test Anti Patterns

Detection-focused review of .NET test code for anti-patterns that undermine reliability and diagnostic value. USE FOR: audit test quality, review test code, find test anti-patterns, tests pass but don't verify anything, flaky tests, ordering dependency, duplicate tests, magic values, missing/no assertions, swallowed exceptions, always-true assertions, over-mocking, test coupling, coverage touching, coverage inflation. DO NOT USE FOR: writing new tests (use writing-mstest-tests), direct MSTest API rewrites or implementation-only fixes such as swapped Assert.AreEqual argument order, running tests (use run-tests), migrating between frameworks (use migration skills), deep formal audit based on academic test smell taxonomy (use test-smell-detection).

bouclem Updated 7 repo stars

File contents

bouclem/skills/tree/main/SKILLS/DEVTOOLS/TESTING/001-test-anti-patterns commit 762da91553

Frequently asked questions

npx skillmds@latest add bouclem/test-anti-patterns