public
Description: Behaviour Driven Development framework for Ruby
Homepage: http://rspec.info
Clone URL: git://github.com/dchelimsky/rspec.git
Search Repo:
Click here to lend your support to: rspec and make a donation at www.pledgie.com !
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 Sun May 25 12:22:02 -0700 2008 Update CHANGES [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 Sat May 03 15:21:06 -0700 2008 Showing progress for spec_html suite. [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 22 09:51:41 -0700 2008 Moved specs around, little bit of cleanup [pat-maddox]
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/ Mon May 26 13:34:26 -0700 2008 prep for 1.1.4 release [dchelimsky]
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/ Sun May 25 01:19:55 -0700 2008 reverting 45a68378bf0cde18a5cc3ec64c93388a392f5... [pat-maddox]
folder stories/ Sun May 25 00:02:56 -0700 2008 Renamed IndentedTextFormatter to NestedTextForm... [btakita]
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