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

Support merging plugins in docker tests

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.2
    • Fix Version/s: 11.3-rc-1
    • Component/s: Test Framework
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      It's currently not possible to add new plugins for docker test, except by overriding completely the xwikiCfgPlugins property. So we obtain this kind of code in our tests:

      // Overridden to add the RightsManagerPlugin
          "xwikiCfgPlugins=com.xpn.xwiki.plugin.skinx.JsSkinExtensionPlugin,"
              + "com.xpn.xwiki.plugin.skinx.JsSkinFileExtensionPlugin,"
              + "com.xpn.xwiki.plugin.skinx.CssSkinExtensionPlugin,"
              + "com.xpn.xwiki.plugin.skinx.CssSkinFileExtensionPlugin,"
              + "com.xpn.xwiki.plugin.skinx.LinkExtensionPlugin,"
              + "com.xpn.xwiki.plugin.rightsmanager.RightsManagerPlugin"
      }
       

      We should be able to add a new plugin without needing to specify the whole list of plugins.

        Attachments

          Activity

            People

            • Assignee:
              vmassol Vincent Massol
              Reporter:
              surli Simon Urli
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

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