News for hackers. Stuff that matters.
Re:Javascript + DOM in your ruby, the simple way by xutopia on Friday February 12, 2010 @04:03PM (#1121755)
This means I can test all the Javascript that my rails applications use without opening a browser!
Re:Javascript + DOM in your ruby, the simple way by hugs on Friday February 12, 2010 @05:39PM (#1122016)
But then you won't know if all the JavaScript that your rails applications use will actually work in a browser. Some browser testing is still needed.
Re:Javascript + DOM in your ruby, the simple way by steveklabnik on Friday February 12, 2010 @05:03PM (#1121912)
You can run cucumber + selenium. I'm pretty sure selenium can run in headless mode (haven't turned it on yet, too fun to watch!)
Re:Javascript + DOM in your ruby, the simple way by jbarnette on Friday February 12, 2010 @06:08PM (#1122080)
This is useful for tightening the feedback loop. Using something like Autotest gives me near-instant feedback on changes I'm making to client-side libraries.

I'll continue to periodically run my tests inside a "real" browser, but I think this sort of headless testing is a real win.

[Disclaimer: I wrote Johnson, so I'm not exactly a disinterested bystander. Edited for repetition.]