develooper Front page | perl.perl5.porters | Postings from May 2008

Re: TODO Tests

Thread Previous | Thread Next
From:
Rafael Garcia-Suarez
Date:
May 5, 2008 23:26
Subject:
Re: TODO Tests
Message ID:
b77c1dce0805052326i78833282i60bb18a0585506b7@mail.gmail.com
2008/5/5 Bram <p5p@perl.wizbit.be>:
>  Now there are three options:
>
>  a) $s1 contains 3, no special output is printed
>  b) $s1 contains 1, output the same as it is now: (basically) unexpected
> pass for todo: "test that foo() returns 1"
>  c) $s1 contains 2 or 4, output: unexpected output for todo: "test that
> foo() returns 1"

So you're basically proposing to extend the TAP protocol ? (That would
be the best way to support it extensively. Another approach would be
to just print some diagnostics on STDERR, but those are not always
noticed.)

For TAP proposals and more generally the discussion of the Test::*
modules, I'll have to point you at the perl-qa@ list.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About