Uploaded image for project: 'odlparent'
  1. odlparent
  2. ODLPARENT-274

SingleFeatureTest does not contribute to JaCoCo correctly

    XMLWordPrintable

Details

    • Task
    • Status: Confirmed
    • Medium
    • Resolution: Unresolved
    • None
    • 14.0.0, 13.0.11
    • SFT

    Description

      Core problem is that a ton of MD-SAL wiring classes are OSGi-only and are reported as completely uncovered.

      One problem is that JaCoCo is disable for SFT, but even if it were, the execution report covers only SFT code, not the launched Karaf instance.

      YANGTOOLS-1167 offers hints why this is happening: we are using JaCoCo for the surefire JVM and do not pass argLine to the Karaf instance. As explained there, we need to perform a slight trick and run SFT without the options, but Karaf with those options.

      Attachments

        Issue Links

          # Subject Branch Project Status CR V

          Activity

            People

              Unassigned Unassigned
              rovarga Robert Varga
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: