<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";
        color:black;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:navy;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:Arial;
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 @list l0
        {mso-list-id:1328752455;
        mso-list-template-ids:-854791884;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=white lang=EN-US link=blue vlink=navy>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Sounds like a plan, Tony. I&#8217;ll have
a look over EUMM (hope I pass my sanity roll on that one, I can&#8217;t afford
to lose any more points).<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hi Gavin, what we discussed at the Perl 20<sup>th</sup>
beano was that we&#8217;d do a preliminary recce to see what needed doing and
then divide it up into writing tests, writing docs and running the tests on
different platforms, so I guess it&#8217;s worth waiting to see what the
intrepid code explorers report back. There will definitely be something for
everyone to do. Tom is the Perl testing guru round here so we&#8217;ll follow
his pointers and hopefully all learn a lot.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>The test file for Apache2::AuthCookieDBI is
a non-test, as Tony said, and thus a good candidate for improvement.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>The related test for Apache::AuthCookieDBI
is better: <a
href="http://search.cpan.org/src/MATISSE/Apache-AuthCookieDBI-2.1/test.pl">http://search.cpan.org/src/MATISSE/Apache-AuthCookieDBI-2.1/test.pl</a><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I&#8217;d normally expect to see tests in
a &#8216;t&#8217; sub-directory accessible by &#8216;make test&#8217; from
Makefile.PL, e.g. the suite for DBI <a
href="http://search.cpan.org/src/TIMB/DBI-1.601/">http://search.cpan.org/src/TIMB/DBI-1.601/</a>
which uses Test::Simple. But I&#8217;m jumping the gun here </span></font><font
size=2 color=navy face=Wingdings><span style='font-size:10.0pt;font-family:
Wingdings;color:navy'>J</span></font><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p></o:p></span></font></p>

<div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color=navy face=Arial><span lang=EN-GB style='font-size:10.0pt;
font-family:Arial;color:navy'>Regards, Peter<o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color=gray face=Arial><span lang=EN-GB style='font-size:10.0pt;
font-family:Arial;color:gray'>Dragonstaff&nbsp;Limited<span class=grame>&nbsp;&nbsp;</span><a
href="http://www.dragonstaff.com/"><font color=gray><span style='color:gray'><span
title="http://www.dragonstaff.com/">http://www.dragonstaff.com</span></font></a>&nbsp;</span>&nbsp;
Business IT Consultancy<br>
<br>
</span></font><span lang=EN-GB><u1:STREET u2:st="on"><u1:ADDRESS u2:st="on"><o:p></o:p></span></p>

</div>

</div>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
color=black face="Times New Roman"><span style='font-size:12.0pt;color:windowtext'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 color=black face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;color:windowtext;font-weight:bold'>From:</span></font></b><font
size=2 color=black face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;
color:windowtext'> miltonkeynes-pm-bounces+peter=dragonstaff.com@pm.org
[mailto:miltonkeynes-pm-bounces+peter=dragonstaff.com@pm.org] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Gavin Westwood<br>
<b><span style='font-weight:bold'>Sent:</span></b> 20 December 2007 14:10<br>
<b><span style='font-weight:bold'>To:</span></b> miltonkeynes-pm@pm.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: Coding Together</span></font><font
color=black><span style='color:windowtext'><o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'>On 20/12/2007 10:33, Edwardson, Tony wrote: <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial'>As discussed the other night, we
probably want to check out the 4 modules to see :-<u1:p></u1:p></span></font><o:p></o:p></p>

<ul style='margin-top:0cm' type=disc>
 <li class=MsoNormal style='mso-list:l0 level1 lfo1'><font size=2 color=black
     face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'>What
     testing already exists<u1:p></u1:p></span></font><o:p></o:p></li>
 <li class=MsoNormal style='mso-list:l0 level1 lfo1'><font size=2 color=black
     face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'>What
     the testing coverage is like<u1:p></u1:p></span></font><o:p></o:p></li>
 <li class=MsoNormal style='mso-list:l0 level1 lfo1'><font size=2 color=black
     face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'>What
     needs to be done<u1:p></u1:p></span></font><o:p></o:p></li>
 <li class=MsoNormal style='mso-list:l0 level1 lfo1'><font size=2 color=black
     face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'>How
     hard it is likely to be<u1:p></u1:p></span></font><o:p></o:p></li>
</ul>

<p class=MsoNormal><font size=2 color=black face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial'><u1:p>&nbsp;</u1:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=black face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial'>Tom has volunteered to do this for
Log::Dispatch, I&#8217;ll investigate </span></font><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>Apache2::AuthCookieDBI,
so can I suggest that Olie looks at Perl::Metrics::Simple and Peter looks at
ExtUtils::MakeMaker.</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><br>
How about the three of us who are learning?&nbsp; Should we each hook up with
one of yourselves?<br>
<br>
<br>
<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>A quick look at
Apache2::AuthCookieDBI reveals a very complicated test suite as follows :-<u1:p></u1:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'><u1:p>&nbsp;</u1:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>BEGIN { $| = 1; print
&quot;1..1\n&quot;; }<u1:p></u1:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>END {print &quot;not ok
1\n&quot; unless $loaded;}<u1:p></u1:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'># use Apache::AuthCookieDBI;
# commented; can't really run this without Apache<u1:p></u1:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>$loaded = 1;<u1:p></u1:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>print &quot;ok 1\n&quot;;<u1:p></u1:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'><u1:p>&nbsp;</u1:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>and that is it !</span></font><o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt'><br>
Ok, I don't get the first line, and the second one looks out of place (but a
quick google confirmed what I thought that it would get run at the end of the
procedure), but from what I can see this will always print &quot;ok 1&quot;?<br>
<br>
Gavin<o:p></o:p></span></font></p>

</div>

</body>

</html>