In other o/s RSpec returns nicely coloured results (red, green etc).
However in the windows (Vista) command prompt my text output is just plain old boring white.
How can I bring colour to my RSpec test results?
Thanks
Evolve
In other o/s RSpec returns nicely coloured results (red, green etc).
However in the windows (Vista) command prompt my text output is just plain old boring white.
How can I bring colour to my RSpec test results?
Thanks
Evolve
You need to install the win32console
gem. BTW: which version of RSpec are you using? Every single version of RSpec I have ever used, actually prints out
You must 'gem install win32console' to use colour on Windows
when you try to colorize output.
Did you specify '--color' in your rake rspec tasks' spec_opts? Something like this..
Spec::Rake::SpecTask.new(:your_task_name) do |t|
t.spec_opts = ["--color"]
t.spec_files = [] # List of spec files
end