go ahead... be a heretic | |
PerlMonks |
Re: Including a 'test only' module in distributionby tachyon (Chancellor) |
on Sep 25, 2001 at 22:52 UTC ( [id://114627]=note: print w/replies, xml ) | Need Help?? |
Why does your test suite need to be a module? Almost by definition it needs to be one or more perl scripts that use Parse::FixedLength as the object of the exercise is to test your actual module(s) in the context it/they will be used. I presume you are using h2xs as recommended to generate your basic module component stubs and directory structure:
These stubs contain all the basic files/code for your distro which makes life easier.perlman:perlxstut is not a bad read. It has a C focus but the intro sections are applicable to any module and cover a bit on testing. cheers tachyon s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
In Section
Seekers of Perl Wisdom
|
|