[EMAIL PROTECTED] (David Wheeler) writes: > On Feb 23, 2005, at 6:42 PM, chromatic wrote: > >> The way Test::Builder works, diagnostics always go to STDERR. Is there >> a reason for this beyond "It's tricky to correlate diagnostics to the >> appropriate test numbers"? (I agree with that, but I'm willing to take >> my chances on certain occasions.) > > Personally, I would love it if they went to STDOUT, if for no other > reason than that they would be properly output relative to the > surrounding context. I get diagnostics appearing far away from the > output of tests that they're right next to in the code all the time. I > though I'd fixed that by turning off buffering > on STDERR (Andy committed that patch, I think), but it still happens. :-(
Agreed. IMO the TAP protocol should confine itself to a single (arbitrary) data stream. It shouldn't even specify STDOUT; leaving that as an implementation detail makes the protocol more useful (ie., we should be able to communicate TAP via HTTP, SMTP, etc.). -- Joe Schaefer