Re: [cgiapp] TestApps

2009-10-18 Thread Michael Peters
On 10/17/2009 04:31 PM, Alex wrote:
 Even if I would delete the file, the namespace I had chosen for the .pm test
 file would be registered for me.

This is totally dependent on where you put your modules. Most people put 
testing modules that are only useful for your specific module inside 
t/lib/ so that they aren't indexed like the things in lib/.

-- 
Michael Peters
Plus Three, LP

#  CGI::Application community mailing list  
####
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp##
####
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:  http://cgiapp.erlbaum.net/ ##
####




Re: [cgiapp] TestApps

2009-10-17 Thread Alex
Even if I would delete the file, the namespace I had chosen for the .pm test
file would be registered for me. Search for CGIAPP_TestApp2 on cpan and you
will see what I mean.

I would like to avoid this namespace pollution, at least at this level, by
introducing a lower level namespace exactly for such things.

-Ursprüngliche Nachricht-
Von: cgiapp-boun...@lists.erlbaum.net
[mailto:cgiapp-boun...@lists.erlbaum.net] Im Auftrag von NP Bamber
Gesendet: Samstag, 17. Oktober 2009 19:02
An: cgiapp@lists.erlbaum.net
Betreff: [cgiapp] TestApps

Why do you need a test name space. Is this just to check the formatting of
the upload file? http://perlmonks.org/?node_id=596075 works reasonably well
for that. Also there is a  way in PAUSE of scheduling files for deletion.
That is a good thing as I am sure noone wants really old versions hanging
around for every module.


cgiapp-requ...@lists.erlbaum.net wrote:
 Send cgiapp mailing list submissions to
   cgiapp@lists.erlbaum.net

 To subscribe or unsubscribe via the World Wide Web, visit
   http://www.erlbaum.net/mailman/listinfo/cgiapp
 or, via email, send a message with subject or body 'help' to
   cgiapp-requ...@lists.erlbaum.net

 You can reach the person managing the list at
   cgiapp-ow...@lists.erlbaum.net

 When replying, please edit your Subject line so it is more specific 
 than Re: Contents of cgiapp digest...


 Today's Topics:

1. test namespace for CGI::Application (Alex)


 --

 Message: 1
 Date: Sat, 17 Oct 2009 10:47:05 +0200
 From: Alex cap...@gmx.de
 Subject: [cgiapp] test namespace for CGI::Application
 To: 'CGI Application' cgiapp@lists.erlbaum.net
 Message-ID: 000c01ca4f06$67d06870$377139...@de
 Content-Type: text/plain; charset=us-ascii

 Dear all!

 I recently polluated another cpan root namespace by including a test 
 application in a dist. That's bad. I wonder if there isn't a test 
 namespace in the CGI::Application namespace itself. So anyone 
 releasing a plugin with a test application could use this namespace.

 CGI::Application::TestApps is what I was thinking of.
 What do you think of this?

 Regards, Alex



 --

 ___
 cgiapp mailing list
 cgiapp@lists.erlbaum.net
 http://www.erlbaum.net/mailman/listinfo/cgiapp


 End of cgiapp Digest, Vol 25, Issue 8
 *


   


#  CGI::Application community mailing list  
####
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp##
####
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:  http://cgiapp.erlbaum.net/ ##
####



#  CGI::Application community mailing list  
####
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp##
####
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:  http://cgiapp.erlbaum.net/ ##
####




Re: [cgiapp] TestApps

2009-10-17 Thread Ron Savage
Hi Alex

On Sat, 2009-10-17 at 22:31 +0200, Alex wrote:
 CGIAPP_TestApp2

Sure, delete it. That makes sense.

As for your test namespace, wouldn't it be better to use Test::CgiApp?

I'm thinking Test::CGI::Application::* is getting long, but it's good to
encourage people to be consistent about both releasing tests (for
C::A-based modules) and keeping them together.

And Test::* is /the/ namespace prefix for tests...

-- 
Ron Savage
r...@savage.net.au
http://savage.net.au/index.html



#  CGI::Application community mailing list  
####
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp##
####
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:  http://cgiapp.erlbaum.net/ ##
####