in reply to Running tests on modules generated by Module::Starter still in /lib directory
How, and from which directory are you running your tests?
make test from within the distribution's root directory will Do The Right Thing. If you are running individual tests (eg: perl t/00-load.t), you need to first do a make install first. In the distribution root dir:
perl Makefile.PL make make test make install
Thereafter, if you don't make any changes to your Makefile.PL and want to run test files individually, simply make install after any change to your library (.pm file):
make install perl t/xx-frobnicate_tests.t
On a side note, each to their own on how they use module-starter, but I like to have the software configure as much as possible for me:
module-starter --module=My::Module \ --author="Steve Bertrand" \ --email=my@email.com \ --license=perl
At the very end of the help screen (just type "module-starter" without any arguments), there's an example if you forget (less the license option):
Example: module-starter --module=Foo::Bar,Foo::Bat \ --author="Andy Lester" --email=andy@petdance.com
|
|---|