clipboard_formatter

Copies the list of failed examples to your clipboard so that you can restart them easily.


Keywords
clipboard, rspec, rspec-formatter, ruby
License
MIT
Install
gem install clipboard_formatter -v 1.0.1

Documentation

RSpec Clipboard Formatter [version]

Copies the command to run all failed examples to your clipboard.

Setup

Add the gem to your Gemfile:

gem 'clipboard_formatter'

Add the formatter to your rspec options, e.g. in a .rspec file. You probably want to set it as an additional one, instead of the only one:

--format documentation
--require clipboard_formatter --format ClipboardFormatter

Usage

Run your RSpec suite, but let some tests fail. Then use your clipboard.

MIT License

Copyright (C) 2015 Jan Lelis https://janlelis.com. Released under the MIT license.