Title: Test-time dependencies.

Dear fellow Perl module authors:

I have a test suite for my distribution (RT-Client-REST) that requires
some modules that the module itself does not require (Test::Exception,
for example).  Since it is not listed as a dependency, some people's
tests fail[1,2].

Question: is it a good idea to put Test::Exception in as a dependency?
My problem with this is that the module itself, once installed, does
not use Test::Exception, so it is not really a dependency.  On the other
hand, I want all tests to run (most of them test exceptions), so I do
not want to 'skip' any tests.

Thanks for your input,

  - Dmitri.

1. http://www.nntp.perl.org/group/perl.cpan.testers/340611
2. http://www.nntp.perl.org/group/perl.cpan.testers/340620

Reply via email to