in reply to The chicken and the egg (or how do I pass the module test)
The test failure: you can skip tests if some condition is not met. E.g.
my $obj = Class->new(); SKIP: { skip("The object could not be instantiated", $number_of_tests_to_s +kip) if !$obj; # more tests here to come }
And the answer for the last question is "yes".
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: The chicken and the egg (or how do I pass the module test)
by ruzam (Curate) on Dec 22, 2007 at 04:30 UTC | |
by bingos (Vicar) on Dec 22, 2007 at 09:45 UTC | |
by eserte (Deacon) on Dec 22, 2007 at 10:09 UTC |