
Test Smell Detection
Audits existing tests against the testsmells.org 19-smell academic catalog, naming each finding with citable research categories.
- skills.sh installs
- 4.5K
- GitHub stars
- 6.3K
- last updated
- Aug 1, 2026
What it does
- Covers 19 formal smells (Assertion Roulette, Mystery Guest, Eager Test, Sleepy Test, Sensitive Equality, and others) with research-backed severity ranking
- Supports .NET, Python, TypeScript/JavaScript, Java, Go, Ruby, Rust, Swift, Kotlin, PowerShell, and C++ with framework-correct fixes
- Calibrates findings against idioms such as table-driven tests, parametrization, and integration markers to limit false positives
- Designed for academic or citable test-smell reviews, not quick pragmatic audits or test writing, running, or migration
Install
$ npx -y skills add dotnet/skills --skill test-smell-detection -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Test Smell Detection
Deep formal audit of test code in any supported language using an academic test smell taxonomy. Detects symptoms of bad design or implementation decisions that make tests harder to understand, more fragile, less effective at catching bugs, or more expensive to maintain. Produces a severity-ranked report with specific locations and actionable fixes.
Language-specific guidance: Call the
test-analysis-extensionsskill to discover available extension files, then read the file matching the target codebase. The extension file documents test markers, sleep / time / random APIs, skip annotations, setup/teardown, mystery-guest indicators (file/database/network/env), integration markers, and language-specific calibration notes that drive the smell detectors below.
Why Test Smells Matter
Test smells erode confidence in a test suite and inflate maintenance costs:
Details
- Repository
- github.com/dotnet/skills
- Categories
- Testing & QA, Code Review & Quality
- License
- MIT
- First seen
- Aug 2, 2026
More from dotnet/skills
All 95- Migrate Nullable References4.5K
- Mtp Hot Reload4.5K
- Clr Activation Debugging4.4K
- Migrate Dotnet8 To Dotnet94.4K
- Including Generated Files4.4K
- Nuget Trusted Publishing4.4K
- Resolve Project References4.4K
- Generate Testability Wrappers4.4K
- Maui App Lifecycle4.4K
- Thread Abort Migration4.4K
- Create Skill Test4.3K
- Template Discovery4.3K
- Migrate Static To Wrapper4.3K
- Create Custom Agent4.3K
- Template Instantiation4.3K
- Test Tagging4.3K
- Android Tombstone Symbolication4.3K
- Migrate Xunit To Xunit V34.3K
- Template Authoring4.3K
- Migrate Vstest To Mtp4.3K
- Maui Data Binding4.3K
- Migrate Mstest V1v2 To V34.3K
- Maui Dependency Injection4.3K
- Migrate Mstest V3 To V44.3K
Similar to Test Smell Detection
More Testing & QA
test-anti-patternsSkilldotnet/skills5.7K installsAudits test suites in any language for anti-patterns, producing a severity-ranked report of false-confidence and maintainability issues.
test-taggingSkilldotnet/skills4.3K installsClassifies existing tests by standard traits, reporting their distribution and applying canonical attributes where supported.
test-quality-inspectorSkillbobmatnyc/claude-mpm-skills381 installsTest quality inspection framework that flags worthless assertions and missing negative cases in test suites.
test-auditPlugindashed/claude-marketplace27 starsDecide whether a test earns its place: an authoring gate for new tests (what it protects, which regression fails it, why coverage misses it, no test-only seams,
test-guardSkillamelnagdy/guard-skills4.4K installsNine rules that stop AI-generated test bloat: behavior over implementation, justified mocks, and no framework tests.
test-quality-analysisSkillsecondsky/claude-skills474 installsPractical review guide that flags test smells such as overmocking, fragile selectors, flaky async code, and weak assertions.