Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-16007

Recover lost coverage for xwiki-platform-url-api

    Details

    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      From IRC/Matrix:

      Thomas added 2 new classes (ParentResourceReference & AbstractParentResourceReferenceResolver) in XWIKI-15096 (see https://github.com/xwiki/xwiki-platform/commit/b74e949ae652ed97a9d04e880dc98254a06a666e) and also reduced the theshold in the pom.xml ( from 0.36% to 0.33% (https://github.com/xwiki/xwiki-platform/commit/1df69e12a7e5163ebad8e4860f68a096299b70fc)

      What happens is that even though we had only 36% unit-coverage, we had 89.56% full coverage and the 2 new classes are not tested anywhere in any test, thus lowering the full coverage from 89.56% to 74.9%!

      Needs to be improved back to the previous level (i.e 89.56%).

      Useful URLs:

        Attachments

          Activity

            People

            • Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              vmassol Vincent Massol
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: