https://github.com/fteem/minitest-paste
Minitest plugin that uploads test failures in plain text for easier sharing
https://github.com/fteem/minitest-paste
Last synced: 25 days ago
JSON representation
Minitest plugin that uploads test failures in plain text for easier sharing
- Host: GitHub
- URL: https://github.com/fteem/minitest-paste
- Owner: fteem
- Created: 2016-01-12T02:20:57.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-01-13T14:21:57.000Z (over 10 years ago)
- Last Synced: 2026-04-22T03:16:38.562Z (about 2 months ago)
- Language: Ruby
- Homepage: https://rubygems.org/gems/minitest-paste
- Size: 6.84 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Minitest::Paste
Minitest::Paste is a minitest plugin/extension which takes all of your test
failures, compiles and uploads them to dpaste.com. Additionally, it copies the
dpaste.com link to your clipboard, so you can share the test issues you are
experiencing with your colleagues.
**Why Dpaste.com not Pastebin or the others?**
Because dpaste.com has a very simple and open API, which does not need any API
keys and/or authentication. Honestly, I just did not want to bother with all
that stuff.
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'minitest-paste'
```
And then execute:
$ bundle
Or install it yourself as:
$ gem install minitest-paste
## Usage
In your `test_helper.rb`, after the line that requires Minitest, add this:
```ruby
require "minitest/paste"
```
Then, to use the plugin when running your tests, add the `--paste` switch. After,
the tests are run, you will have the dpaste.com link in your clipboard, ready to
share.
## Development
Nothing special, just clone the repo and off you go.
## Contributing
Bug reports and pull requests are welcome on GitHub at
https://github.com/fteem/minitest-paste.