0.0
No commit activity in last 3 years
No release in over 3 years
minitest/paste is a Minitest plugin which collects any test failures, compiles them and uploads them to dpaste.com for easier sharing. After the upload is complete it injects the link in your clipboard.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.10
~> 10.0

Runtime

~> 1.0.6
 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:

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:

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.