How to execute Java Swing Unit test


#1

I am developping a small game framework where I want to execute Unit test.
At execution time, I need a Unix(linux) X11 display to start the framework and execute tests.

On other platform I start a smal shell script:

 export DISPLAY=:99.0
 sh -e /etc/init.d/xvfb start
 sleep 3

How can i achieve the same sort of thing on Buddy ?


#2

Hi Frédéric,
One of our clients is running it with a script like the one below.

Customize Environment:

apt-get update && apt-get install -y xvfb

Run Commands:

Xvfb :1 -screen 0 1920x1080x24 -extension RANDR &export DISPLAY=:1.0

You might want to give it a shot!