Re: search dpan

2010-11-11 Thread Chris Dolan
I enthusiastically second the recommendation for Pod::POM::Web. I don't use its indexing features myself, but simply as browsable POD and source for all installed Perl modules. Chris On Nov 10, 2010, at 4:54 AM, Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯 wrote: Pod::POM::Web (I stole its POD walking for perlzonji's

Re: Proposed (optional) kwalitee metric; use re 'taint'

2008-06-24 Thread Chris Dolan
On Jun 24, 2008, at 9:59 AM, David Golden wrote: On Tue, Jun 24, 2008 at 8:05 AM, Paul Fenwick <[EMAIL PROTECTED]> wrote: I don't see why some subroutine N levels down the call stack in some utility module should be expected to preserve taint on data you didn't check when you received it.

Re: Create class-structures for tests

2008-06-19 Thread Chris Dolan
On Jun 19, 2008, at 5:34 AM, Steffen Schwigon wrote: For a particular maybe unorthodox test rpoject I want to create test suites that can inherit from other test suites, so that I can provide base suites, and on top of that more specific suites, adding or changing particular tests. (So I'm not

Re: Test Anything Planet - aggregating testing related blogs

2008-05-23 Thread Chris Dolan
On May 23, 2008, at 2:32 AM, Gabor Szabo wrote: I have always wanted a reason to ask you people, how are you improving your testing skills? Are there any particular books you recommend? Are you reading blogs that are really good place to learn about testing? Or are you just writing more tests

Re: [tap-l] User Supplied Ontologies

2008-04-18 Thread Chris Dolan
On Apr 18, 2008, at 10:24 PM, chromatic wrote: On Friday 18 April 2008 20:18:40 Chris Dolan wrote: How can the above example occur? How do two different user tags get applied to a single test result? In the Test::Exceptions vs. Test::Deep examples mentioned earlier (IIRC) I can see how a

Re: [tap-l] User Supplied Ontologies

2008-04-18 Thread Chris Dolan
On Apr 18, 2008, at 5:42 AM, Ovid wrote: Thinking about this more, consider this ugly compromise: --- file: t/resource.t line: 23 results: have: 3 want: { "foo":3 } tags: - api - database user: com.foo.bar: have-type: xml want-type: j

Re: Presentation on Perl testing to Madison.pm

2008-04-17 Thread Chris Dolan
On Apr 17, 2008, at 12:48 PM, Michael G Schwern wrote: Chris Dolan wrote: Interesting reactions: * People were appalled that Test::Class invokes methods in alphabetic order instead of lexical order It seems odd to me that people would be so concerned about the order of execution, given

Presentation on Perl testing to Madison.pm

2008-04-16 Thread Chris Dolan
I made a presentation to Madison.pm (Madmongers.org) on software testing in general and Perl testing in particular. It was intended to be introductory since many Madmongers are casual Perl users and most do not have the testing religion. After discussing reasons for and types of testing,

Re: W3C validator without network access?

2008-04-16 Thread Chris Dolan
On Apr 7, 2008, at 6:04 AM, Yitzchak Scott-Thoennes wrote: On Sun, April 6, 2008 9:28 pm, Gabor Szabo wrote: Is there a W3C validator that works locally on my computer? All the modules I found so far use the http://validator.w3.org/ service including Test::HTML::W3C but that's not really usa

Re: TAP::Harness / CPAN problem

2008-03-08 Thread Chris Dolan
On Mar 8, 2008, at 11:59 AM, Andy Armstrong wrote: On 8 Mar 2008, at 17:54, Chris Dolan wrote: Perl 5.8.6 (Apple's dist for OSX 10.4) Test::Harness 3.10 TAP::Harness 0.54 TAP::Parser 0.54 CPAN 1.9205 CPANPLUS 0.82 Yeah, you have a mixture of Test::Harness and TAP::P

TAP::Harness / CPAN problem

2008-03-08 Thread Chris Dolan
Has anyone seen this error? Unknown arguments to TAP::Harness::new (verbosity color) at /Users/ chris/perl/lib/perl5/Test/Harness.pm line 274 It's causing both CPAN and CPANPLUS to fail all installs on my development machine. Web search turned up only this comment, with no real solution

Re: Diagnostics

2008-02-13 Thread Chris Dolan
On Feb 13, 2008, at 9:51 AM, Matisse Enzer wrote: And of course, in the Java world, it is "Expected/Got" (JUnit wants the expected value as the first argument to assertions.) ;-) TestNG (testng.org) reversed the JUnit order, so Java unit test assert arguments are now the same order as Test

Re: Find all the modules 'use'd in a directory

2008-02-08 Thread Chris Dolan
On Feb 7, 2008, at 10:40 PM, Jonathan Rockway wrote: * On Thu, Feb 07 2008, Matisse Enzer wrote: I want to utility program that I can point at a list of files and/r directories and get back a list of all the unique modules/pragmas that are imported via 'use' Before i write my own, using PPI

Re: The spewing problem.

2008-01-14 Thread Chris Dolan
On Jan 13, 2008, at 8:22 PM, Adam Kennedy wrote: Because if my test script is startled, I want it to stop and fall over. Google for "feinting goat". Adam K fainting = falling unconscious feinting = making a false attack to lure your opponent off guard before the real attack A feinting

Re: Testing print failures

2008-01-06 Thread Chris Dolan
On Jan 6, 2008, at 5:10 AM, Michael G Schwern wrote: nadim khemir wrote: As for the layers of neurosis, the only anxiety is the one created by your own delusions. I see only a test like an other. If we had infinite time and attention, yes. But we don't. And time spent checking the retur

Re: Auto: Your message 'FAIL IO-AIO-2.51 i386-freebsd-thread-multi 6.2-release' has NOT been received

2007-12-21 Thread Chris Dolan
On Dec 20, 2007, at 12:19 PM, Dave Rolsky wrote: On Wed, 19 Dec 2007, Andy Armstrong wrote: His view: cpan-testers are incompetent, ego tripping, quasi- religious nuisances. I think there's some truth to this view. For support I submit this bug ticket - http://rt.cpan.org/Ticket/ Display.h

Re: Auto: Your message 'FAIL IO-AIO-2.51 i386-freebsd-thread-multi 6.2-release' has NOT been received

2007-12-18 Thread Chris Dolan
On Dec 18, 2007, at 8:13 PM, Andy Armstrong wrote: On 19 Dec 2007, at 02:05, chromatic wrote: Sure - but I'd have expected that to be perceived as a specific problem in an otherwise valuable system. It's not a rational reason to right off automated testing as a whole surely? That depends o

Re: Why not run a test without a plan?

2007-12-04 Thread Chris Dolan
On Dec 4, 2007, at 9:06 AM, David Golden wrote: On Dec 4, 2007 12:40 AM, Chris Dolan <[EMAIL PROTECTED]> wrote: Or maybe not reinvent the wheel and get tons of extra functionality for free! use base 'Test::Class'; sub block : Test(2) { ok(1, "wibble"); ok(1

Re: Why not run a test without a plan?

2007-12-04 Thread Chris Dolan
On Dec 3, 2007, at 10:37 PM, Eric Wilhelm wrote: # from David Golden # on Monday 03 December 2007 19:55: With some sugar, that could actually be quite handy for something like test blocks. E.g.: { plan add => 2; ok( 1, "wibble" ); ok(1, "wobble" ); } or maybe make the block a sub

Re: shouldn't "UNEXPECTEDLY SUCCEEDED" mean failure?

2007-12-02 Thread Chris Dolan
On Dec 2, 2007, at 4:11 PM, Michael G Schwern wrote: Fergal Daly wrote: Another downside of using TODO like this is that when the external module is fixed, you have to release a new version of your module with the TODOs removed. These tests will start failing for anyone who upgrades your mod

Re: shouldn't "UNEXPECTEDLY SUCCEEDED" mean failure?

2007-12-02 Thread Chris Dolan
On Dec 2, 2007, at 1:34 PM, nadim khemir wrote: Because a TODO means that it is not done not: it might happend to be done but I'm not really sure, maybe I get lucky. Either one removes the TODO and all is fine. Or it might just be a side effect that you haven't planned that makes the test

Re: shouldn't "UNEXPECTEDLY SUCCEEDED" mean failure?

2007-12-02 Thread Chris Dolan
On Dec 2, 2007, at 9:37 AM, nadim khemir wrote: The subject says it all. IE: All tests successful (2 subtests UNEXPECTEDLY SUCCEEDED), 7 tests skipped. Passed TODO Stat Wstat TODOs Pass List of Passed -- - t/2

Re: test suite as CPAN module

2007-11-26 Thread Chris Dolan
On Nov 25, 2007, at 2:22 PM, David Cantrell wrote: On Sun, Nov 25, 2007 at 01:47:58PM -0600, Chris Dolan wrote: I've been working on Test::Virtual::Filesystem for a couple of weeks. It's a growing collection of interoperability tests that should pass for any typical filesystem.

test suite as CPAN module

2007-11-25 Thread Chris Dolan
I've been working on Test::Virtual::Filesystem for a couple of weeks. It's a growing collection of interoperability tests that should pass for any typical filesystem. I've been pondering its place in the CPANiverse and am interested in any insights others may have. * Unlike most of the

Re: Overriding CORE::GLOBAL::print

2007-10-28 Thread Chris Dolan
On Oct 28, 2007, at 6:12 PM, Scott McWhirter wrote: You could use an IO::Handle based object wrapped around STDOUT/STDERR. It doesn't really matter whether it's a glob filehandle or an IO::Handle or a tied handle. The important part is the select() which lets you avoid changing each and e

Re: Overriding CORE::GLOBAL::print

2007-10-28 Thread Chris Dolan
On Oct 28, 2007, at 9:31 AM, A. Pagaltzis wrote: * Matisse Enzer <[EMAIL PROTECTED]> [2007-10-27 21:20]: I suppose we need to bite the bullet and just find and replace all the calls to 'print' with something else. Select a tied filehandle? Not efficient… but quick to add. That's a popular t

Re: Perl 5 Wiki Improvement Drive: Recommended Modules For Testing

2007-09-26 Thread Chris Dolan
On Sep 24, 2007, at 4:15 AM, David Cantrell wrote: Andy Lester wrote: On Fri, Sep 21, 2007 at 11:23:21AM +0100, David Cantrell ([EMAIL PROTECTED]) wrote: It appears that I can't make any changes without registering for yet another bloody account. I already have too many. You have a limit?

Re: [ANNOUNCE] Test::Builder/More/Simple 0.72

2007-09-26 Thread Chris Dolan
On Sep 22, 2007, at 9:06 AM, Salve J Nilsen wrote: - Set up some kind of syndication feed [RSS, Atom] [somewhere sensible] where one can read which distributions currently have a "pre-release" status. The feed might be called "NEED TESTING" or something like that. Make this feed visible on

Re: faking time() across processes for testing

2007-06-28 Thread Chris Dolan
re.pm http://search.cpan.org/~nwclark/perl-5.8.8/pod/ perlthrtut.pod#Synchronization_and_control And just to tease Josh a little: http://www.everything2.com/index.pl?node_id=987739 Chris -- Chris Dolan, Equilibrious LLC, http://equilibrious.net/ Public key: http://chrisdolan.net/public.ke

Re: Code coverage awesomeness

2007-06-16 Thread Chris Dolan
On Jun 17, 2007, at 12:56 AM, Joshua ben Jore wrote: On 6/16/07, Chris Dolan <[EMAIL PROTECTED]> wrote: Josh, Josh, can you explain to us in a little more depth what this means? Are you showing that certain input values follow the same path through the code? Yes. It looks like th

Re: Code coverage awesomeness

2007-06-16 Thread Chris Dolan
Josh, I'm not sure that I understand this message (probably because I'm not a perl guts hacker), but I am intrigued by your enthusiasm. I downloaded and read the Runops::Trace code -- it's always a little surprising and interesting to me to see which parts of the Perl internals are malle

Re: Pod::Critic?

2007-06-06 Thread Chris Dolan
.cpan.org/dist/Perl-Critic/lib/Perl/Critic/DEVELOPER.pod Chris -- Chris Dolan, Equilibrious LLC, http://equilibrious.net/ Public key: http://chrisdolan.net/public.key vCard: http://chrisdolan.net/ChrisDolan.vcf

Re: CPANTS reports in e-mail

2007-05-31 Thread Chris Dolan
list ("yaml" is already taken) Chris -- Chris Dolan, Equilibrious LLC, http://equilibrious.net/ Public key: http://chrisdolan.net/public.key vCard: http://chrisdolan.net/ChrisDolan.vcf

Re: CPAN testers generates Makefile.PL without prerequisites

2007-05-21 Thread Chris Dolan
reqs turned into mandatory ones, and any dynamic config you do in Build.PL becomes static. However, if you make good default choices in Build.PL that may just mean that the Makefile.PL-using end user installs more of CPAN than they really need, which is definitely a lesser evil than a bro

Re: Test::Kwalitee

2007-05-08 Thread Chris Dolan
anged since then. So, Test::Kwalitee either needs a quick patch to catch up to now or an overhaul to auto-detect the kwalitee tests from M::C::K. Chris -- Chris Dolan, Equilibrious LLC, http://equilibrious.net/ Public key: http://chrisdolan.net/public.key vCard: http://chrisdolan.net/ChrisDolan.vcf

Re: Passing parameters to test scripts

2007-04-04 Thread Chris Dolan
he student portion of the student/instructor Catalyst web site I'm building. Chris -- Chris Dolan, Equilibrious LLC, http://equilibrious.net/ Public key: http://chrisdolan.net/public.key vCard: http://chrisdolan.net/ChrisDolan.vcf

Re: Custom Test::More problem

2007-03-28 Thread Chris Dolan
at with Test::More it's a coderef, but not with My::Test::More. My wild guess is that something in Exporter::Heavy up in My::Test::More's ISA chain is blowing away the __DIE__ handler after it gets set in Test::Builder. Chris -- Chris Dolan, Equilibrious LLC, http:/

Re: What was I thinking?

2007-03-28 Thread Chris Dolan
However, that would alter the last upload date to 2007. I often use the date of last upload as a clue when searching for CPAN modules. *Usually* the stuff updated in 2006/2007 is better than the stuff from 2001. Chris -- Chris Dolan, Equilibrious LLC, http://equilibrious.net/ Public ke

Re: a safer way to use no_plan?

2007-03-04 Thread Chris Dolan
... run basic tests ... for my $pdf_file (@test_docs) { ... run per-doc tests ... } Chris -- Chris Dolan, Equilibrious LLC, http://equilibrious.net/ Public key: http://chrisdolan.net/public.key vCard: http://chrisdolan.net/ChrisDolan.vcf

Re: Generating test data and testing it

2007-02-20 Thread Chris Dolan
:W::M code, but it won't make anybody's head explode trying to read the test code a couple years down the road. Chris -- Chris Dolan, Equilibrious LLC, http://equilibrious.net/ Public key: http://chrisdolan.net/public.key vCard: http://chrisdolan.net/ChrisDolan.vcf

Re: Parallelizing TAPx::Harness?

2007-02-05 Thread Chris Dolan
eforge.net/ -- Chris Dolan, Equilibrious LLC, http://equilibrious.net/ Public key: http://chrisdolan.net/public.key vCard: http://chrisdolan.net/ChrisDolan.vcf

Re: Parallelizing TAPx::Harness?

2007-02-05 Thread Chris Dolan
tree of files per-test and wipe clean upon exit. It seems to me that writing temp files to the build dir should be discouraged. Chris -- Chris Dolan, Equilibrious LLC, http://equilibrious.net/ Public key: http://chrisdolan.net/public.key vCard: http://chrisdolan.net/ChrisDolan.vcf

Re: Test::More and Fatal

2007-01-24 Thread Chris Dolan
On Jan 24, 2007, at 1:25 PM, Nik Clayton wrote: Chris Dolan wrote: I don't like that very much. The implicit die() on test functions will probably confuse subsequent readers of the code. # Cause the listed functions to die on error use Fatal qw(...); Furthermore, I cannot be

Re: Test::More and Fatal

2007-01-24 Thread Chris Dolan
_ok('http://localhost/', 'get home page') || bail; $mech->content_contains('Home'); ... In this example, failing to fetch HTML is clearly bad news for all subsequent tests and the C< || bail> is good self-documentation. Other tests are less c

Re: Uncoverable syntax (was Re: testing module loading output and testing under the debugger)

2006-12-20 Thread Chris Dolan
## no critic(StringyEval) eval $str; ## use critic Scoped style: sub { ## no critic(StringyEval) eval $str; } eval $str; # triggers a violation... The scoped style is possible because we are using PPI to parse the code into a DOM. Chris -- Chris Dolan, Software Developer, h

Re: Measuring Complexity (was Re: Perl::Metrics::Simple 0.30)

2006-12-19 Thread Chris Dolan
t there is some other thing going on with ($a == $b) that perhaps, should be considered some other kind of complexity. You're likely biting off more than you can chew. I recommend that you take a lesson from Kwalitee and focus on implementing easily- defined metrics first. Chris

Re: Measuring Complexity (was Re: Perl::Metrics::Simple 0.30)

2006-12-16 Thread Chris Dolan
On Dec 16, 2006, at 12:07 PM, Matisse Enzer wrote: On Dec 15, 2006, at 10:13 PM, Chris Dolan wrote: OK, I see. Perhaps I was distracted from your main point by mention of cyclomatic complexity, which has a rather specific definition. Mea culpa. In the next release I will change the

Re: Perl::Metrics::Simple 0.30

2006-12-15 Thread Chris Dolan
On Dec 15, 2006, at 10:22 PM, Matisse Enzer wrote: On Dec 15, 2006, at 7:52 AM, Chris Dolan wrote: That can't be right. Negation does not contribute to complexity. I think it is fair to say, that to a human, negation *can* increase complexity: if ( $foo ) { # do some

Re: Perl::Metrics::Simple 0.30

2006-12-15 Thread Chris Dolan
7;t know how to handle refs to $type"); 2) return $total So I actually count a complexity of 7 (num decision points + num endpoints + 1) if I've understood the wiki definition correctly. http://en.wikipedia.org/wiki/Cyclomatic_complexity Chris -- Chris Dolan, Software Developer, C

Re: P::C or PPI bug?

2006-11-08 Thread Chris Dolan
t the core Perl docs (or source code!), then it should be rewritten to be less ambiguous. Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 53703 vCard: http://www.chrisdolan.net/ChrisDolan.vcf Clotho Advanced Media

Re: P::C or PPI bug?

2006-11-08 Thread Chris Dolan
lists/listinfo/parseperl-discuss Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 53703 vCard: http://www.chrisdolan.net/ChrisDolan.vcf Clotho Advanced Media, Inc. - Creators of MediaLandscape Software (http://www.

Re: P::C or PPI bug?

2006-11-07 Thread Chris Dolan
he latest PPI developer release v1.199_xx. The array constructor stuff should be perfect. The hash constructor parsing still needs some work to further disambiguate it from anonymous blocks. (like map, grep, eval, sort, etc) It never hit RT because I just fixed it myself instead of re

Re: CPANTS and META.yml

2006-11-03 Thread Chris Dolan
hange. We might as well encourage people to change to the current spec. Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 53703 vCard: http://www.chrisdolan.net/ChrisDolan.vcf Clotho Advanced Media, Inc. - C

Re: recursive_test_files in Module::Build and in ExtUtils::MakeMaker

2006-11-02 Thread Chris Dolan
ature. What should you do? You're not going to like this answer: Don't use recursive test directories. :-) Chris -- Chris Dolan, Software Developer, http://www.chrisdolan.net/ Public key: http://www.chrisdolan.net/public.key vCard: http://www.chrisdolan.net/ChrisDolan.vcf

Re: Test.pm does not return false on failed tests.

2006-10-30 Thread Chris Dolan
lution simply invites unwelcome breakage. Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 53703 vCard: http://www.chrisdolan.net/ChrisDolan.vcf Clotho Advanced Media, Inc. - Creators of MediaLandscape Software (http://w

Re: Test.pm does not return false on failed tests.

2006-10-30 Thread Chris Dolan
On Oct 30, 2006, at 11:34 AM, Michael G Schwern wrote: The solution is to get authors to stop using test.pl. That sounds like an important Kwalitee test to me! Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison WI

Re: Sparse Test Output

2006-10-26 Thread Chris Dolan
ed the crash. In even scarier terms, would you prefer to see an RT or smoke report about your module with the former or the latter detail? Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 53703 vCard: http://www.chrisdol

Re: New Kwalitee Metric?

2006-10-25 Thread Chris Dolan
ext if ($file =~ /^(?:\d+[_-]?)?pod[_-]?coverage\.t$/); # more boilerplate to be added later... return 1; } return 0; } That said, I'm not a Module::CPANTS developer, so I'm not going to dictate priorities. The META.yml prereqs check sounds great. Chris -- Chri

Re: New Kwalitee Metric?

2006-10-24 Thread Chris Dolan
ext if ($file =~ /^(?:\d+[_-]?)?pod[_-]?coverage\.t$/); # more boilerplate to be added later... return 1; } return 0; } That said, I'm not a Module::CPANTS developer, so I'm not going to dictate priorities. The META.yml prereqs check sounds great. Chris -- Chri

Re: AnnoCPAN Doc Patch Maker

2006-10-05 Thread Chris Dolan
ot;). A future version of this should try to use Pod::Parser like Pod::Spell does. Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 53703 vCard: http://www.chrisdolan.net/ChrisDolan.vcf Clotho Advanced Media,

