1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00

envjs blurb

This commit is contained in:
Steven Parkes 2010-05-19 14:24:06 -07:00
parent dd28a1013e
commit bcbfb45f9c

View file

@ -8,7 +8,8 @@ Capybara aims to simplify the process of integration testing Rack applications,
such as Rails, Sinatra or Merb. It is inspired by and aims to replace Webrat as
a DSL for interacting with a webapplication. It is agnostic about the driver
running your tests and currently comes bundled with rack-test, Culerity,
Celerity and Selenium support built in.
Celerity and Selenium support built in. env.js support is available as the
{capybara-envjs gem}[http://github.com/smparkes/capybara-envjs].
== Install:
@ -123,6 +124,16 @@ being.
Install celerity as noted above, make sure JRuby is in your path. Note that
Culerity doesn't seem to be working under Ruby 1.9 at the moment.
== env.js
The {capybara-envjs driver}[http://github.com/smparkes/capybara-envjs]
uses the envjs gem ({GitHub}[http://github.com/smparkes/env-js],
{rubygems.org}[http://rubygems.org/gems/envjs]) to interpret
JavaScript outside the browser. The driver is installed by installing the capybara-envjs gem:
gem install capybara-envjs
More info about the driver and env.js are available through the links above. The envjs gem only supports
Ruby 1.8.7 at this time.
== The DSL
Capybara's DSL is inspired by Webrat. While backwards compatibility is retained