I can't get by without redgreen to colorize my test output. You can get it to work with all your Rails test tasks by requiring the redgreen gem in test_helper.rb
. The problem is, it messes up your test output formatting when you run tests in TextMate using Command-R. The solution is trivial - check to see if any of the TextMate execution environment variables are present:
In test_helper.rb
:
require 'redgreen' unless ENV['TM_MODE']
Now back to your regularly scheduled internets...
Have you tried out autotest with sound? http://fozworks.com/2007/7/28/autotest-sound-effects
Cool, but... why not fix your editor to understand ANSI color codes instead? =)
Special thanks to Priit Tamboom for the link. Really nice stuff :)
Thank you! This has been bugging me for a long time.