Is it possible to stop and start the RCP client under test while the PDE JUnit
test runs?
This is needed sometimes, for example when certain tests are for different
users. If you have no logoff and logon feature in the application, then your
only chance is to restart the RCP client under test in order to test something
with another user.
Or when a test fails one might want to reset the RCP client in order to have a
defined initial state for the consecutive tests. If the RCP client does not
provide such a feature, then a restart of the client is the only option.
But closing the client might *close the tests as well*, which is of course bad.
The tests should continue after the client is restarted. Of course the best
thing to use would be something like logoff and logon in the client (because of
performance), but if it has not that feature, then it needs to be restarted.
This applies both for the problem, to test something with another user as well
as for clean up the GUI.
Does someone know a solution for this? Please consider that I am talking about
RCP tests and not simple SWT tests and that we start it as JUnit PDE tests
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
SWTBot-users mailing list
SWTBot-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swtbot-users
http://swtbot.org/ - a functional testing tool for SWT/Eclipse