OK, here's a first pass at sample test output with my new test harness.
   Note that the -q option is enabled to suppress a very long test
output.  Let me know what you think.

I do realize that the indentation on the failure results might still
cause problems with non-monospaced displays, but I can't think of any
other way of handling long failure output.  I think it might still look
ok, but I'm not sure.

Cheers,
Ovid

TAPx-Parser $ /usr/bin/perl -Ilib bin/runtests -q tbad/
tbad/060-aggregator......ok 
tbad/badtests............Failed 67/100 tests
tbad/ddd.................ok 
tbad/longtestfilename....Failed 2/10 tests
        (less 1 skipped test: 7 okay)
        (1 test unexpectedly succeeded)

Test Summary Report
------------
tbad/badtests.t (Wstat: 17152 Tests: 100 Failed: 67)
  Failed tests:  1-2, 4-5, 7-8, 10-11, 13-14, 16-17, 19-20
                 22-23, 25-26, 28-29, 31-32, 34-35, 37-38
                 40-41, 43-44, 46-47, 49-50, 52-53, 55-56
                 58-59, 61-62, 64-65, 67-68, 70-71, 73-74
                 76-77, 79-80, 82-83, 85-86, 88-89, 91-92
                 94-95, 97-98, 100

tbad/longtestfilename.t (Wstat: 0 Tests: 10 Failed: 2)
  Failed tests:  3, 10
  TODO passed:   9
  Tests skipped: 7

Files=4, Tests=174,   1 wallclock secs ( 0.38 cusr +  0.10 csys =  0.48 CPU)

--

Buy the book -- http://www.oreilly.com/catalog/perlhks/
Perl and CGI -- http://users.easystreet.com/ovid/cgi_course/

Reply via email to