One of my hacking partners dislikes it when I talk about my unit tests being green or red. Since running Test::Unit tests from the command line return "Plain Old Text", he's got a point. Since I don't think I'll change the way I talk, I decided to write a quick wrapper for Test::Unit to make things work. About 15 minutes later, I had RedGreen.
pate $ ruby test_good.rb | Redgreen Loaded suite test_good Started . Finished in 0.000485 seconds.1 tests, 1 assertions, 0 failures, 0 errors pate $ ruby test_bad.rb | Redgreen Loaded suite test_bad Started F Finished in 0.001635 seconds. 1) Failure: test_char2num(TestCipher) [test_bad.rb:6]: Flunked. 1 tests, 1 assertions, 1 failures, 0 errors pate $
It's an embarassingly small amount of code. There are actually as many lines in the shebang and leading comments (name, description, copyright, license and version number) as there are of actual code. Nonetheless, it seems like a potentially useful little toy (at least to keep my friend happy when I tell him my tests are green).
If you'd like to use it, you can install a gem (it'll be in the repository shortly. Just do:
gem install --remote Redgreen