Skip to content

Commit 43b67bc

Browse files
committed
📝 Updated the it tests project README with container instructions
Instructions for testing a new releases of AEM.
1 parent 6095770 commit 43b67bc

1 file changed

Lines changed: 19 additions & 1 deletion

File tree

rest-services/it.tests/README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,22 @@ You can configure the tests to run against AEM running in a local container imag
3636
proprietary software, a pre-prepared image cannot be made available publicly, however this project contains a dockerfile (`test_containers/ff_it_test.dockerfile`) that can take a base AEM instance and copy the sample files to it.
3737
See the README in that directory for more details.
3838

39-
The TestContainers code assumes that the image contains an AEM instance running on port 4502. The TestContainers code is located in the `AemInstance.java` source file.
39+
The TestContainers code assumes that the image contains an AEM instance running on port 4502. The TestContainers code is located in the `AemInstance.java` source file.
40+
41+
#### Creating a Containerized Image using `aem_cntrl`
42+
43+
In order to create a containerized image...
44+
* Create the FluentForms jar files (`fluentforms.core-0.0.x-SNAPSHOT.jar`, and `rest-services.server-0.0.x-SNAPSHOT.jar`) from their projects within this GitHub repo.
45+
* Download the latest AEM installation files (quickstart jar plus any service pack zips).
46+
* Obtain a copy of your `licence.properties` file from you current AEM installation.
47+
* Create an `aem_cntrl-0.0.x-SNAPSHOT.jar` file from the [`aem_cntrl` project](https://github.com/4PointSolutions/aem-utils/tree/main/aem_cntrl).
48+
* Follow the instructions in the [`aem_container` project](https://github.com/4PointSolutions/aem-utils/blob/main/aem_container/README.md) to create a container image.
49+
50+
Once the container is built, configure the project as [outlined above](#containerized-aem-image-via-testcontainers) and run the tests.
51+
52+
### Testing New Releases of AEM
53+
54+
Each time a new version of AEM is released, the integration tests in this project should be run against it.
55+
56+
To do this, follow the instructions under [Creating a Containerized Image using `aem_cntrl`](#creating-a-containerized-image-using-aem_cntrl) and then
57+
running the tests as outlined under [Containerized AEM Image \(via TestContainers\)](#containerized-aem-image-via-testcontainers)

0 commit comments

Comments
 (0)