Test-Class - Re: Problems building Test-Class on NetBSD

Posted on Tue Feb 7 20:22:36 2006 by btp in response to 1767 (See the whole thread of 5)
Re: Problems building Test-Class on NetBSD
Sure, here's what I get with TEST_VERBOSE=1
PERL_DL_NONLAZY=1 /usr/pkg/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'bl +ib/arch')" t/*.t t/_new.................1..6 ok 1 - use Test::Class; ok 2 - The object isa Test::Class ok 3 - key/value set ok 4 - The object isa Test::Class ok 5 - prototype key/value set ok 6 - new key/value set ok t/bailout..............1..2 ok 1 - bailout works ok 2 - exit value okay ok t/builder..............1..1 ok 1 - builder ok t/compile..............1..2 ok 1 - cannot test anon sub ok 2 - bad number detected ok t/current_method.......1..4 # # Local::Test->test ok 1 - current_method in setup ok 2 - current_method in method ok 3 - current_method in teardown ok 4 - current_test outside runtests ok t/die_before_plan......1..4 # Running under perl version 5.008007 for netbsd # Current time local: Tue Feb 7 18:14:46 2006 # Current time GMT: Tue Feb 7 18:14:46 2006 # Using Test.pm version 1.25 ok 1 ok 2 not ok 3 # Test 3 got: "# Failed test 'setup (for test method 'test') died (died before plan set)'" (t/die +_before_pla n.t at line 42 fail #3) # Expected: "# Failed test (t/die_before_plan.t at line 32)" # t/die_before_plan.t line 42 is: ok($actual, $expected); not ok 4 # Test 4 got: "# in t/die_before_plan.t at line 32." (t/die_before_plan.t at line 42 fail #4) # Expected: "ok 2 - test just here to get setup method run" Use of uninitialized value in scalar chomp at t/die_before_plan.t line 40, <DATA> line 4. Use of uninitialized value in substitution (s///) at t/die_before_plan.t line 41, <DATA> line 4. not ok 5 # Test 5 got: "ok 2 - test just here to get setup method run" (t/die_before_plan.t at line 42 fail +#5) # Expected: <UNDEF> FAILED tests 3-5 Failed 3/4 tests, 25.00% okay t/documented...........1..0 # Skip Test::Pod::Coverage required skipped all skipped: Test::Pod::Coverage required t/expected_tests.......1..7
Thanks
Direct Responses: 2725 | Write a response