Stryker.NET performs mutation testing on .NET Core and .NET Framework projects by injecting temporary faults to see whether tests catch them.
Overview
Stryker.NET is part of the Stryker Mutator family focused on C# and .NET. Mutation testing here means changing source code in small ways and checking whether existing unit tests fail, which surfaces gaps in test coverage that line coverage alone might miss.
The tool targets .NET Core and .NET Framework projects within the minimum and tested framework versions described in its compatibility notes. Configuration, supported mutation types, and report formats are documented separately for operators adopting it in a pipeline or on a workstation.
Stryker Mutator’s website highlights shared themes across language ports: many mutation kinds, parallel test runs with code analysis for speed, compatibility with common test runners, HTML reports for surviving mutants, and open-source maintenance. Stryker.NET is the C# entry in that multilingual lineup alongside JavaScript and Scala variants.
Reports can be produced through multiple built-in reporters, with HTML report issues tracked in a related mutation-testing elements project.
Key features
- Injects temporary code mutations
- Tests whether tests detect faults
- .NET Core and Framework support
- Configurable mutation set
- Multiple report formats
- Parallel test runner use
- Part of Stryker Mutator suite
- HTML mutation reports
Use cases
- Evaluating unit test effectiveness
- Finding weak assertions in .NET code
- CI mutation testing gates
- Improving test suites before release