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?

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

On Wed, Jul 22, 2015 at 7:26 PM, Shlomi Fish <shlo...@shlomifish.org> wrote:

> Hi Piyush,
>
> On Wed, 22 Jul 2015 19:08:20 +0530
> Piyush Verma <114piy...@gmail.com> wrote:
>
> > Hi,
> >
> > I want to collect code coverage data of my perl project which has a .pl
> > file and .pm files.
> > If I include this module in each file, I'm getting result only of .pl
> file.
> >
> > Can anyone suggest about the use case so that I can collect code coverage
> > data of all files.
> >
>
> Devel::Cover is for determining the *tests'* coverage. Do you have any
> t/*.t
> files? Please follow the synopsis of running Devel::Cover here:
>
> https://metacpan.org/pod/Devel::Cover#SYNOPSIS
>
> Regards,
>
>         Shlomi Fish
>
> --
> -----------------------------------------------------------------
> Shlomi Fish       http://www.shlomifish.org/
> What does “Zionism” mean? - http://shlom.in/def-zionism
>
> Don't worry over what other people are thinking about you.  They're too
> busy worrying over what you are thinking about them.
>     — Unknown Source
>
> 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