Details
-
Suggestion
-
Resolution: Unresolved
-
None
Description
This request is to provide a way to show code coverage info on pull request diffs, the same way that can be done with the 'Code Coverage for Bitbucket Server' plugin:
It has been requested to show code coverage info as color-coded blocks in the pull request diff, indicating which lines of code are covered with tests (Fully, Partially, or Not covered).
An example of how this is displayed with the Bitbucket Server plugin:
This is not possible to achieve with the annotations API at the moment, as annotations are associated with one line only, and possible annotation types include only VULNERABILITY, CODE_SMELL and BUG.
It will be ideal if users can upload a code coverage file to Bitbucket Cloud and then have the code coverage info displayed in pull request diff as color-coded blocks, so that they don't need to build a plugin or write a pipe themselves.