pedrovgs / UseCaseCoverage
PublicCLI tool to measure and collect use case coverage for any app or repository!
UseCaseCoverage is a developer tool that helps teams track whether their automated tests actually cover the real-world use cases, features, and bugs they've defined. Instead of just measuring lines of code covered, it measures meaningful coverage by scanning test files for references to use case IDs defined in specification files, then generating visual reports showing what's covered and what gaps exist. Everything runs locally on your machine with no data sent anywhere.
How It Works
Your tests cover 80% of the code, but you still don't know which real features are actually tested.
In simple YAML files, you list your features, the steps each use case should follow, and what you expect to happen.
You add the feature ID to your test code—either in a comment, the test name, or anywhere nearby. One test can cover multiple features.
With one command, the tool scans your entire project and finds which tests cover which features—no matter what language you use.
A beautiful report appears showing your overall coverage, which features are tested, and where the gaps are.
Now you can see which real-world use cases have automated tests and which ones still need attention—no guessing required.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.