On Fri, Jan 05, 2007 at 01:50:54PM -0600, Andy Lester wrote:

> On Jan 5, 2007, at 1:46 PM, Ovid wrote:
> 
> >Failed Test   Total   Fail     List of Failed        TODO Passed
> >------------------------------------------------------------------
> >t/bar.t           13      9 2, 6-8, 13, 17, 33-35 3-4
> >t/foo.t           10     10 5, 19, 27, 37-38, 117 9-11
> >
> >Did you mean that you didn't like the 'horizontal' lines?
> 
> Both.
> 
> How about
> 
> t/bar.t 9/13
>     Failed: 2, 6-8, 13, 17, 33-35
>     TODO passed: 3-4
> t/foo.t  10/10
>     Failed: 5, 19, 27, 37-38, 117 9-11

FWIW, I like the tabular output.  How about something like:

 Test    Total  Failed     List of Failed      TODO Passed
-------+-------+------+----------------------+------------
t/bar.t      13      9  2, 6-8, 13, 17, 33-35  3-4
t/foo.t      10     10  5, 19, 27, 37-38, 117  9-11

Possibly including wstat, just for Nicholas ;-)

You'd have to be careful if there is a very large number of failed
subtests (I can never remember what we decided those would be called)
but, thinking about it, if more than a few of them have failed, I really
don't care to see them all anyway.  Just the first handful (perhaps the
number that would fit in the column) is enough.  If I really need to see
them all I can get at that information some other way.  The same applies
for passed TODOs.

> That should degrade nicely in non-monospaced.

And to be honest, I really don't see that as a big problem.  How often
do people need to look at results like this where they cannot control
the font?  If the worst comes to the worst, you can always copy and
paste them into an editor.

Just lobbing a few peanuts ...

And if you squint at the table hard enough it starts to resemble a
bikeshed.  When you've all decided on something I didn't want, I'll
spend ages creating my own output format and making it just the right
shade of lilac.  And rounding the corners.

Actually, I won't, 'cos my tests never fail :-P

-- 
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net

Reply via email to