> -----Original Message-----
> From: Tina Muller 
> Sent: Monday, December 26, 2016 07:04
> 
> Hi Jason,
> 
> On Sun, 25 Dec 2016, Jason Pyeron wrote:
> 
> > Coverage works great as part on continuous integration, 
> > until a new file is added and the unit tests are blissfully 
> > ignorant of the new file's existence.
> 
> Maybe this is not what you're looking for, but it works well
> for me loading any module in t/00.load.t:
> 
>      use Test::More;
> 
>      # unorthodox but works fine
>      use Module::Pluggable search_path => ['Module::Namespace'];
>      my @plugins = main->plugins;
>      for my $module (@plugins) {
>          use_ok( $module );
>      }
> 
>      done_testing;

Cute way to search, thanks.

<snip/>

> 
> Of course, this only works for .pm files.

Here in lies the rub, the files (e.g. 
https://sourceforge.net/p/logwatch/git/ci/master/tree/scripts/) are just plain 
old perl files.

-Jason

Reply via email to