Configure the threshold of code coverage (COV practice)

For the Code coverage practice, there are a set of actions relating to the impact of a commit on the code coverage of a file. In particulier, tat impact is relating to a threshold of coverage to achieve by file. The idea is to separate the changes of coverage according to if they take place above or below the set treshold. 

By default, that value is set at 80 %.

Go via the navigation menu in the Practice section. Select in the filters the COV practice. Only the Facilitator profiles may do this handling.

ConfigurationCouverture.PNG

From there, it is possible to you to modify the threshold by default for the project currently in selection in the bar of filter (top part). Note that that this is not retroactive for the previous actions.

You may also define customized threshold according to the parts of code, defined by regular expressions (bottom section).

 

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.