public
Description: Resources for rspec developers/contributors
Homepage: http://rspec.info/
Clone URL: git://github.com/dchelimsky/rspec-dev.git
commit  d1782a195aa6040f3ef1c1654117e750bbf7a042
tree    c0b8f790b01731a1ad9838b64d588d737dcf7e47
parent  de7f9e0667c09e354ee0a60054988fa93b266a11
name age message
file .gitignore Wed May 21 21:32:03 -0700 2008 ignore emacs tags [pat-maddox]
file README Wed Apr 16 21:56:03 -0700 2008 updated checkout instructions [pat-maddox]
file Rakefile Sat May 03 15:39:48 -0700 2008 Aliasing rake git:update to rake git:pull [btakita]
directory doc/ Wed May 21 22:04:24 -0700 2008 attribution [pat-maddox]
directory example_rails_app/ Wed May 21 23:29:55 -0700 2008 Cleaning up Formatter. Making migrations less f... [btakita]
directory lib/ Mon Apr 28 21:13:13 -0700 2008 running against rails with git [dchelimsky]
directory pre_commit/ Wed May 21 23:29:55 -0700 2008 Cleaning up Formatter. Making migrations less f... [btakita]
README
=== This project is for RSpec developers/contributors.

== Getting the entire development tree:

  git-clone git://github.com/dchelimsky/rspec-dev.git
  cd rspec-dev
  rake git:update

== Running RSpec's specs

In order to run RSpec's full suite of specs (rake pre_commit) you must install the following gems:

* rake          # Runs the build script
* rcov          # Verifies that the code is 100% covered by specs
* webby         # Generates the static HTML website
* syntax        # Required to highlight ruby code
* diff-lcs      # Required if you use the --diff switch
* win32console  # Required by the --colour switch if you're on Windows
* meta_project  # Required in order to make releases at RubyForge
* heckle        # Required if you use the --heckle switch
* hpricot       # Used for parsing HTML from the HTML output formatter in RSpec's own specs

Once those are all installed, you should be able to run the suite with the following steps:

* cd rspec-dev
* rake install_dependencies
* cd example_rails_app
* export RSPEC_RAILS_VERSION=2.0.2
* rake rspec:generate_sqlite3_config
* cd ..
* rake pre_commit

Note that RSpec itself - once built - doesn't have any dependencies outside the Ruby core 
and stdlib - with a few exceptions:

* The spec command line uses diff-lcs when --diff is specified.
* The spec command line uses heckle when --heckle is specified.
* The Spec::Rake::SpecTask needs RCov if RCov is enabled in the task.

See http://rspec.info for further documentation.