On Sunday 23 December 2007 20.02.38 Robert Rothenberg wrote:
> I'm thinking that an alternative to N/A or UNKNOWN test reports for
> Bundle::* modules is to have a Test::Bundle module which does some
> rudimentary tests on a bundle:
>
>  - check that NAME, SYNOPSIS, CONTENTS, DESCRIPTION and AUTHOR
>    sections are present
>  - check that all of the modules listed in the CONTENTS section
>    exist on CPAN
>
> I'm assuming tests on the Pod would be done separately.
>
> The only issue with this is that CPAN will run the tests, which for some
> may be redundant (particularly with checking that contents exist).
>
> Comments?
>
> Rob

The idea is good. I just have one simple bundle but I'd add that test to it.

About testing that all the modules are available on CPAN:

How do you test locally?
What if the bundle gets into CPAN before the bundle?
What if the installation is not done from cpan but from a local cpan or on a 
box without internet connection?

My 2 cents, Nadim.


Reply via email to