Re: Pod Spelling

2006-10-04 Thread Chris Dolan
der that large or not. Perl::Critic currently has 29 stopwords not included in aspell-en. Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 53703 vCard: http://www.chrisdolan.net/ChrisDolan.vcf Clotho Advanced Med

Re: AnnoCPAN Doc Patch Maker

2006-10-04 Thread Chris Dolan
s what we use in Perl::Critic: http://perlcritic.tigris.org/source/browse/*checkout*/perlcritic/ trunk/Perl-Critic/t/97_spelling.t?content-type=text/plain Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 53703 vCard: http

Re: Proposal for author test envvar standard (was Re: Suggestionsfor cpantesters)

2006-10-03 Thread Chris Dolan
;d be much happier with a term that points at the development or authoring process. Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 53703 vCard: http://www.chrisdolan.net/ChrisDolan.vcf Clotho Advanced Media, Inc. -

Re: Proposal for author test envvar standard (was Re: Suggestions for cpantesters)

2006-10-03 Thread Chris Dolan
e. It should be easy for a 3rd-party developer to glance at the .t file and figure out which envvar to use to turn on the author tests. I think your abstraction is too obscure. Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main S

Re: Proposal for author test envvar standard (was Re: Suggestionsfor cpantesters)

2006-10-03 Thread Chris Dolan
On Oct 3, 2006, at 10:04 PM, Adam Kennedy wrote: Christopher H. Laco wrote: Chris Dolan wrote: I've seen discussion of the right env var name has been batted around here and on the Module::Build list a couple of times without resolution or blessing. So, I hereby propose n

