Uploaded image for project: 'Magnolia Test Framework'
  1. Magnolia Test Framework
  2. MGNLTEST-12

Integration test writers can add file based resources

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 1.0.3
    • None

      As an integration-test-writer, I should be able to add file based resources / light-modules (YAML primarily).

      Use cases

      • Resources module / resources-app
      • generally light-development

      The "challenge"

      Since the webapps to test against run on a docker image and the tests are executed from another (virtual) network location, we need a mechanism to transfer the files to the magnolia.resources.dir of the webapps.
      In a 1st quick discussion about the topic, apchelintcev was proposing to have a specific servlet for this purpose on the test-webapps.

       Possibilities:

      • Uploading (and cleaning up) YAML files to resources workspace (imagine to reuse MagnoliaRestClient); maybe auto-wrapping "real" YAML files into mgnl:resource node bootstraps?
      • Consider adding folder support for Fixture/Cleanup utilities?
      • Mounting an external directory for light-module directory, and e.g. have a JUnit5 extension dynamically add/remove aliases/symlinks.

      Timebox: 5

        Acceptance criteria

              rdhar Rishab Dhar
              cmeier Christoph Meier
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoR