Company
Date Published
Author
Ashley Wilson
Word count
590
Language
English
Hacker News points
None

Summary

There has always been some overlap between Hudson users and Selenium users, which has resulted in good support for Selenium in Hudson. However, setting up the right OS/browser combinations can be tedious, especially without virtualization. Sauce OnDemand solves this problem by offering browsers running in the cloud, but setting up SSH port forwarding to handle this requires time-consuming setup and teardown. To fix this, I wrote a new "Sauce OnDemand" plugin for Hudson that automatically sets up and tears down tunnels for users, saving time and complexity. The plugin also auto-generates unique host names when setting up tunnels, allowing concurrent testing without collisions. The implementation is done in two parts: an SSH tunnel setup library and a Hudson plug-in around it, which can be reused elsewhere. This plugin simplifies the process of using Sauce OnDemand with Hudson, making cross-browser testing easier and more efficient.