public
Description: Webrat - Ruby Acceptance Testing for Web applications
Home | Edit | New

JRuby

Webrat supports JRuby by using a combination of REXML and Hpricot instead of Nokogiri (which uses libxml2 and currently only works on MRI). It should “just work” by detecting the Ruby platform as JRuby.

REXML is slow. Why are you using it?

Hpricot doesn’t have good support for XPath, which Webrat depends on, but REXML does. We’re eager to use Nokogiri on JRuby once that is supported (via the Nokogiri FFI work that’s in-progress).

Last edited by brynary, Sun Feb 01 12:28:38 -0800 2009
Home | Edit | New
Versions: