stryker-mutator / mutation-testing-elements

🗃 A schema for mutation testing results with the web components to visualise it 📊
Apache License 2.0
28 stars 19 forks source link

.NET implementation of mutation-testing-metrics #159

Open rajbos opened 4 years ago

rajbos commented 4 years ago

As disussed in the Stryker for .NET repository, it would be helpful to have a .NET implementation of the mutation-testing-metrics package so we have a way to calculate the metrics with after running the stryker-net tool.

This issues is a starting point for discussing where to start with adding this additional package.

  1. How to structure the layout? The whole repository is structured as a npm repo with the default paths. Do we want to group them in their own toolstack folders inside of mutation-testing-elements/packages/mutation-testing-metrics ?

I'll see if I can start something in the meanwhile that can be copied over :-)

hugo-vrijswijk commented 4 years ago

I've started on a Scala implementation in #65. I think it would be useful to tackle both implementations in similar ways.

For it, I decided to integrate as much as possible in the Lerna lifecycle for testing, releasing, etc by overriding some commands in the package.json. For the folder, I decided on packages/mutation-testing-metrics-scala, though that is up for debate of course (and quite long).

The most difficult thing for me was integrating into the release process (which has not been tested yet)

mu88 commented 3 months ago

Is there any news about this? I'm looking for a way to get the mutation score from the JSON output (see stryker-net#763)