Hudson integration

61 views
Skip to first unread message

eddyoc

unread,
Mar 28, 2012, 7:01:08 AM3/28/12
to Buster.JS
We use Hudson for our continuous integration environment and would
like to integrate buster.js unit testing.

Having to manually press the "Capture events" button on the server is
not really workable for us in the long term. Is there a workaround or
should we wait for the Phantom.js integration.

On this matter is there an ETA for the Phantom.js headless browser
integration?

August Lilleaas

unread,
Mar 28, 2012, 7:22:37 AM3/28/12
to bust...@googlegroups.com
On Wed, Mar 28, 2012 at 1:01 PM, eddyoc <edd...@gmail.com> wrote:
We use Hudson for our continuous integration environment and would
like to integrate buster.js unit testing.

Having to manually press the "Capture events" button on the server is
not really workable for us in the long term. Is there a workaround or
should we wait for the Phantom.js integration.

If a browser doesn't crash you can keep running tests in it without recapturing. I assume you want to monitor browser deaths and recapture? If all you need to make that happen in your setup is an URL, you can load up /capture instead of / (for example, http://0.0.0.0:1111/capture). A GET to that URL will immediately capture the browser, no user interaction required.
 

On this matter is there an ETA for the Phantom.js headless browser
integration?

None at all :) The closest we have is that we want this to be part of the 1.0 release, and we want to have the 1.0 release before the Web Rebels conference may 24th.

You can use phantom today, though. Any browser works [1], and phantom is a browser, so just open /capture in phantom and you're good to go. The integration we want to have is basically just to automatically start a server and capture phantom in it when you type "buster test", not to make phantom actually work with buster server, since it already does.

[1] Currently we use two connections in the browser for talking to our buster server, this clogs IE7 and other old browsers with a 2 concurrenct connections limit.

Reply all
Reply to author
Forward
0 new messages