Class IntegrationTestMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="it",
          defaultPhase=PRE_INTEGRATION_TEST,
          aggregator=true,
          requiresDependencyResolution=TEST)
    public class IntegrationTestMojo
    extends AbstractRunMojo

    Alfresco Plugin mojo that are used when you want to run Integration Tests. It will package up all the Integration Test classes and execute contained tests with the Maven Failsafe plugin. The test classes will be added to the platform war so they can be executed remotely via the AlfrescoTestRunner.

    The Alfresco RAD module is also added to the Platform WAR so the Alfresco Test runner classes are available.
    Since:
    3.0
    Author:
    martin.bergljung@alfresco.com
    • Constructor Detail

      • IntegrationTestMojo

        public IntegrationTestMojo()
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException