Alfresco / alfresco-sdk

The Alfresco In-Process SDK is based on Apache Maven, includes support for rapid and standard development, testing, packaging, versioning and release of your Alfresco integration and extension projects
Apache License 2.0
185 stars 113 forks source link

Archetypes - New ITs approach #516

Closed jlosornogil closed 5 years ago

jlosornogil commented 5 years ago

This PR implements a new approach for the integration tests of the archetypes. The archetypes were tested using the default maven archetypes integration tests features so far. The issue is that approach didn't give us the required flexibility to execute the new runner scripts to verify the proper execution of the integration tests in the generated projects. We had some issues controlling the flow of the integration tests mainly in Windows.

The new approach uses Maven verifier to create a new module exclusively for the archetypes ITs. This component allow us to programatically execute the generation of the projects from the archetypes, execute the runner scripts and verify the logs generated in those steps.

It've added 2 new maven profiles: