-
Notifications
You must be signed in to change notification settings - Fork 392
Description
Task type
Engineering excellence
Description
Visibility of code coverage in pull requests help developers and reviewers ensure that new code is tested. When differential code coverage is enabled for pull requests, reviewers can see which branches lack unit test coverage. This also helps prevent the introduction of untested code in a legacy repository, effectively stopping the “bleeding.” Note that, it doesn’t guarantee that the tests covering the code are effective, only that the code is covered by some test.
Code coverage status check for pull requests is only a suggestion for developers and it doesn't prevent pull requests with low code coverage from being merged into the target branch. To prevent developers from merging changes that don't meet a coverage threshold, you must configure a branch policy using the coverage status check.
Solution
Metadata
Metadata
Assignees
Type
Projects
Status