On 30 Mar 2006 07:02:21 -0800, Randal L. Schwartz <merlyn@stonehenge.com> wrote: > >>>>> "demerphq" == demerphq <[EMAIL PROTECTED]> writes: > > demerphq> While apparently some on this list apparently dont favour this > demerphq> approach, im pretty much at a loss to come with a better way to test > demerphq> the module. > > Did you also look at Devel::Cover, to see if your tests tickle the > code paths?
Yep, and i was pretty happy with the coverage. And I used it to design some additional tests. Also, in this particular case I had an advantage in a sense, when i first was putting together DDS I was able to steal a big chunk of the tests for Data::Dumper. Which incidentally also takes the "big test" approach. (IE, dump a data structure and then check if it looks as expected.) Yves -- perl -Mre=debug -e "/just|another|perl|hacker/"