Skip to content
This repository was archived by the owner on Nov 27, 2024. It is now read-only.

rspec/rspec-metagem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

707eea1 · Nov 27, 2024
Dec 27, 2020
Dec 23, 2014
Feb 4, 2024
Oct 6, 2015
Jul 10, 2015
Oct 27, 2013
Dec 18, 2019
Nov 27, 2024
Jul 24, 2020
May 27, 2024
Dec 27, 2020
Oct 26, 2021

Repository files navigation

RSpec

Behaviour Driven Development for Ruby

This is the old rspec metagem repository, please see the monorepo rspec/rspec for new issues and releases.

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