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

Re: TODO Tests

Thread Previous | Thread Next
Rafael Garcia-Suarez
May 5, 2008 23:26
Re: TODO Tests
Message ID:
2008/5/5 Bram <>:
>  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

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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About