mirror of
https://github.com/rspec/rspec-metagem.git
synced 2022-11-09 12:09:29 -05:00
RSpec meta-gem that depends on the other components
9fb905ef4a
Updates from rspec-dev (2020-12-27) |
||
---|---|---|
.github | ||
certs | ||
lib | ||
.document | ||
.gitignore | ||
code_of_conduct.md | ||
Gemfile | ||
LICENSE.md | ||
Rakefile | ||
README.md | ||
rspec.gemspec |
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
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