Author: nickboldt
Date: 2010-04-01 11:39:57 -0400 (Thu, 01 Apr 2010)
New Revision: 21199
Modified:
branches/modular_build/parent-pom.xml
Log:
add config for swtbot and ineffective surefire include pattern
Modified: branches/modular_build/parent-pom.xml
===================================================================
--- branches/modular_build/parent-pom.xml 2010-04-01 15:19:01 UTC (rev 21198)
+++ branches/modular_build/parent-pom.xml 2010-04-01 15:39:57 UTC (rev 21199)
@@ -60,15 +60,41 @@
</environments>
</configuration>
</plugin>
+
+ <!--
+ to skip running tests (compile only) use commandline flag:
+ -Dmaven.test.skip
+ -->
<plugin>
<groupId>org.sonatype.tycho</groupId>
<artifactId>maven-osgi-test-plugin</artifactId>
<version>${tychoVersion}</version>
<configuration>
<useUIHarness>true</useUIHarness>
- <useUIThread>true</useUIThread>
+ <useUIThread>false</useUIThread>
+ <!--
https://docs.sonatype.org/display/TYCHO/How+to+run+SWTBot+tests+with+Tycho
-->
+ <!-- set useUIThread=true and remove next lines for regular ui tests -->
+ <!-- set useUIThread=false and add next lines for swtbot tests -->
+ <product>org.eclipse.sdk.ide</product>
+ <application>org.eclipse.ui.ide.workbench</application>
+ <dependencies>
+ <dependency>
+ <type>p2-installable-unit</type>
+ <artifactId>org.eclipse.sdk.ide</artifactId>
+ <version>0.0.0</version>
+ </dependency>
+ </dependencies>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <!-- not working; maven-osgi-test-plugin does not respect this setting -->
+ <includes>**/*AllTests*</includes>
+ <parallel>true</parallel>
+ </configuration>
+ </plugin>
</plugins>
</build>