Skip to content

raschmitt/stryker-net-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Striker.Net Sample

Azure DevOps builds (job) Sonar Coverage Mutation testing badge

This is a sample project that demonstrates how Stryker .Net can be used to run mutation tests in .Net Core, if you are looking for more information on Stryker itself or what mutation tests can do for you, please refer to their official website.

Project Dependencies

Local Run

After cloning this repository the first thing to be done is to install Stryker globally:

dotnet tool install -g dotnet-stryker

Then go to the tests folder location:

cd <repository location>\Stryker.Net.Sample\Stryker.Net.Sample.Tests

And run the mutation tests:

dotnet stryker

After Stryker is done it will display your mutation score and the complete html report location.

Console reporter

Continuous Integartion

The sample workflow file shows how to easily integrate mutation tests through Stryker into a continuous integration strategy and publish results to its dashboard.

This workflow is automatically run every day, and the latest results can be found here.

About

Mutation tests sample project in .Net Core with Stryker.NET

Topics

Resources

License

Stars

Watchers

Forks

Languages