Hi!
On Sun, Jul 11, 2004 at 09:14:28AM +0100, Tony Bowden wrote:
> For a slightly easier approach, Module::CPANTS has a
> 'requires_recursive' method which lists all the dependencies, and all
> their dependencies, etc.
Well it had this information, but currently it hasn't. But it will have it
ag
On Jul 11, 2004, at 4:09 PM, James Mastros wrote:
package Foo;
sub new {
my $class=shift;
$class=ref($class)||$class;
bless [], $class;
}
eval { Foo::new(); }
is($!, "new dies when called as a function");
Actually this doesn't die, it does even worse, given this code:
package Foo;
sub new {
Last week, I retroed some tests on Data::Page and it now covers at 100%.
Had to add a couple of constructor tests. Note also that all its tests
are running under -T.
http://search.cpan.org/dist/Data-Page/
It's a small module, but it worked very nicely. "Hey, Leon, you want
updates to tests?" "Y
Test::Tester is a(nother) module to allow you to test your test modules,
hopefully with the minimum of effort and maximum flexibility. With version
0.09, the final bit of interface awkwardness is gone and test scripts can
now look like this
use Test::Tester; # load me first
use Test::MyNewModule