Monocle with VNC for Jenkins [was: Re: openjfx/8u-dev/rt: RT-35441 [Monocle] Provide a VNC back-end]
Uwe Sander
usander at tesis.de
Wed Jan 22 04:19:09 PST 2014
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 <tbee at 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
More information about the openjfx-dev
mailing list