Skip to content

Instantly share code, notes, and snippets.

@dandiep
Created August 29, 2011 20:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dandiep/1179274 to your computer and use it in GitHub Desktop.
Save dandiep/1179274 to your computer and use it in GitHub Desktop.
Browser test pom
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack</id>
<phase>process-test-classes</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>com.mulesoft.ion</groupId>
<artifactId>ion-web</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
<outputDirectory>${project.build.directory}/webtest-classes/</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<executions>
<execution>
<id>ie7-tests</id>
<phase>test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<forkMode>always</forkMode>
<testClassesDirectory>${project.build.directory}/webtest-classes/</testClassesDirectory>
<reportsDirectory>${project.build.directory}/surefire-reports/ie7</reportsDirectory>
<includes>
<include>com/mulesoft/ion/web/**.*</include>
</includes>
<excludes>
<include>com/mulesoft/ion/web/CreateApplicationTest.*</include>
</excludes>
<systemPropertyVariables>
<selenium.remote>true</selenium.remote>
<selenium.browser>internet explorer</selenium.browser>
<selenium.browser.version>7.</selenium.browser.version>
<selenium.platform>XP</selenium.platform>
<selenium.baseurl>http://jenkins.muleion.com:9002</selenium.baseurl>
</systemPropertyVariables>
</configuration>
</execution>
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment