vendredi 30 janvier 2015

Sonar Java - Is there a way to enforce unit test coverage?

Currently I have Sonar setup to show unit test coverage which works great. Is there a way to enforce a certain percentage of unit test coverage for a project? For example if the coverage drops below 50%, I want it to be a sonar violation and for my build to fail.


Aucun commentaire:

Enregistrer un commentaire