In TAPx::Parser, if a TODO test unexpectedly succeeds, you can find out
by calling:

  if ( $result->todo_failed ) { ... }

That keeps screwing my head up.  I'm deprecating it and it will now
issue a warning.  Call:

  if ( $result->todo_passed ) { ... }

Also, I forgot to add a '-I' switch to 'runtests'.  I've now included
that.

I also forgot a '-h' switch.  I propose using Pod::Usage, but that was
only core as of 5.6.  As I've worked very hard to avoid *all* non-core
modules (I use a couple which were only core in 5.00307), but I think
Pod::Usage is ubiquitous enough that it's OK to include this as a
dependency.  Comments welcome.

Cheers,
Ovid

--

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

Reply via email to