On 12 Jan 2008, at 18:33, chromatic wrote:
The problem I'm hearing over and over again is "Test::Builder is
spewing
crap all over my screen and obscuring the first, real failure". So
now
that the problem is clearly stated, how do we solve it without
making all
that spew (which can be useful) totally unavailable?
Paged output from prove when running on a tty?
Tee STDOUT/STDERR to a temporary file from prove when running on a
tty?
Pause reporting from prove after each failure?
Note the common prepositional phrase in all three.
Something to do with prove? :)
I can see virtue in all three. I can also see an argument for
$ prove -rb 2>&1 | less
And if that's too much bother alias it to pprv.
Personally I run in a terminal with unlimited scrollback and clear the
buffer before running a big test suite so that scrolling back to the
top gets me quickly to the start of the action.
--
Andy Armstrong, Hexten