Revision: 6549
http://squirrel-sql.svn.sourceforge.net/squirrel-sql/?rev=6549&view=rev
Author: manningr
Date: 2011-11-27 16:31:01 +0000 (Sun, 27 Nov 2011)
Log Message:
-----------
Disable all tests, except when either external test profiles are active.
Modified Paths:
--------------
trunk/sql12/squirrelsql-integration-environment/pom.xml
Modified: trunk/sql12/squirrelsql-integration-environment/pom.xml
===================================================================
--- trunk/sql12/squirrelsql-integration-environment/pom.xml 2011-11-26 20:20:33 UTC (rev 6548)
+++ trunk/sql12/squirrelsql-integration-environment/pom.xml 2011-11-27 16:31:01 UTC (rev 6549)
@@ -75,6 +75,34 @@
<target>${javac-target-version}</target>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>default-test</id>
+ <goals>
+ <goal>test</goal>
+ </goals>
+ <configuration>
+ <excludes>
+ <exclude>**/*Test.java</exclude>
+ </excludes>
+ </configuration>
+ </execution>
+ <execution>
+ <id>default-integration-test</id>
+ <goals>
+ <goal>test</goal>
+ </goals>
+ <configuration>
+ <excludes>
+ <exclude>**/*Test.java</exclude>
+ </excludes>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
<dependencies>
@@ -243,22 +271,24 @@
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
+ <artifactId>maven-failsafe-plugin</artifactId>
+ <version>2.10</version>
<executions>
<execution>
- <id>default-test</id>
+ <id>execPluginExternalTests</id>
<goals>
- <goal>test</goal>
+ <goal>integration-test</goal>
+ <goal>verify</goal>
</goals>
- <phase>integration-test</phase>
<configuration>
<includes>
- <include>**/*ExternalTest.java</include>
+ <include>**/*TabExternalTest.java</include>
</includes>
<excludes>
<exclude>**/DialectExternalTest.java</exclude>
</excludes>
<forkMode>always</forkMode>
+ <redirectTestOutputToFile>true</redirectTestOutputToFile>
</configuration>
</execution>
</executions>
@@ -281,19 +311,22 @@
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.5</version>
+ <artifactId>maven-failsafe-plugin</artifactId>
+ <version>2.10</version>
<executions>
<execution>
- <id>default-test</id>
+ <id>execDialectExternalTest</id>
<goals>
- <goal>test</goal>
+ <goal>integration-test</goal>
+ <goal>verify</goal>
</goals>
- <phase>integration-test</phase>
<configuration>
<includes>
<include>**/DialectExternalTest.java</include>
</includes>
+ <excludes>
+ <exclude>**/*TabExternalTest.java</exclude>
+ </excludes>
<systemPropertyVariables>
<jdbcUrl>${jdbcUrl}</jdbcUrl>
<jdbcUser>${jdbcUser}</jdbcUser>
@@ -302,6 +335,7 @@
<catalog>${catalog}</catalog>
<schema>${schema}</schema>
</systemPropertyVariables>
+ <redirectTestOutputToFile>true</redirectTestOutputToFile>
</configuration>
</execution>
</executions>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|