Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rspec/rspec-legacy_formatters
Provides RSpec 3 support for formatters written against the RSpec 2.x API
https://github.com/rspec/rspec-legacy_formatters
Last synced: 3 months ago
JSON representation
Provides RSpec 3 support for formatters written against the RSpec 2.x API
- Host: GitHub
- URL: https://github.com/rspec/rspec-legacy_formatters
- Owner: rspec
- License: mit
- Created: 2014-04-01T22:24:29.000Z (almost 11 years ago)
- Default Branch: main
- Last Pushed: 2020-08-05T19:54:34.000Z (over 4 years ago)
- Last Synced: 2024-09-30T03:41:06.422Z (3 months ago)
- Language: Ruby
- Size: 70.3 KB
- Stars: 3
- Watchers: 11
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changelog.md
- Funding: .github/FUNDING.yml
- License: License.txt
Awesome Lists containing this project
README
# RSpec::LegacyFormatters
This gem provides support for using legacy formatters (that is, those
that were written against the RSpec 2 formatter API) with RSpec 3.## Installation
Add this line to your application's Gemfile:
gem 'rspec-legacy_formatters'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rspec-legacy_formatters
## Usage
This gem MUST be required before the legacy formatter is loaded. We recommend
you use RSpec's `--require` option, either from the command line:```
$ rspec --require rspec/legacy_formatters --format MyCustomFormatter
```...or by adding it to `.rspec`:
```
--require rspec/legacy_formatters
```## Contributing
1. Fork it ( http://github.com/rspec/rspec-legacy_formatters/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request