Code Coverage on Pull requests

sonarcloud
vsts

(michael hill) #1

Hello,

I’m having difficulty with code coverage metrics on pull requests.

VSTS will report “Code Quality check passed” even though the code contains 0% test coverage and therefore fails the Quality Gate.

Please could some assist me in getting this resolved asap.

Thanks,

Michael


(Fabrice Bellingard) #2

Hi Michael,

code coverage is currently not computed on PR. Which is why you get the current behaviour. The good news is that we plan to fix this huge limitation in the upcoming months (see MMF-1118).