Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rspec/rspec-metagem
RSpec meta-gem that depends on the other components
https://github.com/rspec/rspec-metagem
rspec ruby
Last synced: 17 days ago
JSON representation
RSpec meta-gem that depends on the other components
- Host: GitHub
- URL: https://github.com/rspec/rspec-metagem
- Owner: rspec
- License: mit
- Created: 2009-06-29T16:13:38.000Z (over 15 years ago)
- Default Branch: main
- Last Pushed: 2024-05-27T10:46:08.000Z (7 months ago)
- Last Synced: 2024-11-22T14:33:56.552Z (20 days ago)
- Topics: rspec, ruby
- Language: Ruby
- Homepage: https://rspec.info
- Size: 135 KB
- Stars: 2,860
- Watchers: 96
- Forks: 235
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Code of conduct: code_of_conduct.md
- Security: SECURITY.md
Awesome Lists containing this project
- stars - rspec-metagem - gem that depends on the other components | rspec | 2857 | (Ruby)
- stars - rspec-metagem - gem that depends on the other components | rspec | 2857 | (Ruby)
README
# RSpec
Behaviour Driven Development for Ruby
**The rspec metagem repository has been renamed to rspec-metagem, please update
any rspec/rspec Github references to rspec/rspec-metagem, this is in preparation
for a new mono-repo approach to RSpec dev to unify issue tracking and PR management**## Description
rspec is a meta-gem, which depends on the
[rspec-core](https://github.com/rspec/rspec-core),
[rspec-expectations](https://github.com/rspec/rspec-expectations)
and [rspec-mocks](https://github.com/rspec/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](https://github.com/freerange/mocha), [rr](https://github.com/rr/rr)
or [flexmock](https://github.com/jimweirich/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](http://github.com/rspec/rspec-dev)
## Also see
* [https://github.com/rspec/rspec-core](https://github.com/rspec/rspec-core)
* [https://github.com/rspec/rspec-expectations](https://github.com/rspec/rspec-expectations)
* [https://github.com/rspec/rspec-mocks](https://github.com/rspec/rspec-mocks)
* [https://github.com/rspec/rspec-rails](https://github.com/rspec/rspec-rails)