MicrosoftPremier / VstsExtensions

Documentation and issue tracking for Microsoft Premier Services Visual Studio Team Services Extensions
MIT License
56 stars 14 forks source link

Build Quality checks - show required threshold in report #209

Closed melezhik closed 1 year ago

melezhik commented 1 year ago

Right now the task only shows current code coverage and if this passes the required one:

Using IdentifierJobResolver
Validating code coverage policy...
Successfully read code coverage data from build.
Evaluating coverage data from 1 filtered code coverage data sets...
Total lines: 166
Covered lines: 158
Code Coverage (%): 95.1807
[SUCCESS] Code coverage policy passed with 95.1807% (158/166 lines).

I would like that the tasks also prints out the required threshold, something like that ( see Required Code Coverage line ):

Code Coverage (%): 95.1807
Required Code Coverage (%): 90
[SUCCESS] Code coverage policy passed with 95.1807% (158/166 lines).
ReneSchumacher commented 1 year ago

Hi @melezhik,

thanks for the suggestion, we will add the threshold information to the log output in the next version of the task.

ReneSchumacher commented 1 year ago

Hi @melezhik,

I'm closing this issue now as it has been implemented in the latest version (v9.0.0), which should be released today.

Thanks for your feedback!