[rspec-devel] Fwd: Changes in edge rspec render colored output useless on Windows
luislavena at gmail.com
Mon Sep 22 20:04:31 EDT 2008
Hey Guys, for some reason this message never got into the list. I'm
forwarding it again just in case.
---------- Forwarded message ----------
Date: Tue, Sep 16, 2008 at 10:15 PM
Subject: Changes in edge rspec render colored output useless on Windows
Doing a series of updates in some project just to find out that
colored output under Windows is no longer working.
win32console, which is the gem that allows ANSI emulation under
Windows need to grab references and replace STDOUT and STDERR.
After playing with git bisect, I found the offending commit:
Only use color codes on tty; override for autospec
Previous this commit, the output was correct, after it, not.
The originating ticket with the discussion:
It seems this change also introduced hacks for making AUTOTEST to work:
And we can now add it break windows fancy colored output.
Human beings, who are almost unique in having the ability to learn from
the experience of others, are also remarkable for their apparent
disinclination to do so.
More information about the rspec-devel