Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-22379

Code coverage in pull request diffs

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tboudale Theodora Boudale
            Votes:
            46 Vote for this issue
            Watchers:
            28 Start watching this issue

            Dates

              Created:
              Updated: