Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-129634

Jacoco Test Coverage Report doesn't include Integration Test Information

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: Master
    • Fix Version/s: None
    • Labels:
      None
    • Fix Priority:
      3

      Description

      Description

      I have checked that the Jacoco Test Coverage that we execute in the CI is not complete, the Test Integration Coverage is not included anymore.

      You can see an example in https://test-1-1.liferay.com/userContent/jobs/test-portal-acceptance-upstream-dxp(master)/builds/1663/.

      For example I have checked the package: file:///Users/crtistinagonzalez/Downloads/jacoco-html-report/com.liferay.content.dashboard.web.internal.display.context/index.html

      The coverage is 0%, but it has been covered with the test included in 

      [ContentDashboardAdminPortletTest

      https://github.com/liferay/liferay-portal/blob/a252ea947c16f5b6808d9254c33529a74f5befa5/modules/apps/content-dashboard/content-dashboard-test/src/testIntegration/java/com/liferay/content/dashboard/web/internal/portlet/test/ContentDashboardAdminPortletTest.java]

      How to reproduce it

      1. Got to https://test-1-1.liferay.com/userContent/jobs/test-portal-acceptance-upstream-dxp(master)/builds/
      2. Find a build that contains a Jacoco folder (jacoco/[html-report|https://test-1-1.liferay.com/userContent/jobs/test-portal-acceptance-upstream-dxp(master)/builds/1662/jacoco/html-report]), for example: https://test-1-1.liferay.com/userContent/jobs/test-portal-acceptance-upstream-dxp(master)/builds/1663/
      3. Download the zip file in the Jacoco folder and check the results

      Expected result:

      The Jacoco report contain the information of the integration tests

      Actual result:
      **

      The Jacoco report does not contain the information of the integration tests

       

       

      Thanks!!

        Attachments

          Activity

            People

            Assignee:
            victor.ware Victor Ware
            Reporter:
            cristina.gonzalez Cristina Gonzalez
            Participants of an Issue:
            Recent user:
            Victor Ware
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 week, 4 days ago

                Packages

                Version Package