rspec-core
Metrics as of , from the GitHub or GitLab API of each repository. Refreshed monthly.
What rspec-core is
rspec-core is the RSpec component for Ruby that structures executable examples describing how code should behave. Example groups are declared with describe or context, and examples with it, specify or example. Nested groups are subclasses of the outer group. Shared examples and shared contexts reuse examples, hooks and let declarations across groups. Every example and group carries a metadata hash used by formatters and hook filtering. The rspec command limits which examples run and adjusts the output. Command line options can be stored in a .rspec file. This repository is the old rspec-core home, and new issues and releases go to the rspec/rspec monorepo.
Written from the project's README, read .
- Category
- Unit testing and test runners
- License
- MIT
- Language
- Ruby
- Changelog
- Releases on GitHub
Repository metrics
Status
archivedThe repository is marked archived on its host.Computed from the last commit date and the archive flag on the fetch date. See the status rules.
Alternatives
Listed unit testing and test runners tools, same primary language first, then by GitHub stars. Each line gives one fact from the tool's documentation where it differs from rspec-core's, with its source.
minitest: Test authoring format: Ruby code: Minitest::Test classes with test_ methods, spec-style describe and it blocks, or benchmarks. source: README
Jest: Languages for writing tests: JavaScript; TypeScript via Babel or ts-jest. source: README
GoogleTest: Languages for writing tests: C++ (the 1.18.x branch requires C++17). source: README
Testify: Languages for writing tests: Go. source: README
Mocha: Languages for writing tests: JavaScript; TypeScript through Node.js type stripping or a loader such as tsx. source: Docs: TypeScript
Catch2: Languages for writing tests: C++. source: README
AVA: Languages for writing tests: JavaScript on Node.js; TypeScript definitions included. source: README
PHPUnit: Languages for writing tests: PHP. source: README
How to install
gem install rspec-coreQuestions
Is rspec-core open source?
Yes. rspec-core is released under MIT, an OSI-approved license, as reported by the GitHub API on 2026-09-22.
Is rspec-core maintained?
On 2026-09-22, the last commit to the default branch was on 2024-11-30, so the listed status is archived. Rule: The repository is marked archived on its host.
How many GitHub stars does rspec-core have?
1,228 stars on 2026-09-22, from the GitHub API. The number is refreshed at each monthly update.
What language is rspec-core written in?
The repository's primary language, as reported by the GitHub API, is Ruby.
How do I install rspec-core?
The README gives this command: gem install rspec-core
Sources
- GitHub REST API: repository, read
- GitHub REST API: commits, read
- GitHub REST API: latest release, read
- GitHub REST API: contributors, read
- README, read