rspec/rspec-metagem

RSpec meta-gem that depends on the other components

Ruby

2,827

222 commits

updated Nov 27, 2024

See the code

README

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

rspec
ruby

Project health

Overall

3.1/10

Maintained

0/10

Code review

1/10
OpenSSF Scorecard

RubyGems

Latest release

3.13.2 · Oct 21, 2025

Releases this year

1

Significant stargazers

(top 24 of 29)

Dave Nicolson

51 followers · starred Jul 2014

Jay Feldblum

118 followers · starred Dec 2009

Aslak Hellesøy

819 followers · starred Jun 2009

Postmodern

1,180 followers · starred Dec 2021

rspec/rspec-metagem

RSpec meta-gem that depends on the other components

Ruby

2,827

222 commits

updated Nov 27, 2024

See the code

README

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

rspec
ruby

Project health

Overall

3.1/10

Maintained

0/10

Code review

1/10
OpenSSF Scorecard

RubyGems

Latest release

3.13.2 · Oct 21, 2025

Releases this year

1

Significant stargazers

(top 24 of 29)

Dave Nicolson

51 followers · starred Jul 2014

Jay Feldblum

118 followers · starred Dec 2009

Aslak Hellesøy

819 followers · starred Jun 2009

Postmodern

1,180 followers · starred Dec 2021