Project structure using SDK4 include the configurarations for docker. Make sure you have installed docker on your machine and its up and running.
To run the itegration test, you can use the run.bat/run.sh file available as part of project structure. It is the easiest option. You can find the instructions in the ReadMe file on how to use these scripts.
You can this command, e.g. i you have windows:
1- Open command prompt
2- Go to the project directory
3- ./run.bat build_test
This command will: build the whole project, recreate the ACS and Share docker images, start the dockerised environment, execute the integration tests from the integration-tests module and stop the environment.
Additionally, you can run all docker-compose commands to build and start the docker containers and then execute mvn verify on integeration test module. I find run.bat/run.sh script much easier than doing these steps one by one. Its up to you.
For more information refer: https://github.com/Alfresco/alfresco-sdk/blob/master/docs/advanced-topics/integration-testing/it-run...
(ACSCE, AWS SAA, Azure Admin)