summaryrefslogtreecommitdiff
path: root/devel/ruby-rspec/DESCR
blob: d4f4effd8425e9232acd72ad24f26ac3dd0549d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Behaviour Driven Development for Ruby

# RSpec Core

rspec-2.x is a meta-gem, which depends on the rspec-core, rspec-expectations
and rspec-mocks gems. Each of these can be installed separately and actived in
isolation with the `gem` command. Among other benefits, this allows you to use
rspec-expectations, for example, in Test::Unit::TestCase if you happen to
prefer that style.

Conversely, if you like RSpec's approach to declaring example groups and
examples (`describe` and `it`) but prefer Test::Unit assertions and mocha, rr
or flexmock for mocking, you'll be able to do that without having to load the
components of rspec that you're not using.

## Documentation

* [Cucumber features](http://relishapp.com/rspec/rspec-core)
* [RDoc](http://rubydoc.info/gems/rspec-core/2.4.0/frames)