Skip to content

iamdmitrij/stryker-net

 
 

Repository files navigation

Nuget Nuget Azure DevOps build Azure DevOps tests Mutation testing badge Slack

tryker.NET

Professor X: For someone who hates mutants... you certainly keep some strange company. William Stryker: Oh, they serve their purpose... as long as they can be controlled.

Introduction

Stryker offers mutation testing for your .NET Core and .NET Framework projects. It allows you to test your tests by temporarily inserting bugs in your source code.

For an introduction to mutation testing and Stryker's features, see stryker-mutator.io. Looking for mutation testing in JavaScript & Typescript or Scala?

Compatibility

Minimum target version:

  • dotnet core 1.1
  • dotnet framework 4.5
  • dotnet standard 1.3

Tested against:

  • dotnet core 3.1
  • dotnet framework 4.8

Getting started

dotnet tool install -g dotnet-stryker
cd /my/unit/test/project/folder
dotnet stryker

For more information read our getting started.

Documentation

For the full documentation on how to use Stryker.NET, see our configuration docs.

Migrating

Coming from a previous version of Stryker.NET? Take a look at our migration guide.

Supported Mutations

For the full list of all available mutations, see the mutations docs.

Supported Reporters

For the full list of all available reporters, see the reporter docs.

Contributing

Want to help develop Stryker.NET? Check out our contribution guide.

Issues for the HTML report should be issued at mutation-testing-elements.

About

Mutation testing for .NET core and .NET framework!

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 99.7%
  • Other 0.3%