RSpec
Some data may be outdated — see provenance labels.
The RSpec monorepo observed · 2026-09-27
Health v2 · maintenance only
64/100
- Activity 93
- Release rhythm 35
- Longevity 49
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 693
- days_rel: n/a
- days_push: 47
- n_releases_24m: 0
Adoption not part of the score
117 stars · 51 forks observed · 2026-09-27
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
RSpec is Ruby's behaviour-driven development (BDD) testing framework, composed of modular libraries: rspec-core (spec runner), rspec-expectations (readable matchers), rspec-mocks (test doubles), and rspec-rails (drop-in Rails integration replacing Minitest). Tests are written as plain-English specifications of application behaviour.
Use cases
- test a ruby on rails application with rspec instead of minitest
- write readable behaviour-driven specs for ruby code
- mock and stub dependencies in unit tests with test doubles
- run a test suite from the command line with flexible reporting
- express expected outcomes with composable matchers
When to choose
- you're building a Rails app and want a mature, idiomatic alternative to Minitest
- you prefer BDD-style, plain-English specifications over xUnit assertions
- you need a modular setup where the runner, matchers, and mocking libraries can be used independently
When to avoid
- you're on an unsupported or very old Rails version without a matching rspec-rails major version
- your team is standardized on Minitest and doesn't want a second testing stack
- you need a framework-agnostic test runner for non-Ruby languages
Facets
library · maturity stable
testing e2e-testing mocking testing web-development developer-tools ruby cli bdd test-framework rails spec-runner test-doubles matchers
4 sources
- readme: https://github.com/rspec/rspec · fetched 2026-09-27 · 7291a2c9195b
- homepage: http://rspec.info · fetched 2026-08-29 · fb85d6c6f71d
- site_page: http://rspec.info/about · fetched 2026-08-29 · 983be271fbb1
- site_page: http://rspec.info/documentation · fetched 2026-08-29 · 3d19eb7ba809
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| rspec/rspec | main | 64 |
| rspec/rspec-rails | plugin | 75 |
| rspec/rspec-metagem | infra | 10 |
| rspec/rspec-expectations | backend | 10 |
| rspec/rspec-core | backend | 10 |
| rspec/rspec-mocks | backend | 10 |
| rspec/rspec-collection_matchers | plugin | 74 |
| rspec/rspec-dev | infra | 32 |
| rspec/rspec-support | backend | 10 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem