dotnet-test-quality

Analyze .NET test quality using Coverlet, ReportGenerator, and Stryker.NET.

1|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/rudironsoni/dotnet-agent-harness --skill dotnet-test-quality-rudironsoni
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dotnet-test-quality
Source: https://github.com/rudironsoni/dotnet-agent-harness/tree/main/.rulesync/skills/dotnet-test-quality
Command: npx skills add https://github.com/rudironsoni/dotnet-agent-harness --skill dotnet-test-quality-rudironsoni

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill addresses the challenge of ensuring .NET test suites are robust, reliable, and truly effective at catching bugs, by providing tools and strategies to measure and improve test quality.

Core Features & Use Cases

  • Code Coverage Analysis: Measure how much of your code is exercised by tests using Coverlet.
  • Report Generation: Create human-readable HTML reports of coverage using ReportGenerator.
  • Risk Assessment: Identify complex, undertested code with CRAP scores.
  • Mutation Testing: Evaluate test suite resilience with Stryker.NET.
  • Flaky Test Management: Detect and strategize around unreliable tests.
  • Use Case: After implementing new features, use this Skill to run code coverage and mutation testing to ensure your new tests are comprehensive and catch potential regressions before they reach production.

Quick Start

Run code coverage collection and generate an HTML report for your .NET project.

Frequently Asked Questions about dotnet-test-quality

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

FAQPage Schema
How do I measure .NET test effectiveness using mutation testing?

Mutation testing evaluates .NET test effectiveness by injecting code mutations using Stryker.NET to verify if your test suite catches the injected bugs. This Skill orchestrates the process to identify undertested logic and improve resilience.

What's the best way to generate HTML code coverage reports for a .NET project?

The best way to generate HTML code coverage reports for a .NET project is combining Coverlet for coverage collection with ReportGenerator. This Skill integrates both tools to produce human-readable reports detailing your test metrics.

How does CRAP score identify risky and undertested .NET code?

The CRAP score identifies risky .NET code by calculating complexity against test coverage levels. This Skill assesses risk to highlight complex, undertested areas in your codebase that require immediate testing improvements.

Can I detect and manage flaky tests in my .NET test suite?

You can detect and manage flaky tests in your .NET test suite using this Skill's flaky test management capabilities. It strategizes around unreliable tests to ensure your suite remains robust and prevents false failures.

Do I need Coverlet and Stryker.NET to assess .NET test quality?

You need Coverlet and Stryker.NET because they provide the core code coverage and mutation testing engines for .NET. This Skill leverages these specific dependencies to deliver comprehensive test quality analysis and reporting.