Re: Request for Comments: Package testing results analysis, result codes

2006-02-19 Thread Michael Graham
a couple of modules where a lot of skips are the norm. Michael [1] http://search.cpan.org/dist/Config-Context/ http://search.cpan.org/dist/CGI-Application-Plugin-Config-Context/ http://search.cpan.org/dist/CGI-Application-Plugin-AnyTemplate/ [2] HTML::Template is required because it's

Re: Running test suites under PersistentPerl

2005-12-09 Thread Michael Graham
to a module you're testing. Once your modules and your test script are relatively stable, you can comment out these lines. Michael --- Michael Graham <[EMAIL PROTECTED]>

Re: Running test suites under PersistentPerl

2005-12-07 Thread Michael Graham
be used to remove test data before the next text runs. That's another caveat with the PersistentPerl approach - END blocks seem only to run on the first request. Michael --- Michael Graham <[EMAIL PROTECTED]>

Running test suites under PersistentPerl

2005-12-05 Thread Michael Graham
STDOUT or STDERR will probably have problems. * The usual persistent environment caveats apply: be careful with redefined subs, global vars; 'require'd code only gets loaded on the first request, etc. * Test scripts have to end in a true value. If there's interest, I'll try to package all this up into a CPAN module. Michael --- Michael Graham <[EMAIL PROTECTED]>

Re: Spurious CPAN Tester errors from Sep 23rd to present.

2005-10-06 Thread Michael Graham
these modules require URI, not Test::URI. In fact, I haven't yet found one that requires Test::URI. Michael --- Michael Graham <[EMAIL PROTECTED]>

Re: New kwalitee test, has_changes

2005-09-26 Thread Michael Graham
pod.t, pod-coverage.t, 00.load.t or any other stock test boilerplate. If there's something left over, then the module probably has an actual test suite. Michael --- Michael Graham <[EMAIL PROTECTED]>

Re: Howto make 'require' fail ?

2005-09-25 Thread Michael Graham
.pm $ touch t/prereq_lib/Digest/SHA1.pm $ prove -Ilib -It/prereq_lib t/ Michael -- Michael Graham <[EMAIL PROTECTED]>

Re: New kwalitee test, has_changes

2005-09-22 Thread Michael Graham
that would be fine too. I think there's a big difference in kwalitee between a module that has only the default tests and a module with a hand-crafted test suite. One of the first things I do when checking out a new module is to check if there are more than three files in the t/ directory. Michael --- Michael Graham <[EMAIL PROTECTED]>

Re: kwalitee: drop Acme?

2005-09-10 Thread Michael Graham
bt that most modules list their optional dependencies, but that's probably not a big deal. If someone uses my module but doesn't list it in recommends, and I want my prereq point, then I'll bug them to add it. Michael --- Michael Graham <[EMAIL PROTECTED]>

Re: kwalitee: drop Acme?

2005-09-08 Thread Michael Graham
er own modules. Each auther could have a special empty 'dependent' module for this purpose. Something like ACME::Prereq::[AUTHOR_ID]. Michael --- Michael Graham <[EMAIL PROTECTED]>

Re: kwalitee: drop Acme?

2005-09-08 Thread Michael Graham
all get our 'is_prereq' point. Don't make us release this foolishness outside of ACME::! Michael --- Michael Graham <[EMAIL PROTECTED]>

Re: Kwalitee and has_test_*

2005-04-16 Thread Michael Graham
> Michael Graham wrote: > > Another good reason to ship all of your development tests with code is > > that it makes it easer for users to submit patches with tests. Or to > > fork your code and retain all your development tools and methods. > > Perl::MinimumVersi

YAPC::NA - call for (testing-related) papers

2005-04-14 Thread Michael Graham
ons can be directed to [EMAIL PROTECTED] Michael ------- Michael Graham <[EMAIL PROTECTED]> YAPC::NA 2005 Toronto - http://www.yapc.org/America/ - [EMAIL PROTECTED] ---

Re: Kwalitee and has_test_*

2005-04-08 Thread Michael Graham
#x27;s docs are considered 'kwalitudinous' on my system. Maybe I don't know enough about testing and module development to know that the module still works fine in spite of the failed POD test. Michael ----------- Mi

Re: Kwalitee and has_test_*

2005-03-27 Thread Michael Graham
eone else's pod-coverage.t. Maybe there should be a different way of marking additional private methods? Michael -- Michael Graham <[EMAIL PROTECTED]>

Re: Test::Builder->create

2005-03-10 Thread Michael Graham
) { warn "Cannot fork: $!\n"; return; } elsif ($pid) { my $ret = waitpid($pid, 0); return $ret; } do $script or die "Compile errors: $script: [EMAIL PROTECTED]"; exit; } Michael -- Michael Graham <[EMAIL PROTECTED]>

Re: Test::Builder->create

2005-03-08 Thread Michael Graham
ort but it was something I was going to play with for a couple of hours. Michael -- Michael Graham <[EMAIL PROTECTED]>

Re: Test::Builder->create

2005-03-08 Thread Michael Graham
gured folks would want to play with it > particuarly the Test::Builder::Tester guys. Would this make it possible to run many test scripts (each with its own plan) within the same perl process? 'Cos that would be nifty. Michael -- Michael Graham <[EMAIL PROTECTED]>

prove -M (was Re: Differences between output of 'make test' and 'prove')

2004-11-05 Thread Michael Graham
elf. With an -M feature, I could use: $ cat runtests #!/bin/sh prove -I/path/to/modules -MTestConfig $* Which is (very) slightly cleaner. Michael -- Michael Graham <[EMAIL PROTECTED]>