test-gap-analysis

Detect missing .NET tests by simulating mutations and checking for failures.

Updated May 28, 2026
One-click install
npx skills add https://github.com/ojrojas/AgentsInstructions --skill test-gap-analysis-ojrojas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-gap-analysis
Source: https://github.com/ojrojas/AgentsInstructions/tree/main/.claude/skills/dotnet-test/skills/test-gap-analysis
Command: npx skills add https://github.com/ojrojas/AgentsInstructions --skill test-gap-analysis-ojrojas

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Detects gaps in .NET test suites, helping to ensure tests cover critical code paths.

Core Features & Use Cases

  • Pseudo-Mutation Analysis: Simulates code changes without modifying the codebase to find potential vulnerabilities.
  • Compatibility with Major Testing Frameworks: Works with MSTest, xUnit, NUnit, and TUnit.
  • Test Gaps Identification: Highlights areas of the code that may be broken but still pass tests.

Quick Start

Perform a test gap analysis on the code in 'path/to/source' and compare against tests in 'path/to/test'.

Frequently Asked Questions about test-gap-analysis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find untested code gaps in a .NET application?

Mutation analysis identifies untested code gaps in .NET by simulating code changes and checking for failed tests. It simulates modifications without altering the codebase to highlight critical paths that tests fail to cover.

Can I use mutation testing with xUnit, MSTest, or NUnit frameworks?

Mutation testing works with MSTest, xUnit, NUnit, and TUnit frameworks. This compatibility allows you to identify test coverage blind spots across your existing .NET test suites without needing to switch frameworks.

What is pseudo-mutation analysis and how does it detect missing tests?

Pseudo-mutation analysis detects missing tests by simulating code changes to find potential vulnerabilities without modifying the codebase. If a simulated mutation does not trigger a test failure, that specific code path is identified as a testing gap.

Do I need to install additional runtime dependencies to run .NET test gap analysis?

No, .NET test gap analysis requires no runtime dependencies. It solely requires the ability to read and execute your existing .NET source code and test code to simulate mutations and evaluate test suite effectiveness.

Why does my test suite still pass when critical code paths are broken?

Your test suite passes because of blind spots in test coverage where critical code paths lack sufficient assertions. Mutation analysis addresses this by simulating code breaks to verify whether the test suite actually catches the corresponding regressions.