Re: Tagging tests

2012-04-25 Thread Greg Sabino Mullane
thing, such as unicode, which warranted tags, I'm not sure why it wouldn't warrant it's own group of tests. Tests are the one are where I never worry about overlap, efficiency, or having too many files. :) -- Greg Sabino Mullane g...@endpoint.com End Point Corporation PGP Key: 0x14964AC8 pgpMKsTryIiUA.pgp Description: PGP signature

Re: What is the "best" code on the CPAN?

2012-02-08 Thread Greg Sabino Mullane
On Tue, Feb 07, 2012 at 06:29:04PM -0800, Jeffrey Thalhammer wrote: ... > which distribution provides the best example ... > Perl::Critic compliance (any set of Policies will do). I think Perl::Critic itself is a good example. -- Greg Sabino Mullane g...@endpoint.com End Point Corporati

Re: Conditional tests - SKIP, die, BAILOUT

2011-03-29 Thread Greg Sabino Mullane
000) { cleanup_database($dbh,'test'); $dbh->disconnect; plan skip_all => 'Cannot run asynchronous queries with pre-8.0 libraries.'; } plan tests => 67; === -- Greg Sabino Mullane g...@endpoint.com End Point Corporation PGP Key: 0x14964AC8 pgpQHFicV5CPJ.pgp Description: PGP signature

Re: killing all child processes created in a test

2009-08-24 Thread Greg Sabino Mullane
also nice as you can simply call that test as part of 'make [dist]clean' :) -- Greg Sabino Mullane g...@endpoint.com End Point Corporation PGP Key: 0x14964AC8 signature.asc Description: OpenPGP digital signature

Re: standard for internal-only tests?

2009-08-01 Thread Greg Sabino Mullane
g it too A better point, but if other developers want to learn from you, they should be checking out your development environment, not just your published product. -- Greg Sabino Mullane g...@endpoint.com End Point Corporation PGP Key: 0x14964AC8 signature.asc Description: OpenPGP digital signature

Re: standard for internal-only tests?

2009-07-31 Thread Greg Sabino Mullane
iable TEST_AUTHOR to enable this test'; } plan tests => 1; I've also started moving the tests themselves from MANIFEST to MANIFEST.skip -- Greg Sabino Mullane g...@endpoint.com End Point Corporation PGP Key: 0x14964AC8 signature.asc Description: OpenPGP digital signature

Re: prove with line numbers

2009-05-18 Thread Greg Sabino Mullane
t() function provides some time measurements and formats the $testmsg to provide things like line numbers. caller is used twice because there are times when I want to pass in a line number to is_deeply directly.) -- Greg Sabino Mullane g...@endpoint.com End Point Corporation PGP Key: 0x14964AC8 signature.asc Description: OpenPGP digital signature

Re: Generic test database

2008-10-09 Thread Greg Sabino Mullane
ng shut down at the end of the test, and thus that particular port could not be used by other applications until the db was killed. -- Greg Sabino Mullane [EMAIL PROTECTED] End Point Corporation signature.asc Description: PGP signature

Re: Generic test database

2008-10-08 Thread Greg Sabino Mullane
n (via initdb) first. http://git.postgresql.org/?p=dbdpg.git;a=blob;f=trunk/t/dbdpg_test_setup.pl -- Greg Sabino Mullane [EMAIL PROTECTED] End Point Corporation signature.asc Description: PGP signature

