On Tue, 14 Feb 2006 21:15:01 -0800, chromatic [EMAIL PROTECTED] said:
Hi all,
I've released a snapshot of the long-promised Test::Kwalitee. Internally,
it
uses the CPANTS code to analyze a module along 13 of the Kwalitee
indicators.
I recommend using this in developer tests before distributing a module
publicly.
I haven't written any documentation besides the t/01-kwalitee.t file, but
using it is straightforward. I'll be sure to add more explanation and such
before releasing it more publicly.
http://wgz.org/chromatic/perl/Test-Kwalitee.tar.gz
The prerequisite Module::CPANTS::Analyse can currently not be
installed because it relies on sme YAML import feature:
t/analyse..all is not defined in %YAML::EXPORT_TAGS at
/usr/local/[EMAIL PROTECTED]/lib/site_perl/5.9.4/YAML.pm line 5
cannot load Module::CPANTS::Kwalitee::Prereq: Can't continue after import
errors at
/home/k/.cpan/build/Module-CPANTS-Analyse-0.5/blib/lib/Module/CPANTS/Kwalitee/Prereq.pm
line 5
BEGIN failed--compilation aborted at
/home/k/.cpan/build/Module-CPANTS-Analyse-0.5/blib/lib/Module/CPANTS/Kwalitee/Prereq.pm
line 5.
Compilation failed in require at (eval 13) line 3.
at
/home/k/.cpan/build/Module-CPANTS-Analyse-0.5/blib/lib/Module/CPANTS/Analyse.pm
line 27
# Looks like your test died before it could output anything.
t/analyse..dubious
This will give you plenty of minus points:)
Thomas, I'e tried YAML 0.57 and 0.58, both with bleadperl. The harness
output is good for a laugh, actually:
Failed Test Stat Wstat Total Fail Failed List of Failed
---
t/analyse.t255 6528010 20 200.00% 1-10
t/calc.t 255 6528011 22 200.00% 1-11
t/plugins.t255 65280 5 10 200.00% 1-5
t/testdir.t255 65280 24 200.00% 1-2
t/testfile.t 255 65280 36 200.00% 1-3
t/unpack.t 255 65280 5 10 200.00% 1-5
t/unpack_notextractable.t 255 65280 24 200.00% 1-2
Failed 7/10 test scripts, 30.00% okay. 38/56 subtests failed, 32.14% okay.
--
andreas