David Cantrell wrote:
The practice of bundling third-party modules with yours is IMO very
wrong indeed. If I bundle (eg) Test::Frobnitz, and a hundred other
people bundle Test::Frobnitz, then this leads to two problems:
Agreed. See the earlier advice about the inc/ directory so you can
bundle,
On Mon, Feb 21, 2005 at 09:34:24AM +, David Cantrell wrote:
> The practice of bundling third-party modules with yours is IMO very
> wrong indeed. If I bundle (eg) Test::Frobnitz, and a hundred other
> people bundle Test::Frobnitz, then this leads to two problems:
>
> 1. when the author of T
Andy Lester <[EMAIL PROTECTED]> writes:
>> Is it ok for a CPAN module to use other modules from CPAN only for the
>> test scripts (e.g. "Text::Diff")?
>
> Yes. See http://phalanx.kwiki.org/index.cgi?StandardDotTFiles for
> examples of .t files that only run if a certain module is installed.
Hmm.
Selon Michael G Schwern <[EMAIL PROTECTED]>:
> > Second, I know there is a "build_requires" option in Build.PL, but
> > does the CPAN(PLUS).pm know about that option and really only download
> > and use those "build_requires" temporarily during module build/test or
> > does it fully install them?
Mark Stosberg wrote:
On 2005-02-20, Steffen Schwigon <[EMAIL PROTECTED]> wrote:
General testing question:
Is it ok for a CPAN module to use other modules from CPAN only for the
test scripts (e.g. "Text::Diff")?
Yes. Just declare them as dependencies.
First, I'm not sure about the usage policy. May
On Sun, Feb 20, 2005 at 02:12:26AM +0100, Steffen Schwigon wrote:
> Is it ok for a CPAN module to use other modules from CPAN only for the
> test scripts (e.g. "Text::Diff")?
Up to you. The way I look at it, if you have one dependency it doesn't
hurt to have another. Either they're using a CPAN
On 2005-02-20, Steffen Schwigon <[EMAIL PROTECTED]> wrote:
> Hi!
>
> General testing question:
>
> Is it ok for a CPAN module to use other modules from CPAN only for the
> test scripts (e.g. "Text::Diff")?
>
> First, I'm not sure about the usage policy. Maybe it's more common to
> write tests more
Is it ok for a CPAN module to use other modules from CPAN only for the
test scripts (e.g. "Text::Diff")?
Yes. See http://phalanx.kwiki.org/index.cgi?StandardDotTFiles for
examples of .t files that only run if a certain module is installed.
xoxo,
Andy
--
Andy Lester => [EMAIL PROTECTED] => www.pe
Hi!
General testing question:
Is it ok for a CPAN module to use other modules from CPAN only for the
test scripts (e.g. "Text::Diff")?
First, I'm not sure about the usage policy. Maybe it's more common to
write tests more "low level".
Second, I know there is a "build_requires" option in Build.P