Re: The relation between CPAN Testers and quality (or why CPAN Testers sucks if you don't need it)

2008-09-04 Thread Greg Sabino Mullane
any unapplied patches, and perhaps some other metrics to indicate "maintainedness". Cross referencing that with popularity and dependency chains would be a great triage system to start whipping CPAN into shape. -- Greg Sabino Mullane [EMAIL PROTECTED] End Point Corporation signature.asc Description: PGP signature

Re: The relation between CPAN Testers and quality (or why CPAN Testers sucks if you don't need it)

2008-09-04 Thread Greg Sabino Mullane
one of Perl's biggest problems at the moment. Careful attention and responsiveness to CPAN testers and to rt.cpan.org is the best cure for this. -- Greg Sabino Mullane [EMAIL PROTECTED] End Point Corporation signature.asc Description: PGP signature

Re: The relation between CPAN Testers and quality (or why CPAN Testers sucks if you don't need it)

2008-09-04 Thread Greg Sabino Mullane
#x27;ve come across on CPAN lately that are popular yet obviously unmaintained, with bug reports, questions, and unapplied patches that linger in the RT queues for years. It would be nice if we had some sort of system that tracked and reported on that. -- Greg Sabino Mullane [EMAIL PROTECTED] End Point Corporation signature.asc Description: PGP signature

Re: Making CPAN ratings easy (was Re: CPAN Ratings and the problem of choice)

2008-06-30 Thread Greg Sabino Mullane
istering bit. Put that way, perhaps 29 reviews isn't so bad after all. > There's a button marked favourite. It looks like a star. I press it. Or perhaps just a generic one to five star point-n-click Amazon-like AJAXy bit. -- Greg Sabino Mullane [EMAIL PROTECTED] End Point Corp

Re: CPAN Ratings and the problem of choice (was Re: About tidying up Kwalitee metrics)

2008-06-30 Thread Greg Sabino Mullane
most important modules ever, DBI, has a mere 29. That's 29 reviews in 8 years - pathetic. It should have hundreds of ratings. The important question to ask is, (assuming the ratings are something worth keeping), why are people not rating modules, and how can we encourage people to do so? -- Gre

Re: [tap-l] User Supplied YAML Diagnostic Keys: Descriptive Version

2008-04-13 Thread Greg Sabino Mullane
t) Not > likely. So that begs the question, why not just go with option A? Seems plenty big enough to me, and removes all ambiguity up front. Can someone provide an example of a "lower case", non a-z, non Hungarian key that might possibly be globally used? I can't think of one th

Odd Test::Warn 'carped warning' results

2008-03-02 Thread Greg Sabino Mullane
xed, but I've no idea what's causing the carpiness of the warning to appear; DBD::Pg does not use Carp. Explanations, workarounds, or harsh code reviews all welcome. This test does pass on other boxes, FWIW. -- Greg Sabino Mullane [EMAIL PROTECTED] End Point Corporation 610-983-9073 signature.asc Description: PGP signature

Re: Bucardo and Test::Dynamic

2007-10-01 Thread Greg Sabino Mullane
itself. It also helps the reader see that the subroutine expects a bunch of key/value pairs, not just a list: foobar($alpha, $beta); ## List? Hash? Positions matter? Are they related? foobar({$alpha => $beta}); ## No ambiguity > Well, if it's a Playstation 2 you're forgiven. :P

Re: Bucardo and Test::Dynamic

2007-09-28 Thread Greg Sabino Mullane
ly generic name. > * Why does count_tests() take a reference? A hash will > do perfectly well. You mean passing in the raw keys and values? Ick. > * Lord I hate tabs. Not touching that one. Instead, I'll just go on editing my BSD-licensed, git controlled, Postgres application with tabs,

Re: Bucardo and Test::Dynamic

2007-09-26 Thread Greg Sabino Mullane
s and other loops and codepaths. Not entirely sure what you mean by the first question though - got an example? -- Greg Sabino Mullane [EMAIL PROTECTED] End Point Corporation 610-983-9073 signature.asc Description: This is a digitally signed message part

Bucardo and Test::Dynamic

2007-09-26 Thread Greg Sabino Mullane
is needed because Bucardo does a lot of forking which confuses Test) -- Greg Sabino Mullane [EMAIL PROTECTED] End Point Corporation 610-983-9073 signature.asc Description: This is a digitally signed message part

Re: bailout on first failure?

2007-09-07 Thread Greg Sabino Mullane
$bail_on_error and BAIL_OUT "Stopping on failed 'like' test"; } ## end of like ## etc. for all test methods you are using } ## use critic Sure would be nice if this was a Test::More option. -- Greg Sabino Mullane [EMAIL PROTECTED] End Point Corporation 610-983-9073 signature.asc Description: This is a digitally signed message part

Re: Comment about BAIL_OUT

2007-01-05 Thread Greg Sabino Mullane
failures in 3, 4, and 5. The ordering is a convenience to doing so, but ideally there would be some way to interact with the testing program and do the right thing, so that instead of BAILing out at 3, it bails out of the current test, sets a flag, and then 4 and 5 can check for the flag a

Re: Comment about BAIL_OUT

2007-01-04 Thread Greg Sabino Mullane
and a lot of time overhead, so it's either the 00-99 or (as I sometimes have done) one giant testing file. -- Greg Sabino Mullane [EMAIL PROTECTED] [EMAIL PROTECTED] End Point Corporation signature.asc Description: This is a digitally signed message part