Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
2 contributors

Users who have contributed to this file

@richardwerkman @Mobrockers
71 lines (46 sloc) 2.15 KB

Stryker supports a variety of reporters. Enabled reporters will be activated during and after your Stryker run.

The default reporters are:

dotnet stryker --reporters "['cleartext', 'progress']"

Html reporter

Our html reporter will output a html file that will visually display your project and all mutations. This is our recomended reporter for larger projects, since it displays large number of mutations in a clear way.

dotnet stryker --reporters "['html']"

Example:

html reporter

Console reporter

Stryker.NET default report. It displays all mutations right after the mutation testrun is done. Ideal for a quick run, as it leaves no file on your system.

dotnet stryker --reporters "['cleartext']"

Example:

console reporter

Progress reporter

This reporter outputs the current status of the mutation testrun. It has a nice visual look so you can quickly see the progress. We recomend to use this reporter on large projects. It also shows an indication of the estimated time for Stryker.NET to complete.

dotnet stryker --reporters "['progress']"

Example:

progress bar reporter

Console dots reporter

A basic reporter do display the progress of the mutationtest run. It indicates very simple how many mutants have been tested and their status. This is ideal to use on build servers, as it has little/no performance loss while still giving insight.

dotnet stryker --reporters "['dots']"

Example:

console dots reporter

Where "." means killed, "S" means survived and "T" means timed out.

Json reporter

This reporter outputs a json file with all mutation testrun info of the last run. The json is also used for the HTML reporter, but using this reporter you could use the file for your own purposes.

dotnet stryker --reporters "['json']"
You can’t perform that action at this time.