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

test modules have no way to express the dependencies that need to be deployed first

    Details

    • Type: Task
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Master
    • Fix Version/s: None
    • Labels:
      None

      Description

      If a developer has a service builder module, i.e. sample-api, sample-service, and a test module called sample-test. Right now there is no simple straightforward declarative way for the sample-test module to express that it requires other modules, eg. sample-api, sample-service.

      Right now you have to do workarounds like adding those sample-api/service modules to `testModules` configuration which has drawbacks, or you have to do something like

      copyTestModules {
      	dependsOn ":modules:sample:sample-api:deploy", ":modules:sample:sample-service:deploy"
      }
      

      which has race conditions as the sample-api and sample-service may not be available by the time the projects are deployed.

        Attachments

          Activity

            People

            • Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              gregory.amerson Gregory Amerson
              Recent user:
              Gregory Amerson
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Packages

                Version Package