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

public
Rubygem
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)
Thu May 22 00:01:58 -0700 2008
commit  dff59d633d71eeb621bcd6b9f5d1238f78c62647
tree    477f48968a84b7bb78c9256b128648d148c54be7
parent  05138e5c973f3b69dd349570e29bad6ed55c9078
rspec / README
100644 37 lines (22 sloc) 0.984 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
== 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