GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Fork of dchelimsky/rspec
Description: Behaviour Driven Development framework for Ruby
Homepage: http://rspec.info
Clone URL: git://github.com/wilson/rspec.git
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 Jun 04 11:03:03 -0700 2008 Ignore Rubinius generated .rbc files [wilson]
file CHANGES Wed May 28 17:03:57 -0700 2008 a step definition with no block is treated as p... [dchelimsky]
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 Sun Jun 01 14:37:00 -0700 2008 Ignoring lib/spec/runner.rb so we no longer nee... [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 May 29 17:20:46 -0700 2008 support multiline (specs and code from Ola Bini) [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/ Wed Jun 04 12:41:36 -0700 2008 Another backtrace tweak tweak [wilson]
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/ Wed Jun 04 11:05:00 -0700 2008 Warn instead of raising if Hpricot is not insta... [wilson]
directory stories/ Thu May 29 17:21:12 -0700 2008 more files from last commit [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