VinodAnandan / sonar-pitest

43 stars 30 forks source link

High-level tests quality metric #10

Closed kolov closed 8 years ago

kolov commented 8 years ago

The plugin creates an issue when a mutant survives. To use the plugin to evaluate the overall quality of the tests, instead of dealing with separate issues, some general metric would be useful, similar to Test Coverage. For example: 90% of the mutations do not survive. Are there any plans in this direction?

thomas-mc-work commented 8 years ago

Isn't this possible with quality gates?

Like that:

screenshot - 27 05 2016 - 15 20 56

kolov commented 8 years ago

Thanks a lot, So the metric I suggested is already there. This is great, a pity that I couldn't figure that out by reading the documentation https://github.com/SonarQubeCommunity/sonar-pitest - no Mutations Coverage metric mentioned:

Right now the integration of these results is quite simple, "survived mutants" on code covered by tests are seen as SonarQube issues.

I think mentioning the Mutations Coverage metric in the documentation wold be useful. Thie issue can be closed.