Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
R

rspec-metagem

> 编程语言
Open source

RSpec meta-gem that depends on the other components

2.8K stars0 likes1 views
WebsiteGitHub

About

RSpec meta-gem that depends on the other components

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

  • http://github.com/rspec/rspec-dev

Also see

  • https://github.com/rspec/rspec-core
  • https://github.com/rspec/rspec-expectations
  • https://github.com/rspec/rspec-mocks
  • https://github.com/rspec/rspec-rails

GitHub Issues· 0 open

View all on GitHub

No open issues yet, or sync has not completed.

Highlights

  • •http://github.com/rspec/rspec-dev
  • •https://github.com/rspec/rspec-core
  • •https://github.com/rspec/rspec-expectations
  • •https://github.com/rspec/rspec-mocks
  • •https://github.com/rspec/rspec-rails

> Tags

Rubyrspecruby

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言