Proposal for author test envvar standard (was Re: Suggestions for cpantesters)

2006-10-03 Thread Chris Dolan
HOR_TEST=1 and run through all of the optional tests on all installed CPAN modules. This should not be set on automated/smoke systems because an author test is one which is only needs to succeed (or perhaps only *can* succeed) on a developer's machine. Chris -- Chris Dolan, Software Devel

Re: Testing for test labels

2006-10-02 Thread Chris Dolan
g::RequireTestLabels] modules = My::Test::SubClass Some::Other::Module Test::More is always implicitly included. Are there any common Test::More subclasses that I should add to the default list? Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435

Re: Suggestions for cpantesters

2006-10-02 Thread Chris Dolan
modules. Via that feed, I noticed this morning that your smoke machine has a problem with my FLV::Info module (now fixed, thanks for the report!) Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 53703 vCard: http

Re: Testing for test labels

2006-09-25 Thread Chris Dolan
@files = all_perl_files('blib'), grep {m/\.t\z/} read_dir('t'); plan tests => scalar @files; for my $file (@files) { critic_ok( $file, $file ); } Of course, you could easily replace that use of File::Slurp with opendir,readdir,closedir. Chris -- Chris Dolan,

Re: Testing for test labels

2006-09-24 Thread Chris Dolan
"svn add" first... Fixed, should work now. :-) Chris -- Chris Dolan, Software Developer, http://www.chrisdolan.net/ Public key: http://www.chrisdolan.net/public.key vCard: http://www.chrisdolan.net/ChrisDolan.vcf

