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

Cannot run individually wiki-test-docker tests

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • None
    • 12.4
    • Test Framework
    • None
    • Unknown
    • N/A
    • N/A

    Description

      It is currently not possible to run individually the tests scenario from the module xwiki-platform-wiki-test-docker. To reproduce it, just try to run mvn clean install -Dit.test=WikiTemplateIT in that module.

      The reason of that problem, is that the tests needs a UITest configuration defined only in AllIT so when using -Dit.test AllIT is skipped and so is the setup.
      An easy fix is to copy/pasted the AllIT setup in every tests, but that's definitely error-prone in case of test evolution. Would be probably cleaner to have a proper way to select a test to execute from AllIT by using a dedicated parameter such as -Dpattern in non-docker integration tests.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: