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 !
commit  e1bce2b4517a206dd08313652cf2f0b0cf740d4f
tree    191fe7aef3e39acdd8e968b68e34a15312c297ce
parent  294acb030f811fd546735aa819cdcf89d142b635
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 [pat-maddox]
file CHANGES Thu May 22 01:02:02 -0700 2008 Added IntentedTextFormatter. [btakita]
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" [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/ Thu Apr 03 15:02:31 -0700 2008 remove everything but rspec (core) from main rs... [dchelimsky]
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/ Thu May 22 01:30:10 -0700 2008 Adding IndentedTextFormatter. Did not commit th... [btakita]
directory plugins/ Thu Apr 03 15:02:31 -0700 2008 remove everything but rspec (core) from main rs... [dchelimsky]
directory rake_tasks/ Thu Apr 03 15:02:31 -0700 2008 remove everything but rspec (core) from main rs... [dchelimsky]
directory spec/ Thu May 22 01:30:10 -0700 2008 Adding IndentedTextFormatter. Did not commit th... [btakita]
directory stories/ Thu Apr 03 15:02:31 -0700 2008 remove everything but rspec (core) from main rs... [dchelimsky]
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