|Re: Can SWTBot support pure SWT application [message #899341 is a reply to message #898955]
||Tue, 31 July 2012 13:59
|| Mickael Istria
Registered: July 2009
Location: Grenoble, France
On 07/29/2012 12:17 PM, Wolfgang Martin wrote:|
> * the application under test uses the SWT jar, but not RCP, the eclipse
The SWT part of SWTBot is independant from workbench and RCP. You can
use it in any SWT application.
> * I can't install eclipse features because I'm not using eclipse, at all.
Can you downalod the following jars and put them into your application
to use SWTBot:
Feel free to open an enhancement request if you'd like to see a more
convenient packaging appear one day.
> * I want to run the tests independently from the IDE.
SWTBot is just an API on top of SWT, it's independant of JUnit or the
IDE you use. So no problem here.
> Also: I can't use a special TestRunner because I'm already using another
> one to support another library I'm using. So, @RunWith is not possible
> for me.
Using SWTBot TestRunner is not necessary, you can use a plain JUnit test.
JBoss, by Red Hat
My blog: http://mickaelistria.wordpress.com
My Tweets: http://twitter.com/mickaelistria
Powered by FUDForum
. Page generated in 0.02999 seconds