From: Trans Date: 2006-12-09T03:07:37+09:00 Subject: Re: autotest, unit-diff, and color output? Rob Sanheim wrote: > I'm using autotest with all its test driven goodness, and I believe > that uses unit-diff to present a "saner" view of test difference > output. > > I'd like to do colorize the output from unit-diff so its similar to > what you see on a changeset on trac, for instance. Does anyone know > anything that can colorize diffs in ruby, or know of a good starting > point? Or at least where to start for outputting color in the > terminal, so I can do "#{color.red} stuff" instead of using control > characters. you can try facets' ansicode lib written primarily by Florian Frank. t.