|
[Module::Build] Test::More 'v' Test::Simple
From: Ron Savage <ron@sa...> - 2004-07-24 00:54
|
<html><head><meta name=3D"Generator" content=3D"PSI HTML/CSS Generator"/>
<style type=3D"text/css"><!--
body{font-family:'Arial';font-size:10pt;font-color:'#000000';}
LI{display:list-item;margin:0.00in;}
p{display:block;margin:0.00in;}
body{}
--></style>
</head><BODY BGCOLOR=3D"#F0F0F0" ><p><SPAN style=3D"font-size:10pt;">Hi=
Folks</SPAN></p>
<p> </p>
<p><SPAN style=3D"font-size:10pt;">I've just patched all my modules to use=
Test::More and Test::Pod, as in t/base.t:</SPAN></p>
<p><SPAN style=3D"font-size:10pt;">-----><8-----</SPAN></p>
<p><SPAN style=3D"font-size:10pt;">use Test::More tests =3D> 1;</SPAN></p>
<p><SPAN style=3D"font-size:10pt;">BEGIN{ use_ok('CGI::Echo'); }</SPAN></p>
<p><SPAN style=3D"font-size:10pt;">-----><8-----</SPAN></p>
<p><SPAN style=3D"font-size:10pt;">with Build.PL containing this:</SPAN></p>
<p><SPAN style=3D"font-size:10pt;">-----><8-----</SPAN></p>
<p><SPAN style=3D"font-size:10pt;">=09build_requires=09=3D></SPAN></p>
<p><SPAN style=3D"font-size:10pt;">=09{</SPAN></p>
<p><SPAN style=3D"font-size:10pt;">=09=09Test::More=09=3D> 0,</SPAN></p>
<p><SPAN style=3D"font-size:10pt;">=09=09Test::Pod=09=3D> 0,</SPAN></p>
<p><SPAN style=3D"font-size:10pt;">=09},</SPAN></p>
<p><SPAN style=3D"font-size:10pt;">-----><8-----</SPAN></p>
<p><SPAN style=3D"font-size:10pt;">but there is no module Test::More is there.=
It's inside Test::Simple.</SPAN></p>
<p> </p>
<p><SPAN style=3D"font-size:10pt;">So, the question is, what should I put in=
Build.PL to best handle this situation?</SPAN></p>
<p><SPAN style=3D"font-size:10pt;">I presume Test::Simple, since it's the=
module.<br />-- </SPAN></p>
<p><SPAN style=3D"font-size:10pt;">Cheers</SPAN></p>
<p><SPAN style=3D"font-size:10pt;">Ron Savage, ron@... on=
24/07/2004</SPAN></p>
<p><SPAN style=3D"font-size:10pt;"><a=
href=3D"http://savage.net.au/index.html">http://savage.net.au/index.html</a><=
/SPAN></p>
<p> </p>
</body></html>
|
| Thread | Author | Date | |
|---|---|---|---|
| [Module::Build] Test::More 'v' Test::Simple | Ron Savage <ron@sa...> |
|