# \[ANN\] Tap Out

**URL:** <https://rubytalk.org/t/ann-tap-out/63801>\
**Category:** ruby-talk\
**Created:** [8 October 2011 01:26 UTC](https://rubytalk.org/t/ann-tap-out/63801 "2011-10-08T01:26:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![7rans](https://avatars.discourse-cdn.com/v4/letter/7/a8b319/32.png) [@7rans](https://rubytalk.org/u/7rans)\
**Post date:** [8 October 2011 01:26 UTC](https://rubytalk.org/t/ann-tap-out/63801/1 "2011-10-08T01:26:05Z")

</div>

I'm pretty psyched about a new tool I just release called "Tap Out".  
Tap Out is a test output formatter, kind of like Turn. But Tap Out is  
unique is a number of ways. The most significant is that Tap Out only  
consumes TAP-Y/J formatted input. TAP-Y/J (a shorthand for TAP-Y/TAP-  
J) is is a modernization of TAP, the Test Anything Protocol, which I  
created specifically for Tap Out.

If you are currently using MiniTest, the test framework that is  
distributed with Ruby 1.9+, it's really easy to take advantage of Tap  
Out via the MiniTap plugin. Just do this:

&nbsp;&nbsp;&nbsp;&nbsp;$ gem install minitap

Then add this to your test helper script:

&nbsp;&nbsp;&nbsp;&nbsp;require 'minitap'  
&nbsp;&nbsp;&nbsp;&nbsp;MiniTest::Unit.runner = MiniTest::TapY.new

Now when you run your tests, TAP-Y will be the output format. All you  
have to do then is pipe that through the tapout command, e.g.

&nbsp;&nbsp;&nbsp;&nbsp;$ rake -s test | tapout

To use a different tapout reporter pass the name of it as an argument  
to tapout.

&nbsp;&nbsp;&nbsp;&nbsp;$ rake -s test | tapout progressbar

That's the crux of it. You can learn more by checking out the website  
([http://rubyworks.github.com/tapout](http://rubyworks.github.com/tapout)) and follow other links form  
there.

Tap Out is a very new project, currently at v0.2.3, and there's still  
a bit of elbow grease to be put into it before it's up to the level of  
Turn, for instance. But I am very proud of the general design, so I  
hope others find it pretty cool too, and will give me a shout if any  
problems arise or have any ideas for improvement.

Thanks.
