[Daca-general] Perl::Critic - standardising on an output format would be useful

Alexey Shrub ashrub at yandex.ru
Fri Jan 14 17:43:16 UTC 2011


Hi,

For standardising output format you can use Test::Perl::Critic that print in standard TAP format - http://testanything.org
Test::Harness can run many such tests and make report (use prove util or perl -MTest::Harness -e 'runtests(@ARGV)' t/*.t), there is TAP parser on CPAN if need something else/
You can see example of such test in git repository
https://github.com/worldmind/perl-test-code-quality-template/blob/master/xt/50-critic.t
In this repsitory I try to collect test for perl code quality

-- 
Alexey Shrub



More information about the Daca-general mailing list