Stories
Slash Boxes
Comments
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

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
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 [cpan.org]

    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 [cpan.org]

  • You mean like

    #!/usr/bin/perl

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

    (tests)

    END {
            MyTestLibrary->posthook;
    }