RSpec meta-gem that depends on the other components
Go to file
Jon Rowe cfb135a48b v3.12.0 2022-10-26 20:38:17 +01:00
.github Updated common plaintext files (from rspec-dev)main 2020-12-27 11:49:58 +00:00
certs Add my signature for the new certificate 2014-12-23 11:52:16 +00:00
lib v3.12.0 2022-10-26 20:38:17 +01: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 executable bit 2019-12-18 18:54:35 +00:00
README.md Fix typo 2021-10-26 17:31:31 +01:00
Rakefile Update rakefile 2020-07-24 11:49:21 +01:00
code_of_conduct.md Updated common plaintext files (from rspec-dev)main 2020-12-27 11:49:58 +00:00
rspec.gemspec Move rspec to rspec-metagem 2021-10-26 17:30:25 +01:00

README.md

RSpec

Behaviour Driven Development for Ruby

The rspec metagem repository has been renamed to rspec-metagem, please update any rspec/rspec Github references to rspec/rspec-metagem, this is in preparation for a new mono-repo approach to RSpec dev to unify issue tracking and PR management

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 or 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

Setup

rspec --init

Contribute

Also see