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.XMLJUnitResultFor
matter,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
[email protected]
https://dev.eclipse.org/mailman/listinfo/swtbot-dev

Reply via email to