Libor Zoubek [http://community.jboss.org/people/lzoubek%40redhat.com] created 
the document:

"Confortable testing with SWTBot"

To view the document, visit: http://community.jboss.org/docs/DOC-15111

--------------------------------------------------------------
There is a great option to run SWTBot tests in separate window. No more 
watching SWTBot "doing the work"
This can be accomplished by  http://www.freedesktop.org/wiki/Software/Xephyr 
Xephyr. As a Xorg extension it should be available on every linux distro.

Xephyr is  able to run another X session in a window in current session. The 
only problem is, that you cannot run multiple (gnome/xfce/kde) sessions at one 
time. I recommend to install some lightweight desktop manager like fluxbox, 
twm, enlightenement etc or run nested session under different user.


I've created simple shell script called nestedX which can do some bothering 
stuff for you. Just pick it, slightly edit (comment out you favorite wm) and 
use.

Once nestedX runs, new session in window  should appear.
Eclipse with SWTBot tests and of course whatever can run inside. 
When developing tests and you've started your IDE in current session, you can 
modify run configuration of your SWTBot test and define environment variable 
DISPLAY with value of new display (nestedX script tells it).

There is also an option to pass a program as an argument to script. Program 
will be executed few seconds after starting window manager in nested session.

--------------------------------------------------------------

Comment by going to Community
[http://community.jboss.org/docs/DOC-15111]

Create a new document in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=102&containerType=14&container=2128]
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to