You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steps to follow to enable full code coverage for repositories if diff coverage is not supported
For other repositories, you can use Build Quality Checks extension. Follow the instructions in the link mentioned to enable this in build task & also via branch policy. This extension supports having a baseline build definition & use that as reference to ensure PR coverage doesn't drop the base coverage percentage. Since diff coverage is not supported, we should leverage this to ensure the code coverage gradually goes up.
Note that, if you are running only the tests for code that may be afffected by the change, this won't give you full coverage. It will only give you the coverage for the tests run.
Task type
Engineering excellence
Description
The Build Quality Checks task allows you to add quality gates to your build process.
Guidance : https://eng.ms/docs/microsoft-security/identity/identity-productivity/quality/test/unittest/enablecodecoverageinprs
Solution
Steps to follow to enable full code coverage for repositories if diff coverage is not supported
For other repositories, you can use Build Quality Checks extension. Follow the instructions in the link mentioned to enable this in build task & also via branch policy. This extension supports having a baseline build definition & use that as reference to ensure PR coverage doesn't drop the base coverage percentage. Since diff coverage is not supported, we should leverage this to ensure the code coverage gradually goes up.
Note that, if you are running only the tests for code that may be afffected by the change, this won't give you full coverage. It will only give you the coverage for the tests run.
https://marketplace.visualstudio.com/items?itemName=mspremier.BuildQualityChecks
The text was updated successfully, but these errors were encountered: