Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

test-scout

A Claude Code plugin that finds untested code paths and generates targeted unit tests by analyzing coverage gaps and control flow.

Install

claude plugin install /Users/mehmet.turac/Documents/minitools/ideasmimo/test-scout

Commands

Command Description
/test-scout Find coverage gaps across the whole project
/test-scout-gaps [path] Show untested files and functions for a path
/test-scout-generate [file] Generate test stubs for a specific file
/test-scout-mutate [file] Run mutation check to verify tests catch real bugs

Example Gap Report

/test-scout

Detected framework: Vitest

=== Completely Untested Files ===

| File | Exports | Complexity | Priority |
|------|---------|------------|----------|
| src/billing/invoice.ts | generateInvoice, formatCurrency, applyDiscount | 18 | HIGH |
| src/utils/crypto.ts | hashPassword, compareHash | 11 | HIGH |
| src/lib/queue.ts | QueueManager | 6 | MEDIUM |

=== Tested Files with Uncovered Exports ===

| Source File | Test File | Uncovered Exports |
|-------------|-----------|-------------------|
| src/services/auth.ts | src/services/auth.test.ts | validateToken, refreshSession |
| src/utils/validators.ts | src/utils/validators.test.ts | sanitizeInput |

=== Priority Action Items (complexity > 3) ===

| Function | File | Complexity | Branches |
|----------|------|------------|---------|
| generateInvoice | src/billing/invoice.ts | 18 | 5 if/else, 2 loops, 3 try/catch |
| hashPassword | src/utils/crypto.ts | 11 | 4 if/else, 2 ternary, 1 catch |
| validateToken | src/services/auth.ts | 9 | 3 if/else, 2 &&, 1 catch |
| refreshSession | src/services/auth.ts | 7 | 3 if/else, 1 ternary |

Summary: 12 source files scanned, 3 with no tests, 2 with partial coverage, 4 high-complexity gaps.

Supported Frameworks

  • Vitest
  • Jest
  • Pytest
  • Mocha

Supported Languages

  • TypeScript / JavaScript (.ts, .tsx, .js, .jsx, .mjs)
  • Python (.py)

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors