Re: Test::Object

2005-06-01 Thread Michael G Schwern
On Tue, May 31, 2005 at 06:47:39PM +1000, Adam Kennedy wrote: > I'm hitting this problem with large and deep class trees where what I > should really be doing is testing it against every parent class and > role, but in reality I do the specifics for that subclass, plus a couple > of specific ones

Re: Test::Object

2005-05-31 Thread Adrian Howard
On 31 May 2005, at 09:47, Adam Kennedy wrote: [snip] Something exist already that I'm missing? [snip] I'd use Test::Class (but I would say that :-) So the example from your POD would be something like: { package Foo::Test; use base qw( Test::Class ); use Test::More; # w

Test::Object

2005-05-31 Thread Adam Kennedy
Just a quick heads up and request for comments on a testing module I'm putting together. Test::Object See search.cpan.org once the initial POD-only upload is done, but in short I want a way to be able to define tests or groups of tests that ANY object of a particular class should pass