One mutation testing HTML report
If you've used Stryker before, you'll know that it produces a gorgeous report you can view in the browser. It works by generating HTML files based on the events raised by Stryker. During development of Stryker4s and Stryker.NET, we realized that producing the same report would be a lot of work.
Instead of a new HTML reporter implementation for each Stryker framework, we've decided to move the logic of presenting the report to your browser. That way, any framework can support an HTML report simply by producing a JSON file.
We call it mutation testing elements and it is implemented using the mature web components suite of features. You can now use it in Stryker, Stryker.NET and Stryker4s
๐ทโ Usageโ
To enable the new HTML reporter, simply update to the latest Stryker release and enable the HTML reporter in the implementation of your choice.
- Stryker (since v1.2)
Enable by adding'html'
to yourreporters
in yourstryker.conf.js
file. - Stryker4s (since v0.3.1)
Enable by adding"html"
to yourreporters
in yourstryker4s.conf
file. - Stryker.NET (since v0.9)
Enable"html"
as reporter in yourstryker-config.json
file.
Upgrading should be painless.
๐ธ Show me the moneyโ
See two screenshots taken from a mutation testing report of Stryker itself ๐
Mutation testing elements comes with batteries included:
๐ Calculates and displays the mutation score and other metrics