Post Meta

Bookmarks

  • Delicious
  • Digg
  • Reddit
  • Magnolia
  • Newsvine
  • Furl
  • Facebook
  • Technorati

Howto install and use RSpec.

So many things changed since the first version of this post ….

Install

- a guide which is incomplete.

  1. install from edge: svn://rubyforge.org/var/svn/rspec/trunk/rspec and svn://rubyforge.org/var/svn/rspec/trunk/rspec_on_rails
  2. bootstrap: ruby script/generate rspec

Now you have a working guide at the Rspec homepage. After install don’t forget to README, there are many additional plugins to install and enhance Rspec if you want.

Usage

- a very good example here. [OUTDATED]

- RSpec has generators for models, controller, scaffolds and even resources (REST way). You can use any of them according to your needs.

You’ll find good examples at the Rspec homepage, very soonI’ll post my first experiences in this blog.

Enhancements

- nice output messages here. (add the code snippet at the end of the helper file!)

<<<under construction>>>



Related posts

  1. Gravatar

    just to check the gravatar plugin ..

    11 / 23 / 21:23

Leave A Comment

+ -