Skip to content

Commit

Permalink
XIVY-494 demo new simple 'iar-integration-test' cycle
Browse files Browse the repository at this point in the history
  • Loading branch information
ivy-rew committed Jul 2, 2020
1 parent 4506332 commit f8c6677
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 101 deletions.
100 changes: 1 addition & 99 deletions compile-test/crmIntegrationTests/pom.xml
Expand Up @@ -9,11 +9,7 @@
</parent>

<artifactId>crm.integration.tests</artifactId>
<packaging>iar</packaging>

<properties>
<test.application>CrmApplication</test.application>
</properties>
<packaging>iar-integration-test</packaging>

<dependencies>
<dependency>
Expand Down Expand Up @@ -48,101 +44,7 @@
<groupId>com.axonivy.ivy.ci</groupId>
<artifactId>project-build-plugin</artifactId>
<extensions>true</extensions>
<executions>
<execution>
<id>start.test.engine</id>
<phase>pre-integration-test</phase>
<goals>
<goal>start-test-engine</goal>
</goals>
</execution>
<execution>
<id>deploy-test-application</id>
<phase>pre-integration-test</phase>
<goals>
<goal>deploy-to-engine</goal>
</goals>
<configuration>
<deployFile>${ch.ivyteam.ivy.project.demo.ci:crm:iar}</deployFile>
<deployToEngineApplication>${test.application}</deployToEngineApplication>
<skipDeploy>${maven.test.skip}</skipDeploy>
</configuration>
</execution>
<execution>
<id>stop.test.engine</id>
<phase>post-integration-test</phase>
<goals>
<goal>stop-test-engine</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M4</version>
<executions>
<execution>
<id>selenium.web.tests</id>
<phase>integration-test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<includes>
<include>**/WebTest*.java</include>
</includes>
<argLine>
-Dtest.engine.url=${test.engine.url}
-Dtest.engine.app=${test.application}
</argLine>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.10</version>
<executions>
<execution>
<id>share.dependencies.as.property.for.iar.deployment</id>
<goals>
<goal>properties</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<versionRange>[2.10,)</versionRange>
<goals>
<goal>properties</goal>
</goals>
</pluginExecutionFilter>
<action>
<execute>
<runOnConfiguration>true</runOnConfiguration>
<runOnIncremental>true</runOnIncremental>
</execute>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>
Expand Up @@ -34,7 +34,7 @@
import com.codeborne.selenide.SelenideElement;

@IvyWebTest
public class WebTestOrderForm
public class WebTestOrderFormIT
{

@BeforeEach
Expand Down
Expand Up @@ -15,7 +15,7 @@
* <code>crm.CustomerRegistrationForm</code>.
*/
@IvyWebTest
public class WebTestRegistrationForm
public class WebTestRegistrationFormIT
{

@Test
Expand Down

0 comments on commit f8c6677

Please sign in to comment.