The Tycho docs have really improved now that they are an eclipse project:
http://wiki.eclipse.org/Tycho/Packaging_Types#eclipse-test-plugin
The page does indicate some of the configuration we will need to add into the
mix:
<build>
<sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<useUIHarness>true</useUIHarness>
</configuration>
</plugin>
</plugins>
</build>
And importantly indicating what "feature" to run .. hopefully that is enough to
get us moving? It could be the tests will make use of the GIS Platform or GIS
Application features as appropriate??
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<dependencies>
<dependency>
<type>eclipse-feature</type>
<artifactId>com.example.my-component.feature</artifactId>
<version>0.0.0</version>
</dependency>
</dependencies>
</configuration>
</plugin>
</plugins>
</build>
--
Jody Garnett
On Thursday, 1 December 2011 at 2:08 PM, Jody Garnett wrote:
> So my guess here is that it is we have a failure trying to run a normal
> eclipse workbench (rather than our RCP product?). This happens when you from
> from the IDE as well; but we change the run configuration there
>
> Hopefully the Tycho builder for this has some configuration options; much
> like the WAR packaging allows us some options.
>
> A bit of research shows something called a .target file.
>
> It also sounds like the eclipse-test-plugin is hooked up as an
> integration-test (which makes sense). Giving us:
>
> mvn integration-test verify -Ptest
>
> References:
> -
> http://mattiasholmqvist.se/2010/06/building-with-tycho-part-3-testing-code-coverage-and-easier-development-using-target-definitions/
>
> Jody
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel