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.
  • The problem is the test isn't outputting a plan... I get

    $ perl -Mblib t/aggregate.t
    ok 1 - use Test::Aggregate;
    ok 2 - use Slow::Loading::Module;
    ok 3 - ******** running tests for aggtests/00-load.t ********
    # Testing Test::Aggregate 0.02, Perl 5.008008, /home/mauzo/src/perl/oldperls/install/5.8.8-multi-debug/bin/perl
    ok 4 - ******** running tests for aggtests/boilerplate.t ********
    ok 5 - README contains no boilerplate text
    ok 6 - Changes contains no boilerplate text
    ok 7 - lib/Test/Aggregate.pm contains no boiler
    • A ha! That's very interesting. Do you have Test::Pod 1.14 or better installed? I'm guessing you don't.

      The tests are halting prematurely and I think I need to figure out a better way to handle 'skip_all'. Here's what the test results should really look like:

      $ prove -v t
      t/aggregate......
      ok 1 - use Test::Aggregate;
      ok 2 - use Slow::Loading::Module;
      ok 3 - ******** running tests for aggtests/00-load.t ********
      ok 4 - ******** running tests for aggtests/boilerplate.t ********
      # Testing Test::Aggregate 0.02,

      • No, no Test::Pod installed at all on this copy of perl.
        • I've verified that this is actually the problem. I'll get another release out tonight. It will probably be an interim release to get the tests passing and later I will think a bit more about how to resolve this. Thanks for your help!

          • It fails reliably on my CentOS 4.3 VM - which I'll have with me at the weekend - so we can play then if it's still a problem :)
            • Version 0.03 [cpan.org] is now available. That should fix the problem.

              • andy@spore Test-Aggregate-0.03]$ perl Makefile.PL
                Checking if your kit is complete...
                Looks good
                Writing Makefile for Test::Aggregate
                [andy@spore Test-Aggregate-0.03]$ make test
                cp lib/Test/Aggregate.pm blib/lib/Test/Aggregate.pm
                PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
                t/aggregate.........2/0 # Testing Test::Aggregate 0.03, Perl 5.008005, /usr/bin/perl
                t/aggregate.........ok
                t/pod-coverage......skipped: Test::Pod::Coverage 1.04 required for testing POD coverage
                t/pod...............ok
                All tests successful.
                Files=3, Tests=12, 5 wallclock secs ( 0.00 usr 0.02 sys + 0.12 cusr 0.05 csys = 0.19 CPU)
                Result: PASS :)