Re: error message from Devel::Cover 0.20

2003-03-17 Thread Paul Johnson
n. If you are able to test against 5.8.0 or bleadperl, that would also be helpful - otherwise I'll do that myself. Thanks, -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Devel::cover 0.20 and daemon, show not covered lines of code

2003-03-12 Thread Paul Johnson
amon. > Another question is: > How can I see which statements and branches are covered and which not? > Because currently I know that for example 80% are covered, but not which > branches are not covered. Have you run the "cover" program? That will give you a detailed textual or html report. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: WWW::Mechanize 0.37 released

2003-03-05 Thread Paul Johnson
rule software is distributed with tests to be run at installation time, and if the software is being installed in an environment where those tests cannot easily be run, maybe just skipping them is an appropriate response. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: pls suggest me huge package in perl with testsuites

2003-02-11 Thread Paul Johnson
; Test::More > some of the recent stuff by Abigail > Test::Harness Feel free to take a peek at my cpancover project, which should give you a (very) rough idea about the size of various modules and how well they are tested. http://pjcj.sytes.net/cover/cpancover/cpancover.html --

Re: Graphically depicting coverage vs. test results

2002-12-17 Thread Paul Johnson
scripts tend to be run earlier in some setups, I'm not > sure that's it going to be a useful distinction all of the time. There > are certainly lots of test setups where it's not true for me. Agreed. It was really just a half baked idea of mine that may or may not have any pr

Re: Graphically depicting coverage vs. test results

2002-12-16 Thread Paul Johnson
On Mon, Dec 16, 2002 at 04:49:46PM +, Tony Bowden wrote: > On Fri, Dec 13, 2002 at 12:16:53AM +0100, Paul Johnson wrote: > > I also had thoughts along the lines of all tests not being equal. > > Generally the earlier a test is run, the more important it is. > > This i

Re: Graphically depicting coverage vs. test results

2002-12-12 Thread Paul Johnson
That, I'm working on. http://pjcj.sytes.net/cover/cpancover/cpancover.html -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Problem with coverage

2002-12-04 Thread Paul Johnson
nstall/lib/site_perl/5.8.0 > /proj/dite/WorkArea/Raja/perl/install/lib/site_perl > > and > > program_1/cover.4 is : > > $db = {'collected' => ['statement','time'],'cover' => {'program_1.pl' => > {'statement' => {3 => [[[0]]]}}},'indent' => 0}; Looks about right for what you have reported. Did you run make test on Devel::Cover? Did the tests pass? Has anyone had any success with Devel::Cover on a 64 bit machine? -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Problem with coverage

2002-12-03 Thread Paul Johnson
am not able to understand why is it showing the coverage as 0. Neither am I. I went through exactly the same procedure, except with bleadperl, and everything worked as expected. Did all of the tests pass? Is this a 64bit perl? Has anyone ever run Devel::Cover with a 64 bit perl? Maybe it'

Testing failure in the core

2002-10-15 Thread Paul Johnson
. Is this the best way to handle this, or have I missed something? In this case, Rafael fixed the bug and added passing tests, so there was no problem, but in general what is the solution? Now I've asked the same question three times I'll wait for enlightenment :-) -- Paul Johnson - [

Re: Test::Class - comments wanted

2002-10-14 Thread Paul Johnson
ould failsafe. I don't know that I can think of all the ways that one of my tests could fail to print the expected output, so I prefer to explicitly state how many tests I am going to run. Though as Tels points out, this is probably not the biggest testing problem facing most modules. --

[ANNOUNCE] Devel::Cover 0.20

2002-10-05 Thread Paul Johnson
t the same address. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

[ANNOUNCE] Devel::Cover 0.19

2002-09-28 Thread Paul Johnson
l and working in the wee hours. At least I didn't make two releases on the same day :-) -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

[ANNOUNCE] Devel::Cover 0.18

2002-09-28 Thread Paul Johnson
This release adds complete condition coverage, as long as I haven't forgotten anything. New is coverage for xor, &&= and ||=. I also try to be a bit more lenient about constructs such as $val = shift || "???" Hmm. I suppose I'll have to add support for // now. Us

[ANNOUNCE] Devel::Cover 0.16

2002-09-09 Thread Paul Johnson
Just some bug fixes really. Oh, and the HTML output routine should be able to find the templates now :-) On CPAN and at my homepage, as usual. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: [ANNOUNCE] Devel::Cover 0.15

2002-09-09 Thread Paul Johnson
On Fri, Sep 06, 2002 at 04:40:40PM +0900, Tatsuhiko Miyagawa wrote: > At Fri, 6 Sep 2002 01:59:36 +0200, Paul Johnson wrote: > > > Here's something really serious. As threatened, Devel::Cover 0.15 has > > escaped into the wild, and is currently marauding around CPAN,

[ANNOUNCE] Devel::Cover 0.15