Re: Testing for test labels

2006-09-24 Thread Chris Dolan
) = @_; my $includes = $doc->find('PPI::Statement::Include'); return if !$includes; return any { $_->module() eq 'Test::More' } @{ $includes }; } == -- Chris Dolan, Software Developer, Clotho Advanced Media In

Re: A short rant on the purpose of the CPAN install chain.

2006-09-19 Thread Chris Dolan
g * Every time you get a valid bug report, write a test that reproduces the bug. and of course * Read "Perl Testing: A Developer's Notebook" for more ideas http://www.oreilly.com/catalog/perltestingadn/ Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-

Re: Terrible diagnostic failure

2006-09-18 Thread Chris Dolan
s in the Perl core. http://search.cpan.org/perldoc?IPC::Open3 IPC::Run3 is supposed to be good on Windows, but I haven't tried it enough. http://search.cpan.org/perldoc?IPC::Run3 Finally, you can try duplicating the STDOUT filehandle and saving it in STDERR. Does this work as expected

Re: New TAP Grammar

2006-09-14 Thread Chris Dolan
\d*) ]? ## assumes a single space, not \h+ \h* ? \h* ? \n } token status { <'not '>? <'ok'> } token description { <-[#\n]>+ } The description can't start with a number if there is a test number: token descrip

Re: CPANTS quality brainstorming

2006-09-14 Thread Chris Dolan
* Advocacy to get popular modules to state their licenses more prominently * Advocacy to get modules with inconsistently stated licenses (e.g. DSLIP vs. POD) corrected Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 537

Module license determination (was Re: CPANTS quality brainstorming)

2006-09-13 Thread Chris Dolan
README, meta.yml, Build.PL, Makefile.PL, LICENSE/COPYING/COPYRIGHT, dslip, etc. It requires CPANPLUS, so it might not be directly suitable for CPANTS, but there is some stuff in there that could help. Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025,

Re: post-YAPC::Europe CPANTS news

2006-09-12 Thread Chris Dolan
we have is what gets uploaded. [...] That's a very good point. I'm convinced. To restate what you've said, CPAN is a better long-term software repository than any other system for open source Perl programmers. Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc.

CPANTS quality brainstorming

2006-09-12 Thread Chris Dolan
x.php/CPANTS_Quality_Goals I'd be thrilled if others would look at what I wrote and improve it or tear it apart. :-) I hope this isn't too much wheel re-invention... Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison

Re: Installing Tests

2006-09-12 Thread Chris Dolan
at you're better off starting with a clean tarball as if it's a fresh install. The only reason I can think of for the post-make argument is to preserve choices made during Makefile.PL, like Module::Install optional prereqs. Chris -- Chris Dolan, Software Developer, Clotho Ad

Re: post-YAPC::Europe CPANTS news

2006-09-12 Thread Chris Dolan
-test skipping works well, and is more appropriate for modules which may not have a publicly-exposed revision control system. *shrug* I could probably be convinced that your approach is better. Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025

Re: post-YAPC::Europe CPANTS news

2006-09-12 Thread Chris Dolan
y of CPAN will improve. And the more closely the metrics match our real quality goals, the bigger the quality delta we will achieve. Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 53703 vCard: http://www.chrisdola

Re: TAPx::Parser 0.21

2006-09-11 Thread Chris Dolan
> 'Inf'; use LWP::Simple qw(get); while (1) { ok(get('http://www.example.com/')); sleep 60; } or is it something else entirely? Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 5

Re: Installing Tests

2006-09-11 Thread Chris Dolan
talled copy of Foo itself. Perhaps that can be accomplished by simply deleting lib and blib in Foo-1.00 before running tests? Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 53703 vCard: http://www.chrisdolan.net/ChrisD

Re: Dependency trees

2006-07-21 Thread Chris Dolan
arser perl HTML-Tagset perl HTTP-Server-Simple perl Test-Exception perl Test-WWW-Mechanize perl URI perl WWW-Mechanize perl libwww-perl Something like that could be adapted to your purpose, maybe. Chris -- Chris Dolan, Software Developer, Clot

