I've posted this at PerlMonks, but it's worth some time here as well.
I'm entertaining the idea of writing Test::CPANTS. During the development process, I want to be able to test my kwalitee rating (keeping it at 16) every time I get ready to release a new version of a module.
I've taken a look and Modules::CPANTS::Generator. Most of it looks reusable (like the individual test modules); but a good portion of it
This brings my to my question. Is it ok to use Test::MockObject for good (test.pl, t/*.t) AND evil; fooling Modules::CPANTS::Generator into using my local hacks to get it and CPANPLUS to not download things, but intead to use the local dist directory and a non-existant
Re: Test::CPANTS (Score:1)
One I thing I have on my CPANTS TODO list for ages is something like a 'lint' script which just takes a dist (Foo-Bar-0.42.tgz) ans runs all CPANTS tests on it. So one can check for kwalitee before uploading to CPAN and then beeing publicly humilated :-)
In theroy you should be able to use all the various Module::CPANTS::Generator::* modules and the test contained in them, but I never actually tried it. Hmm, mabye it's time for more CPANTS refactoring...
Re: Test::CPANTS (Score:1)