[jbosstools-issues] [JBoss JIRA] (JBIDE-22679) Run integration-test against source (rather than package)

Rastislav Wagner (JIRA) issues at jboss.org
Thu Jun 30 10:37:00 EDT 2016


    [ https://issues.jboss.org/browse/JBIDE-22679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13259413#comment-13259413 ] 

Rastislav Wagner commented on JBIDE-22679:
------------------------------------------

Second option works. 

This is tycho-surefire-plugin configuration
{code}
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<configuration>
	<work>${test.installPath}</work>
	<product>com.jboss.devstudio.core.product</product> 
</configuration>
{code}

then tycho-platform-configuration

{code}
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<configuration>
      <dependency-resolution>
           <extraRequirements>
	         <requirement>
			<type>p2-installable-unit</type>
			<id>org.jboss.tools.cdi.feature.feature.group</id>
			<versionRange>0.0.0</versionRange>
		</requirement>
         </extraRequrements>
    </dependency-resolution>
</configuration>
{code}

And tycho runs installed Devstudio with CDI feature which I locally built.

> Run integration-test against source (rather than package)
> ---------------------------------------------------------
>
>                 Key: JBIDE-22679
>                 URL: https://issues.jboss.org/browse/JBIDE-22679
>             Project: Tools (JBoss Tools)
>          Issue Type: Sub-task
>          Components: build, qa
>            Reporter: Mickael Istria
>            Assignee: Rastislav Wagner
>
> Currently, integration-tests run against a prepared package (of Developer Studio). In order to more easily run those tests locally or as part of the development process, it would be nice to also have them running directly against source code of the component.
> Tycho provide a mechanism to provision the application under test according to existing definition: https://eclipse.org/tycho/sitedocs/tycho-surefire/tycho-surefire-plugin/test-mojo.html#testRuntime , or maybe even by simply making Developer Studio part of the test target-platform and define it as the application/produce under test: https://eclipse.org/tycho/sitedocs/tycho-surefire/tycho-surefire-plugin/test-mojo.html#product



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list