Re: Time for a Revolution

2006-07-14 Thread Chris Dolan
u thinking?) Whoa, this is becoming an unexpectedly educational thread... Chris -- Chris Dolan, Software Developer, http://www.chrisdolan.net/ Public key: http://www.chrisdolan.net/public.key vCard: http://www.chrisdolan.net/ChrisDolan.vcf

Re: [Slightly OT] Understanding Software Licences [was Re: Proposal Suggestion - Test::Run [was Re: [Israel.pm] Fwd: Call for proposals -- Perl Foundation Grants]]

2006-07-07 Thread Chris Dolan
ird parties with less dedication to Perl, thereby decreasing the attractiveness of the language. After all, software engineering is largely about reducing the exposed complexity of a project. Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 143

Re: Old and broken versions of Module::Install

2006-07-06 Thread Chris Dolan
On Jul 6, 2006, at 10:18 AM, A. Pagaltzis wrote: * Chris Dolan <[EMAIL PROTECTED]> [2006-07-06 16:30]: IMHO it likely counts as a CPANTS pass for now, but it may be a fail in the future unless you update the Makefile.PL with a newer M::B as bugs are discovered. To make sure we’re on th

Re: Old and broken versions of Module::Install

2006-07-06 Thread Chris Dolan
http://plasmasturm.org/> IMHO it likely counts as a CPANTS pass for now, but it may be a fail in the future unless you update the Makefile.PL with a newer M::B as bugs are discovered. Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main S

Re: Old and broken versions of Module::Install

2006-07-06 Thread Chris Dolan
using out-of-date Module::Build::Compat boilerplate). If the CPANTS "game" gets any M::I-using authors to upgrade, then it has served its purpose. Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 537

Re: TAP Grammar

2006-07-05 Thread Chris Dolan
t the first line of the Makefile to specify the path to PARROT_DIR and run "make". My tests found a few bugs in Jerry's grammar. My fixed version of that grammar is here: https://svn.clotho.com/public/parrot-experiments/TAP/grammars/TAP.pg Chris -- Chris Dolan, Software

Re: Continuous testing tools

2006-06-08 Thread Chris Dolan
the server. Is there any interest in such a package? Best wishes, Tels That sounds very similar to Adam Kennedy's PITA project. Yes, there is great interest! Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison WI

Re: CPANTS is not a game.

2006-05-23 Thread Chris Dolan
On May 23, 2006, at 10:34 AM, David Golden wrote: Chris Dolan wrote: ... just checking for the presence of a t/pod_coverage.t file (which is a weak proxy for POD quality, but dramatically easier to measure). It doesn't check for the existence of a t/pod_coverage.t file. It checks

Re: CPANTS is not a game.

2006-05-23 Thread Chris Dolan
like incorporating cpanratings into CPANTS (I do NOT advocate that!) or getting download stats from CPAN (never gonna happen) or adding voluntary "Someone installed module X" pings from CPAN.pm. Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294

Re: CPANTS is not a game.

2006-05-23 Thread Chris Dolan
I think that's a price worth paying -- at least until we rewrite the metric to actually test POD coverage (which is a decent proxy for POD quality) instead of just checking for the presence of a t/ pod_coverage.t file (which is a weak proxy for POD quality, but dramatically easier to measure).

Re: Module requirements

2006-04-05 Thread Chris Dolan
nd was first released with perl 5 Memoize was first released with perl 5.007003 Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 53703 vCard: http://www.chrisdolan.net/ChrisDolan.vcf Clotho Advanced Media, Inc.

Re: [PATCH] Forking tests with Test::More

2006-03-28 Thread Chris Dolan
ication for adding this feature to Test::More itself. Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 53703 vCard: http://www.chrisdolan.net/ChrisDolan.vcf Clotho Advanced Media, Inc. - Creators of MediaLandscape Softw

Re: Upgrading core modules on Windows

2006-03-16 Thread Chris Dolan
this, although that would be a huge addition to the dependency list. With PAR, you could employ a whole separate .exe and probably even do the core updates. Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 53703 vCard

Re: Best Practice for testing compilation of scripts

2006-03-15 Thread Chris Dolan
lcome). However, Adam Kennedy wrote one: http://search.cpan.org/src/ADAMK/ThreatNet-Bot-AmmoBot-0.10/t/ 01_compile.t That function should probably be changed to use FindBin instead of updir() calls. Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294

Re: Surprising use_ok false positive

2006-03-05 Thread Chris Dolan
On Mar 5, 2006, at 3:55 PM, David Wheeler wrote: On Mar 5, 2006, at 13:52, Chris Dolan wrote: Advice? While this example is contrived, the "eval { require ... }" idiom is used often in the wild, so this is not a wholly unrealistic scenario. Of course it should be eval { r

Surprising use_ok false positive

2006-03-05 Thread Chris Dolan
e this example is contrived, the "eval { require ... }" idiom is used often in the wild, so this is not a wholly unrealistic scenario. Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 53703 vCard: ht

  1   2   >