[Bioperl-l] [ANNOUCEMENT] BioPerl 1.6 RC3

Nathan S. Watson-Haigh nathan.watson-haigh at csiro.au
Tue Jan 20 05:56:14 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chris Fields wrote:
> On Jan 19, 2009, at 8:32 PM, Martin MOKREJŠ wrote:
> 


- -- snip --


>>
>> Why doesn't it say something like the other tests?, e.g.:
>>
>> t/PodSyntax..................................skipped: Test::Pod 1.00  
>> required for testing POD
> 
> That's a diagnostic response, it's probably best to change that to a  
> TODO (fixed now).
> 
>> 

- -- snip --

I usually add such test files to MANIFEST.SKIP so they are not distributed to end users. After all,
this only really needs to be run prior to packaging to ensure the POD syntax is correct. In the test
file itself, I DON'T skip the tests if the required module isn't installed, instead I let it fail.

That way, you have the following behaviour:
1) people running the tests from svn will run tests meant to check for things prior to distribution
2) People running the tests using a distribution (i.e. CPAN) will not have these tests run as they
aren't included in the dist.

Nath

- --
- --------------------------------------------------------
Dr. Nathan S. Watson-Haigh
OCE Post Doctoral Fellow
CSIRO Livestock Industries
Queensland Bioscience Precinct
St Lucia, QLD 4067
Australia

Tel: +61 (0)7 3214 2922
Fax: +61 (0)7 3214 2900
Web: http://www.csiro.au/people/Nathan.Watson-Haigh.html
- --------------------------------------------------------

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkl1Z34ACgkQ9gTv6QYzVL4JfACgoh7fSDByGZ1Le9o8bicPZJQA
YW0AoMVD/xyVjkEG0BHpUpGTwDZvO8CG
=rgTF
-----END PGP SIGNATURE-----



More information about the Bioperl-l mailing list