Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-dev] Running a custom application for tests

can't this also be achieved with a suite-wide setup/teardown?

@SuiteClasses(Test1.class, AnotherTest.class)
public class AllTests {

  public static void suiteSetup() {
    // do preparation here

  public static void suiteTearDown() {


-----Original Message-----
From: tycho-dev-bounces@xxxxxxxxxxx [mailto:tycho-dev-bounces@xxxxxxxxxxx] On Behalf Of Gunnar Wagenknecht
Sent: Mittwoch, 4. Juli 2012 17:34
To: tycho-dev@xxxxxxxxxxx
Subject: [tycho-dev] Running a custom application for tests


We are investigating migrating a larger Gyrex based application to
Tycho. In Gyrex we've written a test application that helps with
testing. It bootstraps a testable server environment. One thing we
noticed is that this application is not executed when running headless
Surefire plug-in test. I think it's because the HeadlessTestApplication
does not support this.

A while submitted a patch to PDE which implemented support for running
headless applications for unit testing. So I was looking into
possibilities to also implement this in Tycho.

One option is to implement it directly in HeadlessTestApplication.
Another is to simply allow to specify a custom test application to run.
The change is small but it I'm wondering if it's ok to expose this


Gunnar Wagenknecht

tycho-dev mailing list

Back to the top