Hi Piyush,

On Wed, 22 Jul 2015 20:03:37 +0530
Piyush Verma <114piy...@gmail.com> wrote:

> Hi Shlomi,
> 
> Code is not using t/*.t framework, it contains .pl and .pm files. I was
> trying via PERL5OPT=-MDevel:Cover
> I test my code via passing different-different arguments to .pl file, Is
> there any way I can use coverage module e.g. enable code coverage in each
> file?
> 

Devel::Cover should cover all the code. Are your .pm files under the "lib/"
sub-directory? Furthermore, is there a good reason why your project does not
follow the CPAN-inspired conventions? See
http://www.slideshare.net/thaljef/cpan-for-private-code . If that fails, can
you provide a sample project that reproduces the problem?

Regards,

        Shlomi Fish

> Regards,
> ~Piyush
> Facebook <https://www.facebook.com/piyushkv1> Twitter
> <https://twitter.com/SocializePiyush>
> 

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
http://is.gd/htwEXQ - Integrating GNU Guile into GNU coreutils

Chuck Norris reinvented a better wheel. Summer Glau reinvented a better Chuck
Norris.
    — http://www.shlomifish.org/humour/bits/facts/Summer-Glau/

Please reply to list if it's a mailing list post - http://shlom.in/reply .

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to