2002-09-05 Thread Paul Johnson
should I put them, and how should I get them there? Advice sought. Remember, this is still alpha code, so don't expect too much and you won't be too disappointed. It's on my homepage if you can't wait for CPAN. Enjoy. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Devel::Cover and v5.8.0

2002-09-05 Thread Paul Johnson
> > > > I just want to test it a little ;-) > > But, does it contain the B::SPECIAL fix? :) Well, that bit of code has been completely reworked anyway. Do you have a small example I could test with? There are still bugs, but I think I should probably release it soon. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Devel::Cover and v5.8.0

2002-09-05 Thread Paul Johnson
ease all ready to go. It might even happen tonight if I can stay awake ... I just want to test it a little ;-) -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: make cover

2002-02-28 Thread Paul Johnson
ocally to > each testfile, and that can be a problem if your testfiles chdir to > different dirs. Hopefully specifying -db,/full/path/to/db takes care of that. Yes, this information should be in the docs. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

[ANNOUNCE] Devel::Cover 0.14

2002-02-28 Thread Paul Johnson
keep my network connection up long enough to get it on CPAN. Enjoy, -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: gcov/xs trickery.

2002-02-09 Thread Paul Johnson
plied patches: DEVEL14574 Built under linux Compiled at Feb 9 2002 02:01:34 @INC: /sw/packages/bleadperl/lib/5.7.2/i686-linux /sw/packages/bleadperl/lib/5.7.2 /sw/packages/bleadperl/lib/site_perl/5.7.2/i686-linux /sw/packages/bleadperl/lib/site_perl/5.7.2 /sw/packages/bleadperl/lib/site_perl/5.7.1/i686-linux /sw/packages/bleadperl/lib/site_perl/5.7.1 /sw/packages/bleadperl/lib/site_perl . -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Compiled programs to keep BEGIN blocks? (was Re: [RFC] Switch to make Test::Builder output even if $^C ( for B::C ))

2002-01-16 Thread Paul Johnson
competitors ever see this code. sub import { eval '$main::ONE--' } 1 one.plx === #!/usr/bin/perl # Copyright Paul Johnson, 2002 # This program is mine. You can't have it. # Program to print 1 BEGIN { $ONE = 2 } # Initialisation. use ONE;# Abstracted aw

Re: Untested modules update: There's more than we thought

2001-12-15 Thread Paul Johnson
rprised at just what constructs it did include. Maybe all the constructs it uses are tested earlier, but after all the fingers that have been in the pie, it's probably time for someone to take a good look at what gets tested where to make sure that the various test programs do only use previously tested constructs as far as possible. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Preliminary test coverage analysis

2001-10-21 Thread Paul Johnson
On Sun, Oct 21, 2001 at 07:31:20PM +0200, Tels wrote: > On 21-Oct-01 Paul Johnson tried to scribble about: > > On Thu, Oct 18, 2001 at 10:42:33PM -0400, Michael G Schwern wrote: > >> On Thu, Oct 18, 2001 at 12:07:26AM -0600, chromatic wrote: > >> > > - Of those

Re: Preliminary test coverage analysis

2001-10-21 Thread Paul Johnson
w ;) Indeed. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Preliminary test coverage analysis

2001-10-21 Thread Paul Johnson
ests ended up in different directories and are not reported here. - The URL is to my home machine so apologies if it is down or slow. - I'll leave the data there for a while, but not for ever. - This gives me plenty to work on http://pjcj.sytes.net/cover.12493/cover_db/cov

Re: Preliminary test coverage analysis

2001-10-20 Thread Paul Johnson
with bleadperl. I'll try to look further. By the way, I got rid of perl-qa-metrics. It's basically dead, right? -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: ANNOUNCE Devel::Cover 0.12

2001-10-14 Thread Paul Johnson
On Sun, Oct 14, 2001 at 05:19:28PM +0200, Paul Johnson wrote: > Hey! It's 0.12! Better yet get 0.13. It's had some marginal quality control :-) -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

ANNOUNCE Devel::Cover 0.12

2001-10-14 Thread Paul Johnson
o a CPAN mirror near you, or get it now from my home page. This announcement brought to you by the ! key. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

ANNOUNCE Devel::Cover 0.11

2001-09-09 Thread Paul Johnson
om my homepage. Still lots to do though -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

ANNOUNCE Devel::Cover 0.10

2001-08-27 Thread Paul Johnson
might like to write. Available from CPAN soon, or now from my homepage. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

ANNOUNCE Devel::Cover 0.09

2001-08-17 Thread Paul Johnson
;s even starting to get a little useful now -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Descriptive strings?

2001-06-21 Thread Paul Johnson
display any of that info. If > | you set $verbose = 1 you'll see all the test output. For failed tests > | it will just report their numbers. > > Where do I set $verbose? make test TEST_VERBOSE=1 -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net