Grokbase Groups Perl qa January 2007
FAQ
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)

Search Discussions

  • Adam Kennedy at Jan 7, 2007 at 12:51 am

    Ovid wrote:
    tbad/longtestfilename....Failed 2/10 tests
    (less 1 skipped test: 7 okay)
    (1 test unexpectedly succeeded)
    Is that last lines for a TODO? Because it just gave me a brief WTF moment.

    Might be better for clarity to use

    (1 TODO test unexpectedly succeeded)

    Adam K
  • Ovid at Jan 7, 2007 at 1:29 am

    --- Adam Kennedy wrote:

    Ovid wrote:
    tbad/longtestfilename....Failed 2/10 tests
    (less 1 skipped test: 7 okay)
    (1 test unexpectedly succeeded)
    Is that last lines for a TODO? Because it just gave me a brief WTF
    moment.

    Might be better for clarity to use

    (1 TODO test unexpectedly succeeded)
    Thanks. I've changed that and it will be in the next release.

    Cheers,
    Ovid

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupqa @
categoriesperl
postedJan 5, '07 at 11:22p
activeJan 7, '07 at 1:29a
posts3
users2
websiteqa.perl.org

2 users in discussion

Ovid: 2 posts Adam Kennedy: 1 post

People

Translate

site design / logo © 2021 Grokbase