Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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 days ago
JSON representation

Provides RSpec 3 support for formatters written against the RSpec 2.x API

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