Hi,

I'm interested in headless testing, too. I tried to use StubToolkit for 
including TestFX tests in a headless build, but all I got was a CNFE. If anyone 
is interested to give me a hand on this, details can be found at 
http://stackoverflow.com/questions/21137039/how-to-use-stubtoolkit-instead-of-quantum-toolkit-for-my-javafx-application.

As Tom explained, Monocle would provide another way for headless testing. Does 
it replace StubToolkit?

Cheers,
Uwe




Tom Eugelink <t...@tbee.org> , 22/1/2014 8:46 AM:
 
What also is very interesting is headless testing. Let me see if I'm getting 
this. 
 
Normally Jenkins would start a VNC server (xvnc), which provides some kind of 
graphics API against which an UI program can paint. JavaFX is not picking that 
up however. 
But, as I read it, in this case JavaFX starts its own VNC server, so it takes 
of everything itself. All one would need to do is specify the 
 
     -Dglass.platform=Monocle -Dmonocle.platform=VNC -Dprism.order=sw 
 
And additionally a port to run the VNC server on (so multiple Jenkins jobs 
don't interfere). 
 
Am I correct? How can I test this (aka in which version is the VNC server 
available)? 
 
Tom 
 
 

Reply via email to