Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Ovid (2709)

  (email not shown publicly)
AOL IM: ovidperl (Add Buddy, Send Message)

Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.

Journal of Ovid (2709)

Monday November 19, 2007
06:30 AM

Things I Want In Tests

[ #34929 ]
  • I want Test::Builder to support the new YAML diagnostic syntax.
  • I want deferred plans. So that I can specify my own plan count at the end of a test run, but not just use 'no_plan'.
  • I want test counts to each test program can start with [233/340] so you can see your test suite progress.
  • I want pre- and post- test program hooks (we already have pre- and post- test suite hooks)

The beauty of my wish list is that I can make those last two happen.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • I want Test::Builder to support the new YAML diagnostic syntax.

    I've done a really nasty hacky, bodge of Test::More that sort of supports diagnostics:

    Test::More::Diagnostic []

    It highlights what I believe is a small design flaw in the YAML blocks: if you want to process a test result and its associated block as an atom you have to introduce a delay into the processing pipeline - because having seen a test you don't know if the next thing is going to be a YAML block or another test.

    TAP::Formatter::Te []

  • You mean like


    use strict;
    use MyTestLibrary 'prehook';
    use Test::More tests => 1234;


    END {