Thanks for the quick reply Mickeal! Ok, so I can just add some modules to my shipping application and run the tests, cool.
About the multi user setup: I do not think that the Eclipse IDE is tested multi user (but correct me if wrong). Indeed it is not an SWTBot issue in itself, I am just wondering if/how we could use SWTBot for this. Because a test is run inside every application's VM, I can only come up with a scheme that has a test for each 'simulated-user'. These separate tests somehow need to communicate over the network to do their steps "in concert". Then I probably have to write some plain old java code to sync this. Not impossible, but rather low level. Another setup (with the same disadvantage) would be a sort of master JUnit test that just starts our application multiple times remotely each one with an SWTBot test of it's own and then communicates over the network with these tests to do various steps "in concert". Not impossible, but rather low level again. Can anyone recommend *Jubula* for this? Is it already on a usable level? I can only build it from source it seems... Thanks, Tom On Wed, Apr 13, 2011 at 15:34, Mickael Istria <mickael.ist...@bonitasoft.com > wrote: > Hi > > > > - Am I right that the JUnit-SWTBot-test runs in the same VM as the > target application? > > > Yes, > SWTBot Junit tests runs on a test thread that "feeds" the SWT > EventDispatcher with UI Events to reproduce UI actions. > > > > - Is there a setup to run it in a different VM or even on a different > machine? > > None that I am aware of. > > > > - Does this also mean that I need a special build of my application for > SWTBot testing (which includes SWTBot plugins and my test plugin), or can > SWTBot be temporarily added to a shippable application? > > No, > You can build your shippable application; and then build SWTBot tests, add > them along with SWTBot bundles to your final application in order to test > it. It is just a set of bundles to add to your application. > > > > > I am specially interested in these issues because our application needs > multi user testing and I need to orchestrate parallel starts of our > application on multiple machines. If every instance is running its own test > in its VM it is just harder to synchronise. > > I think this is a problem that is not related to SWTBot directly. It is > more general. > Eclipse IDE is tested automatically on several platforms (OS, arch, > JVM...), I don't know how it is done, but I think you can find some stuff on > Eclipse wiki and Eclipse platform mailing-list. > > HTH, > -- > > Mickael Istria > R&D Engineer > [image: BonitaSoft - Open your processes] <http://www.bonitasoft.com> > email : mickael.ist...@bonitasoft.com > Best Eclipse Modeling Tool > 2011<http://www.eclipse.org/org/press-release/20110321_awardwinners.php> > > This message and any attachment (the "message") is intended solely for > the addressees and is confidential. If you receive this message by mistake, > please delete it and notify the sender immediately. Any use not in > accordance with its purpose, any out-spread or disclosure, either as a whole > or partially, is prohibited except with formal approval. Internet cannot > guarantee the integrity of this message, therefore BonitaSoft will not be > liable for the message if modified. > > _______________________________________________ > swtbot-dev mailing list > swtbot-dev@eclipse.org > https://dev.eclipse.org/mailman/listinfo/swtbot-dev > >
<<logo-bonitasoft-mini.jpg>>
_______________________________________________ swtbot-dev mailing list swtbot-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/swtbot-dev