public
Fork of dchelimsky/rspec
Description: Behaviour Driven Development framework for Ruby
Homepage: http://rspec.info
Clone URL: git://github.com/pat-maddox/rspec.git
Search Repo:
rspec /
name age message
folder .autotest Thu Apr 03 15:02:31 -0700 2008 remove everything but rspec (core) from main rs... [dchelimsky]
folder .gitignore Wed Apr 16 21:40:16 -0700 2008 ignore emacs stuff [pat-maddox]
folder CHANGES Sat Jun 07 23:33:16 -0700 2008 Simplifying the registration_backtrace method [btakita]
folder MIT-LICENSE Wed Apr 16 16:20:10 -0700 2008 update license dates [dchelimsky]
folder README Mon Apr 07 22:01:38 -0700 2008 update info files [dchelimsky]
folder Rakefile Sun Jun 01 14:37:00 -0700 2008 Ignoring lib/spec/runner.rb so we no longer nee... [btakita]
folder TODO Fri Apr 18 15:05:23 -0700 2008 Revert "just testing some stuff" [Brian Takita & Nathan Sobo]
folder UPGRADE Mon Apr 07 22:01:38 -0700 2008 update info files [dchelimsky]
folder bin/ Thu Apr 03 15:02:31 -0700 2008 remove everything but rspec (core) from main rs... [dchelimsky]
folder examples/ Thu May 29 17:20:46 -0700 2008 support multiline (specs and code from Ola Bini) [dchelimsky]
folder failing_examples/ Thu Apr 03 15:02:31 -0700 2008 remove everything but rspec (core) from main rs... [dchelimsky]
folder init.rb Thu Apr 03 15:02:31 -0700 2008 remove everything but rspec (core) from main rs... [dchelimsky]
folder lib/ Sat Jun 07 23:33:16 -0700 2008 Simplifying the registration_backtrace method [btakita]
folder plugins/ Sat May 24 15:55:15 -0700 2008 Decouple mock framework from global extensions ... [dchelimsky]
folder rake_tasks/ Thu Apr 03 15:02:31 -0700 2008 remove everything but rspec (core) from main rs... [dchelimsky]
folder spec/ Wed Jun 04 01:27:40 -0700 2008 make sure consolidate_failures only grabs _spec... [dchelimsky]
folder stories/ Mon Jun 09 05:17:45 -0700 2008 a little clarity [dchelimsky]
folder story_server/ Thu Apr 03 15:02:31 -0700 2008 remove everything but rspec (core) from main rs... [dchelimsky]
README
== RSpec

RSpec is a Behaviour Driven Development framework with tools to express User Stories
with Executable Scenarios and Executable Examples at the code level.

RSpec ships with several modules:

Spec::Story provides a framework for expressing User Stories and Scenarios

Spec::Example provides a framework for expressing Isolated Examples

Spec::Matchers provides Expression Matchers for use with Spec::Expectations
and Spec::Mocks.

Spec::Expectations supports setting expectations on your objects so you
can do things like:

  result.should equal(expected_result)
  
Spec::Mocks supports creating Mock Objects, Stubs, and adding Mock/Stub
behaviour to your existing objects.

== Installation

The simplest approach is to install the gem (as root in some environments):

  gem install -r rspec

== Building the RSpec gem

If you prefer to build the gem locally:

  git clone git://github.com/dchelimsky/rspec.git
  cd rspec
  rake gem
  gem install pkg/rspec-0.x.x.gem #as root