[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
Re: [swtbot-dev] Launching entire product testing
|
- From: Ketan Padegaonkar <ketanpadegaonkar@xxxxxxxxx>
- Date: Wed, 25 Nov 2009 16:54:36 +0530
- Delivered-to: swtbot-dev@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Ef1CrswK8YzLeEOo4ovc03ZqON+5mUYcOgLCYG0yxwI=; b=JfZIh6W78v3fgM+F7I8TRW8NAlasMe8GrREX+x6dNXq0/i1bJgIGAZxQHKN6yEoUjP JaxRgn4Kv/VESTKSgSu54Ey7zMsT3HCB34iEBFIxi0J4HkN4oFl39d9QXz2aKRcrHbLJ TdTLpVpgPjASfF6nD0quBfOS6/sRp2xPXShck=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=LEKSugMCi4VbaFT7Tx5O5Gg6+KcWN48zFC4GJYBwyLgHH/zWc9JgZ+YX4+zYiXxbQq 7Du+rD/tTxjLDDcJVNStdh5IH80Yrjn7a0isRVjeWHdwJR1lu4hOJpdzIJfPChQd2WbP RZIoE9xxayNpwLn8QNw6PIKk/809H85Ia33HI=
Try using "-product your.product -application org.eclipse.swtbot...
-testApplication your.application" instead of "-testProduct".
In that particular order.
Do get back to us if you find that it works!
--
Ketan
studios.thoughtworks.com | twitter.com/ketanpkr
On Tue, Nov 24, 2009 at 3:45 PM, Charles-Henri Delgado
<charles-henri.delgado@xxxxxxxxx> wrote:
> Dear swtbot developers,
>
>
>
> I am developing a RCP product. I created some swtbot test. I can easily
> execute them from eclipse (Run as … > SWTBotTest).
>
>
>
> Now I want to launch all product tests, from command line. So I tried by
> executing
>
> this command line:
>
>
>
> java -Xms128M -Xmx368M -XX:MaxPermSize=256M -DPLUGIN_PATH= -classpath
> C:\temp\swtbot\eclipse\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar
> org.eclipse.core.launcher.Main -application
> org.eclipse.swtbot.eclipse.junit4.headless.swtbottestapplication
> -testPluginName com.temis.rcc.modelling –testProduct
> com.temis.rcc.modelling.modellingapplication -clean -data workspace
> formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,allTestsJunitSummary.xml
> -className com.temis.rcc.modelling.test.pde.TestLearnEditor -os win32 -ws
> win32 -arch x86 -consoleLog –debug
>
>
>
> com.temis.rcc.modelling.test.pde.TestLearnEditor is my main test class
>
> com.temis.rcc.modelling is my plugin jar
>
> com.temis.rcc.modelling.modellingapplication is my product id.
>
>
>
> The problem is that, it does not launch my product. It launches a normal
> eclipse with default plugins, plus mine. And so it begins with the ”welcome
> “ eclipse views. Also my application views are not loaded, and of course my
> test fails.
>
>
>
> How can I get an eclipse launched with only my product views and plugins for
> my tests to be well executed ?
>
>
>
> Thanks,
>
> Charles DELGADO.
>
>
>
> _______________________________________________
> swtbot-dev mailing list
> swtbot-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/swtbot-dev
>
>