masking installed versions when running tests

2009-05-06 Thread Jonathan Swartz
When I run tests for a distribution, say CHI, I'd like to be able to ignore any installed versions of CHI's modules. That way I know I'm testing it as if it were a fresh install. In the latest version I deleted a necessary module, CHI/t/ Multilevel.pm, from the distribution, but "make test"

FTP server for testing

2009-05-06 Thread Gabor Szabo
Is there and FTP server module that could be used for light-weight testing of an application that among other things also fetches a file from and ftp server ? I should be able to set it up simply without root access and run it on a high port allowing access based on some username/password not rela

Re: masking installed versions when running tests

2009-05-06 Thread David Golden
On Tue, May 5, 2009 at 7:44 PM, Jonathan Swartz wrote: > One solution, I guess, is to use a fresh install of Perl that contains just > the requirements for CHI. But I'd need one of these for each CPAN > distribution I'm working on! You only need one fresh perl. Set CPAN not to install build_requ

Re: FTP server for testing

2009-05-06 Thread Jerome Quelin
On 09/05/06 12:57 +0300, Gabor Szabo wrote: > Is there and FTP server module that could be used for light-weight > testing of an application that among other things also fetches a file from > and ftp server ? > > I should be able to set it up simply without root access and run it > on a high port

Re: FTP server for testing

2009-05-06 Thread Thomas Maier
On Wed, May 6, 2009 at 12:57 PM, Gabor Szabo wrote: > Is there and FTP server module that could be used for light-weight > testing of an application that among other things also fetches a file from > and ftp server ? > > I should be able to set it up simply without root access and run it > on a hi

Re: masking installed versions when running tests

2009-05-06 Thread Michael Peters
Jonathan Swartz wrote: In the latest version I deleted a necessary module, CHI/t/Multilevel.pm, from the distribution, but "make test" still succeeded because CHI/t/Multilevel.pm was installed in /usr/local. You could also put your testing libs in t/lib instead of CHI/t that way they are nev

Re: masking installed versions when running tests

2009-05-06 Thread Jonathan Swartz
That's true, but this isn't just about testing libs - it's any lib I might delete from the distribution. -Original Message- From: Michael Peters Date: Wednesday, May 6, 2009 6:22 am Subject: Re: masking installed versions when running tests To: Jonathan Swartz CC: perl-qa Jonathan Swar

Re: masking installed versions when running tests

2009-05-06 Thread David Cantrell
On Wed, May 06, 2009 at 08:44:00AM -0700, Jonathan Swartz wrote: > From: Michael Peters > > Jonathan Swartz wrote: > > > In the latest version I deleted a necessary module, CHI/t/Multilevel.pm, > > > from the distribution, but "make test" still succeeded because > > > CHI/t/Multilevel.pm was ins

Re: masking installed versions when running tests

2009-05-06 Thread David Golden
On Wed, May 6, 2009 at 12:05 PM, David Cantrell wrote: >> That's true, but this isn't just about testing libs - it's any lib I >> might delete from the distribution. > > You want Devel::Hide. I think the original question was about catching a module deleted by mistake -- otherwise, Devel::Hide ro

Re: masking installed versions when running tests

2009-05-06 Thread David Cantrell
On Wed, May 06, 2009 at 12:15:38PM -0400, David Golden wrote: > On Wed, May 6, 2009 at 12:05 PM, David Cantrell wrote: > >> That's true, but this isn't just about testing libs - it's any lib I > >> might delete from the distribution. > > You want Devel::Hide. > I think the original question was ab

Re: Module::Install and Test::NoWarnings- "require Test::NoWarnigs" should not hide warnings.

2009-05-06 Thread Michael G Schwern
Gabor Szabo wrote: > So I think - besides the fact that M::I probably should not load the > required modules to memory That was fixed in MakeMaker 6.51_01 at Adam Kennedy's request. So it'll trickle down to Module::Install. -- 'All anyone gets in a mirror is themselves,' she said. 'But what yo