Re: getting round Test::More test formatting trickiness

2006-03-16 Thread Dr Bean
On Tue, 14 Mar 2006, Smylers wrote: Dr Bean writes: I've gotten comfortable with Test::More conventions, but it's difficult in my editor to really quickly create lots of tests. is($o-index('You'), 1, 'objects index 1'); isnt($o-index(1), 1, 'objects index 2'); isnt($o-index(2), 2,

Upgrading core modules on Windows

2006-03-16 Thread David Golden
Philippe M. Chiasson wrote: The main reason this is hapenning is that it's not currently possible to update CORE packages in ActivePerl, so any module that depends on a CORE package can be suffering from this. This problem will persist until it becomes possible to update core packages in

Re: Upgrading core modules on Windows

2006-03-16 Thread Chris Dolan
On Mar 16, 2006, at 8:51 AM, David Golden wrote: ... So why not bundle a snapshot of all the module dependencies for PPM/ cpan.pm into a separate directory and put that at the start of @INC when running PPM/cpan.pm? ... Makes sense to me. PAR would be a very valuable tool to implement

Re: Upgrading core modules on Windows

2006-03-16 Thread Luke Closs
On Thu, Mar 16, 2006 at 09:53:28AM -0600, Chris Dolan wrote: On Mar 16, 2006, at 8:51 AM, David Golden wrote: ... So why not bundle a snapshot of all the module dependencies for PPM/ cpan.pm into a separate directory and put that at the start of @INC when running PPM/cpan.pm? ...

Re: Best Practice for testing compilation of scripts

2006-03-16 Thread Tels
Moin, On Thursday 16 March 2006 03:49, chromatic wrote: On Wednesday 15 March 2006 18:43, Geoffrey Young wrote: I was suggesting the functionality be added to Test::More as compile_ok(), rather than runperl() in some separate CPAN module, as it seems to closely parallel use_ok() for

Patches to hide old test reports if update exists

2006-03-16 Thread Jerry D. Hedden
Leon, Attached are patches against CPAN::WWW::Testers::Generator and CPAN::WWW::Testers for hiding test reports for which the tester submits an updated report. The missing element to implement this feature was the email address of the tester. Since that does not currently exist in testers.db,

Re: What is the Value of t/0-signature.t?

2006-03-16 Thread chromatic
On Friday 10 March 2006 02:38, Audrey Tang wrote: I think it should be like the standard Test::Pod's pod.t and only run when an env var is set to true. Patches... welcome to Module::Signature. :-) Do you mean that it's valuable only for the author to run (perhaps during disttest) and rarely

Apache::Test - cpan.testers weirdness

2006-03-16 Thread Tyler MacDonald
I just got some cpan testers reports on a new module, CGI::JSONRPC. 1 pass, 2 failures. One of the failures seems to be my fault, but the other one seems really odd: http://www.nntp.perl.org/group/perl.cpan.testers/298838 The odd part is here: [ERROR] [Wed Mar 15 10:06:14 2006] MAKE TEST

Re: Upgrading core modules on Windows

2006-03-16 Thread demerphq
On 3/16/06, David Golden [EMAIL PROTECTED] wrote: Philippe M. Chiasson wrote: The main reason this is hapenning is that it's not currently possible to update CORE packages in ActivePerl, so any module that depends on a CORE package can be suffering from this. This problem will persist

Re: Upgrading core modules on Windows

2006-03-16 Thread Adam Kennedy
The only problem with this is that it only deals with CPAN.pm itself. The problem with locked files is wider than this. Imagine for example that you have Windows mod_perl or some other long-running program holding a lock on the modules. I had a similar idea last week, where maybe we could

Re: Upgrading core modules on Windows

2006-03-16 Thread Adam Kennedy
Im not sure if you realized, but you can install YVES/ex-ExtUtils-Install-1.3701.tar.gz and assuming you have Win32API::File installed this stuff will be handled properly. This package is a proposed split off of the installation code in the ExtUtils::MakeMaker bundle. We are waiting on

Re: Upgrading core modules on Windows

2006-03-16 Thread David Golden
Adam Kennedy wrote: The only problem with this is that it only deals with CPAN.pm itself. The problem with locked files is wider than this. Imagine for example that you have Windows mod_perl or some other long-running program holding a lock on the modules. I realized that complication, but

Re: Best Practice for testing compilation of scripts

2006-03-16 Thread Jeffrey Thalhammer
I just found http://search.cpan.org/dist/Test-Strict, which was written by one of my co-workers. Among other cool things, it has a Csyntax_ok function which does the same thing. It still uses backticks and redirection which may not be too portable, but it will suit my needs. Still, a