public
Description: Behaviour Driven Development framework for Ruby
Homepage: http://rspec.info
Clone URL: git://github.com/dchelimsky/rspec.git
Click here to lend your support to: rspec and make a donation at www.pledgie.com !
btakita (author)
Sun May 25 12:09:41 -0700 2008
commit  8b73e1288e62f4d59e17405a715d58d0cb56cf4a
tree    72ca14e69d4ceda89e2c1e35ab7f5c48da078622
parent  3c00f80308585649dc4b59c581a9174c91240f8a
rspec /
name age message
file .autotest Thu Apr 03 15:02:31 -0700 2008 remove everything but rspec (core) from main rs... [dchelimsky]
file .gitignore Wed Apr 16 21:40:16 -0700 2008 ignore emacs stuff [patmaddox]
file CHANGES Loading commit data...
file MIT-LICENSE Wed Apr 16 16:20:10 -0700 2008 update license dates [dchelimsky]
file README Mon Apr 07 22:01:38 -0700 2008 update info files [dchelimsky]
file Rakefile Sat May 03 15:21:06 -0700 2008 Showing progress for spec_html suite. [btakita]
file TODO Fri Apr 18 15:05:23 -0700 2008 Revert "just testing some stuff" This reverts ... [Brian Takita & Nathan Sobo]
file UPGRADE Mon Apr 07 22:01:38 -0700 2008 update info files [dchelimsky]
directory bin/ Thu Apr 03 15:02:31 -0700 2008 remove everything but rspec (core) from main rs... [dchelimsky]
directory examples/
directory failing_examples/ Thu Apr 03 15:02:31 -0700 2008 remove everything but rspec (core) from main rs... [dchelimsky]
file init.rb Thu Apr 03 15:02:31 -0700 2008 remove everything but rspec (core) from main rs... [dchelimsky]
directory lib/
directory plugins/ Sat May 24 15:55:15 -0700 2008 Decouple mock framework from global extensions ... [dchelimsky]
directory rake_tasks/ Thu Apr 03 15:02:31 -0700 2008 remove everything but rspec (core) from main rs... [dchelimsky]
directory spec/
directory stories/ Sun May 25 00:02:56 -0700 2008 Renamed IndentedTextFormatter to NestedTextForm... [btakita]
directory 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