Skip to content

Conversation

@rmcdouga
Copy link
Collaborator

In order to properly integration test the sample apps, they should run against a real AEM instance (not just WireMock mappings).

This PR updates the tests to be able to be run against the same images used by the rest-services.it_tests. This includes the rest-services.it_tests test container image. This will make it easier to perform real integration testing.

The AEM instance can be controlled by TestContainers.

WIP - The AEM instance tests that require data are not working just yet.
This will better differentiate it from the webmvc app.
The tests previously used WireMock only.  They now support using a real
AEM instance (including one run via Test Containers).  They assume that
the AEM instance has the rest-services it samples installed (so the
rest-services.it.tests container image is ideal).
@rmcdouga rmcdouga merged commit 52bfbe0 into master Oct 25, 2025
@rmcdouga rmcdouga deleted the 20251022_SampleProjects_TestContainers branch October 25, 2025 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants