Installation of RSpec and Selenium
From RAD Lab
Revision as of 05:34, 3 October 2007; view current revision
←Older revision | Newer revision→
←Older revision | Newer revision→
[edit]
Insalling RSpec
For full RSpec documentation: RSpec documentation
ruby script/plugin install svn://rubyforge.org/var/svn/rspec/tags/CURRENT/rspec ruby script/plugin install svn://rubyforge.org/var/svn/rspec/tags/CURRENT/rspec_on_rails ruby script/generate rspec
To create the directories for the model and controller tests:
mkdir spec/models spec/controllers
[edit]
Installing Selenium
Selenium documentation: Selenium on Rails
script/plugin install http://svn.openqa.org/svn/selenium-on-rails/selenium-on-rails
To create a selenium test:
script/generate selenium <test_name>.rsel
