dotnet-stryker

Apply mutation testing to .NET projects with Stryker.NET to identify test suite weaknesses.

8|Updated Mar 29, 2026
One-click install
npx skills add https://github.com/Postpartum-genushyacinthus29/dotnet-skills --skill dotnet-stryker-postpartum-genushyacinthus29
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dotnet-stryker
Source: https://github.com/Postpartum-genushyacinthus29/dotnet-skills/tree/main/skills/dotnet-stryker
Command: npx skills add https://github.com/Postpartum-genushyacinthus29/dotnet-skills --skill dotnet-stryker-postpartum-genushyacinthus29

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Mutation testing helps teams validate the effectiveness of their .NET test suites by simulating faults and measuring whether tests detect them.

Core Features & Use Cases

  • Targeted mutation testing on critical code paths to expose weaknesses in test coverage.
  • Generate concrete artifacts (mutation scores, reports, and actionable improvements) to guide test enhancements.
  • CI-friendly workflows with clear guidance for scoped runs and budget-aware mutations.

Quick Start

Install dotnet-stryker, bootstrap a local tool manifest if needed, and run the mutation workflow against your project to produce a report.

Frequently Asked Questions about dotnet-stryker

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

FAQPage Schema
What is mutation testing in .NET and how does it validate test suite effectiveness?

Mutation testing in .NET simulates faults in your code to measure whether your tests detect them. Stryker.NET applies targeted mutations to critical code paths, exposing weaknesses in test coverage that traditional metrics miss.

How do I run scoped mutation testing on high-risk .NET libraries within a CI pipeline?

You can run scoped mutation testing on high-risk .NET libraries by configuring budget-aware mutation campaigns within your CI pipeline. Stryker.NET provides reproducible commands and configurations to target specific critical modules.

Can I generate mutation testing reports and scores for my .NET projects?

Mutation testing reports and scores are generated as concrete artifacts after running Stryker.NET against your .NET projects. These artifacts include mutation scores and recommended test improvements to guide enhancements.

What is the best way to identify test gaps in critical .NET code paths?

Targeted mutation testing is the best way to identify test gaps in critical .NET code paths. By applying Stryker.NET with scoped mutation campaigns, you expose coverage weaknesses and receive actionable recommendations for test improvements.

Does mutation testing work with budget controls for CI-friendly .NET workflows?

Yes, mutation testing supports budget-aware controls for CI-friendly .NET workflows. Stryker.NET allows you to configure scoped runs that limit mutation campaigns to critical modules, preventing pipeline timeout.

Why does my .NET test suite show high coverage but still miss critical defects?

High .NET coverage often misses critical defects because coverage metrics do not measure test assertion quality. Mutation testing with Stryker.NET simulates faults to verify whether your tests actually detect logic failures.