Redgreen and autospec

I use the redgreen gem for autotest to highlight errors in another color. Sadly that broke my autospec:

invalid option: --autospec
Test::Unit automatic runner.
Usage: -e [options] [-- untouched arguments]

If you want to use redgreen and have a working autospec, you should change your .autotest file to this:

require 'redgreen/autotest' unless ENV['RSPEC']
Portrait photo of Bodo Tasche
Bodo Tasche
Polyglot Developer

I am a freelance polyglot developer and love HTML5, testing, JavaScript, Ruby and Elixir. In the last 20 years I have been in lots of different roles, from Java to Elixir, from backend developer at a 3 people team in an early phase startup to the CTO of a web agency. Some of my work can be seen on my projects page.

Need help developing your MVP or to add new features into your current app? Need a CTO or a front/backend developer for hire? Send me an email.