problem with a test exemple on the Phalanx web site

2003-10-04 Thread Dominic Letarte
on the page : http://qa.perl.org/phalanx/kwalitee.html

ok( unlink $filename, "Remove $filename" );

should be written:
ok( unlink( $filename), "Remove $filename" );  
unless you want Perl to take "Remove $filename" as an arg for unlink and 
not for ok.

Dominic






Re: Hoplites report!

2003-10-30 Thread Dominic Letarte
> So does anyone have anything to report as far as progress on their 
modules? 
> Reports back to update on the website would be appreciated.

 Writing test slowly for Parse::RecDescent, but writing.

 I got no response from the author. In worst case, I plan to post the 
tests files on rt.cpan.org.

 I finished writing tests for code in the tutorial and found 1 bug 
(http://rt.cpan.org/NoAuth/Bug.html?id=4248). I abandonned writing tests 
for the 40 scripts in demo/ because of undocumented, old and buggy 
feelings, maybe I come back later. I'm starting using Test::Inline for 
everything in RecDescent.pod

For the website, if that's what you want:

Devel::Cover whith 18 original tests (Files=1, Tests=18):
 -- -- -- -- -- -- 
--
File   stmt branch   condsubpod   time  
total
 -- -- -- -- -- -- 
--
blib/lib/Parse/RecDescent.pm  77.90  42.52  34.13  70.33   0.00 100.00  
60.85
Total 77.90  42.52  34.13  70.33   0.00 100.00  
60.85
 -- -- -- -- -- -- 
--

Devel::Cover now (Files=3, Tests=67):
 -- -- -- -- -- -- 
--
File   stmt branch   condsubpod   time  
total
 -- -- -- -- -- -- 
--
blib/lib/Parse/RecDescent.pm  82.64  50.53  44.84  75.96   0.00 100.00  
67.42
Total 82.64  50.53  44.84  75.96   0.00 100.00  
67.42
 -- -- -- -- -- -- 
--

Dominic
--
Ce qui me fait de la peine, c'est que ça me fait rien. É. McComber


hoplite report for Parse::RecDescent

2004-05-07 Thread Dominic Letarte
sometime ago Andy Lester wrote:
It's been a while since I've heard from any hoplites.  Where are you on
your individual Phalanx modules?
 

recently Tim Bunce wrote:
Encouraging simple status reports, say monthly, may help ensure progress.
 

ok, I have written 8 tests scripts for a total of 227 tests cases (11 
tests cases are presents in the current distribution of PRD). My test 
code is covering all the things said in the first half of the pod file. 
I put some bugs in rt. I have abandonned the idea of writing tests for 
the tings in the demo directory for the moment.

I will not have time to put on this before august, I plan finishing the 
second half of the pod file for october. My svn server is down for the 
moment but I can put the code somewhere if asked.

Dominic
--
Ce qui me fait de la peine, c'est que ça me fait rien. --É. McComber