On Sat Oct 22 18:54:32 2011, schwern@pobox.com wrote:
Show quoted text> This is caused by Test::Harness choosing TAP::Formatter::File for output if
> output is not to a TTY. TAP::Formatter::File does not output color. IMO I
> don't see why it shouldn't, if the user explicitly asked for color give them
> color. That would be a matter of moving _set_colors, _output_success and
> _failure_output from TAP::Formatter::Console up into TAP::Formatter::Base so
> all formatters have it available.
I think this can be easily solved by continuing to use TAP::Formatter::Console (rather than switching to TAP::Formatter::File) if the user asks for color. This is a two line patch in TAP::Harness (plus comments).