[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] headless and ui tests in the same plugin
|
Actually, I found the solution (see below); looks like I missed the
<phase> ...
<executions>
<execution>
<id>default-test</id>
<phase>integration-test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<testSuite>my.tests</testSuite>
<testClass>my.tests.AllTests</testClass>
<useUIHarness>false</useUIHarness>
<useUIThread>false</useUIThread>
</configuration>
</execution>
<execution>
<id>default-ui-test</id>
<phase>integration-test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<testSuite>my.tests</testSuite>
<testClass>my.tests.ui.AllUiTests</testClass>
<useUIHarness>true</useUIHarness>
</configuration>
</execution>
</executions>
On 03/28/2012 03:22 PM, Igor Fedorenko wrote:
The easiest is to run all tests with UI test harness. This will work
both for UI and headless tests.
--
Regards,
Igor
On 12-03-26 5:48 PM, Lorenzo Bettini wrote:
Hi
I have a plugin project where I have both headless and UI tests; is
there a way to run both kinds of tests in the same pom?
thanks in advance
Lorenzo
--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com