Re: http://www.nntp.perl.org/group/perl.cpan.testers/2008/10/msg2399796.html

2008-10-10 Thread Pete Krawczyk
First, in the notes comes this: 'this report is from an automated smoke
testing program and was not reviewed by a human for accuracy'. Thus, the
you is completely inappropriate. The bot may have not installed it, but
then again, it may not had to, because *a* module called Template may have
already been installed.

Second, his setup does show a Template module. If you specifically require
a version of Template::Toolkit, you should specifically ask for that by a
different name, by version or by some other method. Template is a generic
name used by many different systems. See http://tinyurl.com/4r73df for a few
examples.

Third, there was no reason to cc the perl-qa mailing list. None at all. This
list is for discussion of testing methods and applications, not for
chastising the result of an automated smokebot.

Fourth, frankly, I wouldn't be surprised if your demand was canned.  I know
personally I would have done so - it's rude, condescending and arrogant.
 Gabor's already fixed one of your messages - http://tinyurl.com/44rwzg - so
I know it's possible.  Nobody owes you anything.  Stop thinking they do.

Thanks,
-Pete K


On Thu, Oct 9, 2008 at 12:14 PM, Shlomi Fish [EMAIL PROTECTED] wrote:

 Hi!

 In
 http://www.nntp.perl.org/group/perl.cpan.testers/2008/10/msg2399796.htmlit
 seems that you didn't install the Template.pm module and as a result
 HTML-Latemp-NavLinks-GenHtml is failing. I specifically require a version
 of
 it, but it wasn't made available for it.

 Please fix your CPAN smooking setup.

 Regards,

Shlomi Fish

 -
 Shlomi Fish   http://www.shlomifish.org/
 Parody on The Fountainhead - http://xrl.us/bjria

 Shlomi, so what are you working on? Working on a new wiki about unit
 testing
 fortunes in freecell? -- Ran Eilam



Re: Generic test database

2008-10-10 Thread Philippe Bruhat (BooK)
On Wed, Oct 08, 2008 at 10:52:42AM -0400, Michael G Schwern wrote:
 
 There's plenty of modules which need a database,
 and they all have to be configured differently and they're always a PITA when
 you first install and each and every time they upgrade.
 
 User setup can be dealt with by making Test::Database a build dependency.  As
 part of Test::Database's install process it walks the user through the
 configuration process.  Once it's done, it writes out a config file and then
 it's done for good.
 

These are the paragraphs I need to start the DESCRIPTION section. :-)

-- 
 Philippe Bruhat (BooK)

 For every winner, there must be one or more losers.
(Moral to the Sage story in Groo #111 (Epic))


Re: Generic test database

2008-10-10 Thread Smylers
David Cantrell writes:

 Smylers wrote:
 
  It sounds scary to me.  If I'm just installing a Perl module from
  Cpan on a newly installed OS, which happens to still have default DB
  connection permissions, I wouldn't expect the module's tests to
  start making use of the DB without asking.
 
 Of course, a module author can do that already,

Indeed (and she could also do the other things I mentioned, such as
grabbing images or e-mail addresses).  But I don't thing we should
encourage such things as being a good practice.

  Further, if the module install fails the database may be left
  behind.
 
 Having a well-known module specifically for creating, accessing, and
 tearing down the test database, written carefully and maintained,
 instead of people just hacking up their own nasty solutions to the
 problem whenever they need it - this will *reduce* the chances of that
 happening.  End result - less cruft left on your system *and* better
 testing for databasey modules.

Yes, that's good.  Connecting using environment variables which the user
(or tester) has explicitly set up for the purpose is also good.  I like
this proposal overall, and the current plan for implementing it -- it
was only the 'let's grub around on the system and see if the user
happens to have left a DBMS unprotected that we can use' but which
scared me.

Simon


Test::Database 0.01

2008-10-10 Thread Philippe Bruhat (BooK)
Hi,

I've just put Test::Database 0.01 on PAUSE.

The current version is working with the easy stuff (DBD::CSV,
DBD::SQLite, DBD::DBM), but most of the interface is ready for 
databases that need more than a file or a directory.

I'll work on the Test::Database::Driver::mysql for the next release.

In the meantime, I'm interested in all comments.

-- 
 Philippe Bruhat (BooK)

 The man who does not know his own powers is the least powerful of all.
   (Moral from Groo The Wanderer #113 (Epic))


Re: http://www.nntp.perl.org/group/perl.cpan.testers/2008/10/msg2399796.html

2008-10-10 Thread David Golden
On Thu, Oct 9, 2008 at 2:52 PM, Pete Krawczyk [EMAIL PROTECTED] wrote:
 Third, there was no reason to cc the perl-qa mailing list. None at all. This
 list is for discussion of testing methods and applications, not for
 chastising the result of an automated smokebot.

Pete makes a good point.  Complaints about automated smokebots should
be directed to [EMAIL PROTECTED] which many of the CPAN
Testers subscribe to and where such complaints are considered
on-topic.

-- David