Sunday, April 11, 2010

Installing Ruby testing tools

Previous: Installing Rails

These are tools for test-driven-, behavior-driven-, and storytest-driven-development:

* Autotest - continuous testing (part of ZenTest)
* Cucumber - storytest tool
* RCov - coverage tool
* rspec - BDD tool
* Webrat - browser simulator (used by Cucumber)

On Debian variants (like Ubuntu), you have to install a couple of libraries before installing Webrat. They are needed by Nokogiri, the XML libary used in Webrat.

sudo gem install ZenTest
sudo gem install rcov
sudo gem install rspec rspec-rails
sudo gem install cucumber
sudo apt-get install libxslt1-dev libxml2-dev
sudo gem install webrat


Next: Installing Java support

No comments:

Post a Comment