-
Task
-
Resolution: Fixed
-
Neutral
-
None
-
-
Empty show more show less
-
Empty show more show less
-
TE 13, TE 14
-
5
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
- relates to
-
MGNLTEST-137 Int. tests can add file based resources to the FS / magnolia.resources.dir
- Selected
-
MGNLTEST-114 Enrich definition rest api with decorator metadata
- Selected
-
MGNLTEST-135 CLONE - Extract separate extension for light-module fixtures
- Closed