forked from dchelimsky/rspec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
36 lines (22 loc) · 984 Bytes
/
README
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
== 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