Skip Menu |

This queue is for tickets about the TAPx-Parser CPAN distribution.

Report information
The Basics
Id: 24310
Status: resolved
Priority: 0/
Queue: TAPx-Parser

People
Owner: ovid [...] cpan.org
Requestors: MARKSTOS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.50_03
Fixed in: (no value)



Subject: wish: smarter color support
My wish is that the color handled to improved based on the "ack" model, which is documented thusly: --color, --nocolor --color highlights the matching text. --nocolor supresses the color. This is on by default unless the output is redirected, or running under Windows. ##### With that design, I wouldn't have used "--color", and it would have "just worked" whether it was going to the screen or being piped to a file. This came to mind after I had been using --color, but then added a pipe to the statement to a file. The result was a mess.... The ack model solves that. (And ack would have the code to borrow, too. :) Mark
Hi Mark, I do intend to incorporate your suggestions. At the present time, I can't because I need to make a few changes to the color functionality (making them overrideable via a '.runtestsrc' file). Once that's in place, I think your changes will go in nicely. Cheers, Ovid
FYI: this has been fixed in the current svn code and will be available in the next release. Cheers, Ovid
This has now been fixed in 0.50_06. Please do not reply to this message unless there is a problem. Otherwise, the ticket is automatically reopened. Cheers, Ovid