Headless full-stack web application testing with Capybara, Cucumber, Hudson and Selenium/Webdriver

It sounds like a big stack of things to use, but Ludo van den Boom and Tim Riley between them have all the information you need to set up a headless continuous integration environment that does full-stack testing of web applications, even JavaScript-heavy ones:

http://blog.kabisa.nl/2010/05/24/headless-cucumbers-and-capybaras-with-selenium-and-hudson/

http://openmonkey.com/articles/2010/04/javascript-testing-with-cucumber-capybara

I hate the fact that you have to involve 16 different programming languages and a stack of 85 layers of testing frameworks these days just to write a single web application, but at least these tools take some of the pain out.

I’ll try to set up one of those environments at the Zurich University of the Arts, but I want to forward the screen output via VNC to an old lamp-style iMac that we have lying around, so that we see Firefox clicking about all day long and know that our test machinery is happy 🙂

Side note: Capybaras are cute and have the funniest ears. Or are those auricles? You decide!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s