in reply to Re: testing a croak
in thread testing a croak
if I comment out this test
All tests successful.
Now with the test
... use_ok( 'Test::Exception' ); ... throws_ok { $objRef->parse_date_string() } qr/improper initialization +please see the docs/, 'checking 2 few args'; t/01-object....ok 1/23improper initialization please see the docs at t +/01-object.t line 56 # Looks like your test died just after 23. t/01-object....dubious + Test returned status 255 (wstat 65280, 0xff00) after all the subtests completed successfully Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------ t/01-object.t 255 65280 23 0 0.00% ?? Failed 1/2 test scripts, 50.00% okay. 0/25 subtests failed, 100.00% ok +ay. make: *** [test_dynamic] Error 255
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: testing a croak
by tirwhan (Abbot) on Jan 19, 2006 at 14:38 UTC | |
by Anonymous Monk on Jan 19, 2006 at 14:39 UTC | |
by tirwhan (Abbot) on Jan 19, 2006 at 14:57 UTC | |
by arcnon (Monk) on Jan 19, 2006 at 16:35 UTC |