
Test Quality Inspector
This is a framework for inspecting test suites to find worthless assertions, missing edge cases, and gaps in coverage. It walks through example tests and flags things like "assert user" (which passes with corrupt data), missing negative test cases, and tests that don't actually verify persistence or state changes. The inspection reports show concrete rewrites with proper assertions, fixtures, and error case handling. Use this when reviewing PRs or auditing your own test code to catch tests that look fine but don't actually validate behavior. The examples focus on authentication flows, but the patterns apply to any domain where your tests need to prove something instead of just exercising code paths.
- skills.sh installs
- 376
- GitHub stars
- 79
- last updated
- Aug 21, 2026
Install
$ npx -y skills add bobmatnyc/claude-mpm-skills --skill test-quality-inspector --agent claude-codeInstalls into .claude/skills of the current project.
Files
Example Test Inspection Report
Scenario: User Registration Feature
Engineer's Test Suite
# test_user_registration.py
def test_user_creation():
"""Test user creation"""
user = create_user("test@example.com", "password123")
assert user
def test_login():
"""Test login"""
user = create_user("test@example.com", "password123")
result = login("test@example.com", "password123")
assert result
def test_duplicate_email():
"""Test duplicate email"""
create_user("test@example.com", "password123")
user2 = create_user("test@example.com", "password456")
assert user2
QA Inspection Report
Test 1: test_user_creation()
Claimed Intent: Test user creation Actually Tests: Object instantiation only
Issues Found
🔴 CRITICAL: Worthless Assertion
assert user # Line 5
- Would pass with corrupt data
- Would pass with wrong email
- Would pass with invalid password hash
- Would pass if database save failed
Mental Debug: User object with garbage data would pass this test.
Sponsors
Details
- Repository
- github.com/bobmatnyc/claude-mpm-skills
- Categories
- Testing & QA, Code Review & Quality
- First seen
- Jun 3, 2026
More from bobmatnyc/claude-mpm-skills
All 158- Svelte5 Runes Static373
- Stacked Prs371
- Better Auth Core368
- Homebrew Formula Maintenance366
- Better Auth Integrations363
- Reporting Pipelines363
- Better Auth Plugins362
- Git Worktrees360
- Nextjs Core357
- Fastapi Local Dev356
- Vb Winforms356
- Headlessui355
- Jest Typescript354
- Vercel Networking Domains353
- Svelte352
- Sec Edgar Pipeline351
- Env Manager350
- Mongodb350
- Vb Core350
- Phoenix Api Channels348
- Digitalocean Containers Images347
- Hono Jsx347
- Langgraph346
- Pr Quality Checklist346