devcon5io / mutation-analysis-plugin

Plugin for SonarQube to process mutation analysis results.
GNU Lesser General Public License v3.0
30 stars 17 forks source link

Stryker/Javascript Support #6

Open gmuecke opened 5 years ago

gmuecke commented 5 years ago

Stryker-Mutator is a popular tool for running mutation tests in JavaScript projects. The results should be processed by the plugin too - an additional sensor would be sensible.

Stryker-Mutator already provides a dedicated sonar-stryker-plugin that is ~1 year old and is based on the SonarQube 5.6 API which contains 2 rules (survivor, no coverage) and thus creates only two types of issues. It contains no metrics.

Adding Stryker support would provide the same level of detail and the additional metrics for JavaScript projects as for Java projects, probably some new mutator-specific rules for Stryker have to be added too.

rouke-broersma commented 2 years ago

Since you opened this issue we have stryker for scala and stryker for dotnet as well :)

We have also created a mutation report schema so all our outputs are aligned. This report schema is supported by other mutation testing tools as well, and there is a pitest extension to output the result in this schema format. If you would support this schema in your plugin you would add support for 5 or more mutation testing tool results 👍

See https://github.com/stryker-mutator/mutation-testing-elements for the schema See https://github.com/Wmaarts/pitest-mutation-testing-elements-plugin for the pitest plugin

gmuecke commented 3 months ago

Hi all, I don't have any capacity to add a new feature atm, but any contribution is much appreciated!