Re: Informal "'make test'" on production poll

2009-03-27 Thread Pete Krawczyk
On Thu, Mar 26, 2009 at 10:46 AM, Ovid wrote: > For those of you in large environments, do you run "make test" or an > equivalent when you push your code out to a production server?  Why or why > not? For our more mature product, we absolutely run "make test" prior to production push, even thou

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 alrea

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 alrea

Re: New to Perl testing.

2007-02-26 Thread Pete Krawczyk
ok at <http://qa.perl.org> and the Test::Tutorial module, on the web at <http://search.cpan.org/~mschwern/Test-Simple-0.67/lib/Test/Tutorial.pod>. -Pete K -- Pete Krawczyk perl at bsod dot net

Re: Bad test functions in Test::Exception

2007-01-30 Thread Pete Krawczyk
. I used PBP because I know you're familiar with it, due to your release of Carp::Diagnostics. My point was that having coding standards is one thing; asking other people to remove their code to meet standards you have is another entirely. -Pete K -- Pete Krawczyk perl at bsod dot net

Re: Bad test functions in Test::Exception

2007-01-30 Thread Pete Krawczyk
de standards to meet, and that's to be expected. Be sure to update yours to the things you've mentioned. TIMTOWTDI rules here, though, and PBP isn't a rulebook - it's a set of guidelines that work for Damian. Other people use them to varying degrees, and P::C even implements them, but at some point, people are on their own. -Pete K -- Pete Krawczyk perl at bsod dot net

Re: Sparse Test Output

2006-10-26 Thread Pete Krawczyk
iciency, unless efficiency is what you're testing. They should be about correctness, then completeness, then efficiency after that. -Pete K -- Pete Krawczyk perl at bsod dot net

Re: TAP 2.0

2006-09-29 Thread Pete Krawczyk
Subject: TAP 2.0 From: Ovid <[EMAIL PROTECTED]> Date: Fri, 29 Sep 2006 16:00:22 -0700 (PDT) }got: <

Re: Time to pack

2006-09-28 Thread Pete Krawczyk
"u" is interpreted as the maximal number of bytes to encode per line of output, with 0 and 1 replaced by 45. So it's only packing the first element of the list. Even if you changed the pack to "uu", since two uuencoded strings c

Re: Time to pack

2006-09-28 Thread Pete Krawczyk
The repeat count for "u" is interpreted as the maximal number of bytes to encode per line of output, with 0 and 1 replaced by 45. So it's only packing the first element of the list. Even if you changed the pack to "uu&quo

Re: TAP diagnostic syntax proposal

2006-07-10 Thread Pete Krawczyk
t would raw-test show for this? is($user,"testuser$id","Test user name correctly generated"); -Pete K -- Pete Krawczyk perl at bsod dot net

Re: [Slightly OT] Understanding Software Licences

2006-07-07 Thread Pete Krawczyk
smarter people than I in contract law have worked it out before me, and I'm intelligent enough to trust their judgements. -Pete K -- Pete Krawczyk perl at bsod dot net

Re: skip_all with Test::More?

2006-05-31 Thread Pete Krawczyk
e_condition; plan tests => 22; skip_all is a plan descriptor and as such needs to be given to plan. -Pete K -- Pete Krawczyk perl at bsod dot net

Re: Unintended consequences

2006-05-26 Thread Pete Krawczyk
ou post an example? The logical spot for having the module }"phone home" would be in the Makefile.PL. I also glanced at some tests, }but didn't see anything there, either. Look in the Build.PL, which Makefile.PL also calls. http://search.cpan.org/src/NICOLAW/WWW-Dilbert-1.19/B

Test-Simple patch: can_ok() fails if first argument is false

2005-11-09 Thread Pete Krawczyk
quot;$class->can(...)" ); $tb->diag('can_ok() called with no methods'); ====== The patch does not address a method name that is undefined. -Pete K -- Pete Krawczyk perl at bsod dot net

Re: Test::More behavior issue with Devel::Cover + patch

2005-11-04 Thread Pete Krawczyk
t away from the block in question. }Second, if it's not a valid invocant, you need to wrap the whole }expression in an eval block. Again, this is already done, but unlike other places (e.g. Scalar::Util) that run an eval that might die, $SIG{__DIE__} is not localized. -Pete K -- Pete Krawczy

Re: Test::More behavior issue with Devel::Cover + patch

2005-11-04 Thread Pete Krawczyk
lly be the best fix, but I'd rather not see the incoming object have a method called if it's not even blessed. -Pete K -- Pete Krawczyk perl at bsod dot net

Re: Test::More behavior issue with Devel::Cover + patch

2005-11-04 Thread Pete Krawczyk
f going back to 5.4.0. Stealing the code from Scalar::Util isn't necessarily the best fix either. Does anyone have a better way of checking whether an object is blessed that's backportable through core? -Pete K -- Pete Krawczyk perl at bsod dot net

Re: Test::More behavior issue with Devel::Cover + patch

2005-11-03 Thread Pete Krawczyk
Subject: Re: Test::More behavior issue with Devel::Cover + patch From: Ricardo SIGNES <[EMAIL PROTECTED]> Date: Thu, 3 Nov 2005 13:14:34 -0500 }* Pete Krawczyk <[EMAIL PROTECTED]> [2005-11-03T12:46:48] }> }> The solution I see is to make sure the object can() isa(), thus avoid

Test::More behavior issue with Devel::Cover + patch

2005-11-03 Thread Pete Krawczyk
ect, $class) ) { +my $ref = ref $object; +$diag = "$obj_name isn't a '$class' it's a '$ref'"; +} +} And that makes prove happy once more. Thanks, -Pete K -- Pete Krawczyk perl at bsod dot net

Re: prove with Devel::Cover example?

2005-06-03 Thread Pete Krawczyk
Subject: prove with Devel::Cover example? From: Mark Stosberg <[EMAIL PROTECTED]> Date: Fri, 3 Jun 2005 18:44:53 + (UTC) }How can I use 'prove' and Devel::Cover together? I tried: HARNESS_PERL_SWITCHES=-MDevel::Cover prove file.t -Pete K -- Pete Krawczyk perl at bsod dot net

Re: Kwalitee and has_test_*

2005-04-07 Thread Pete Krawczyk
arily public right now, but if I had a hardware-level test suite that simulated what I was actually doing, I could find out much quicker if that new stick of RAM I put in my computer was going to cause unexpected behavior. -Pete K -- Pete Krawczyk perl at bsod dot net

Re: testing non-modules

2005-03-06 Thread Pete Krawczyk
I had written a private module for myself that allows exit() to be changed on-the-fly so that it could be explicitly changed for shorter periods of time than "the entire script". I never released it, though. -Pete K -- Pete Krawczyk perl at bsod dot net

Re: Phalanx: What if full coverage isn't possible? (fwd)

2004-07-11 Thread Pete Krawczyk
ir POD documentation. I agree completely that documenting private interfaces within a POD doc will do little to help the average developer who just wants to use the module, and may in fact wind up causing problems for a module developer that changes the internal structure of their module in

Phalanx: What if full coverage isn't possible?

2004-07-09 Thread Pete Krawczyk
place in a regular "make test" run? -Pete K -- Pete Krawczyk perl at bsod dot net