NAME

kwalitee.t - Applies (the spirit of) Test:Kwalitee on the module.

DESCRIPTION

We mostly do the same thing as Test::Kwalitee, ie one test assertion per kwalitee metric, except that we actually make it work (by default Test::Kwalitee will eg try to POD-check the files in _build, I am neither amused nor making this up). To this end, we bypass Test::Kwalitee almost entirely and directly hook into Module::CPANTS::Analyse, the actual Kwalitee checker.

Actual Kwalitee Tests

You could replace all of Test::Kwalitee's 100+ lines with the following 20 or so.

Medieval Antics on Module::CPANTS::Kwalitee::Files

get_files ()

Copied and modified from the original code so as not to frob in version-control directories, build directories and so on.