Quality Assurance & Testing
Exp Test Maintainability
Detects duplicate boilerplate, copy-paste tests, and structural maintainability issues across .NET test suites. Use when the user asks to reduce repetition, consolidate similar test methods, convert copy-paste tests to data-driven parameterized tests, suggest a better test structure, or identify refactoring opportunities. Identifies repeated construction, assertion patterns, copy-paste methods convertible to DataRow/Theory/TestCase, redundant setup/teardown, and shared infrastructure. Produces an analysis report with concrete before/after suggestions. Works with MSTest, xUnit, NUnit, and TUnit. DO NOT USE FOR: writing new tests (use writing-mstest-tests), reviewing test quality or anti-patterns (use test-anti-patterns), or deep mock auditing (use exp-mock-usage-analysis).
- Publisher / source
- dotnet/skills (found on skills.sh)
- Upstream record
- dotnet/skills
- Version
- Version 1
- Published
- Publication review
- Approved for publication · recorded passed scan 2026-11-01
- Content fingerprint
020f951207b49ed03f3e80c83e3bd7f0959dee398d560aa96e9e481ccf5b7bd5