Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/janlelis/clipboard_formatter
A clipboard formatter for RSpec
https://github.com/janlelis/clipboard_formatter
clipboard rspec rspec-formatter ruby
Last synced: 6 days ago
JSON representation
A clipboard formatter for RSpec
- Host: GitHub
- URL: https://github.com/janlelis/clipboard_formatter
- Owner: janlelis
- License: mit
- Created: 2015-04-06T14:21:39.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2020-12-30T20:08:55.000Z (almost 4 years ago)
- Last Synced: 2024-10-31T09:36:59.345Z (13 days ago)
- Topics: clipboard, rspec, rspec-formatter, ruby
- Language: Ruby
- Size: 4.88 KB
- Stars: 7
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: MIT-LICENSE.txt
Awesome Lists containing this project
README
# RSpec Clipboard Formatter [![[version]](https://badge.fury.io/rb/clipboard_formatter.svg)](https://badge.fury.io/rb/clipboard_formatter)
Copies the command to run all failed examples to your clipboard.
## Setup
Add the gem to your `Gemfile`:
```ruby
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 . Released under the MIT license.