RSpec meta-gem that depends on the other components
Go to file
Myron Marston bc209d4a2a Release 3.6.0.beta1 2016-10-09 19:13:26 -07:00
certs Add my signature for the new certificate 2014-12-23 11:52:16 +00:00
lib Release 3.6.0.beta1 2016-10-09 19:13:26 -07:00
.document update license references 2015-10-07 07:08:03 +11:00
.gitignore Ignore specs.out since our build scripts produce that as an artifact. [ci skip] 2015-07-09 22:11:30 -07:00
Gemfile Uses rspec-support from the local dev directory 2013-10-26 22:02:34 -04:00
LICENSE.md Remove code quotes and ending blank line in README 2015-10-05 22:43:09 -07:00
README.md Fix link to Mocha in the README.md 2016-02-09 12:56:31 -08:00
Rakefile Ruby 2.1 has deprecated File.exists 2014-03-16 18:23:22 -04:00
code_of_conduct.md Add code of conduct. 2015-07-29 23:55:07 -04:00
rspec.gemspec update license references 2015-10-07 07:08:03 +11:00

README.md

RSpec

Behaviour Driven Development for Ruby

Description

rspec is a meta-gem, which depends on the rspec-core, rspec-expectations and rspec-mocks gems. Each of these can be installed separately and loaded in isolation using require. 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] (https://github.com/btakita/rr) or [flexmock] (https://github.com/jimweirich/flexmock) for mocking, you'll be able to do that without having to install or load the components of RSpec that you're not using.

Documentation

See http://rspec.info/documentation/ for links to documentation for all gems.

Install

gem install rspec

Contribute

Also see