[Bioperl-l] Devel::Cover

Chris Fields cjfields at uiuc.edu
Thu Mar 8 07:13:52 EST 2007


On Mar 8, 2007, at 5:49 AM, Nathan Haigh wrote:

> I seem to remember Devel::Cover being mentioned somewhere as a  
> means to
> see how well BioPerl code coverage was with tests.
>
> I've just been having a play around with this for an application I'm
> writing, and the code coverage metrics it produces are/have been  
> pretty
> useful in determining where additional tests are needed in order to
> fully stress test my modules/application.
>
> I was just wondering if anyone got around to looking at this for
> BioPerl? I'm just running the tests at the moment on bioperl-live. If
> anyone is interested in the results, I can put them on a webserver?
>
> Cheers
> Nath

I guess it depends on how verbose the output is.  We could add it to  
the wiki if it were small enough, or add it as a routinely updated  
archived file elsewhere.  If you have a script you could add it to  
bioperl-live in /maintenance.

Glancing through tests while updating makes me think we should come  
up with an advanced HOWTO for writing tests that encompasses  
Devel::Cover and Test::More.  If you have any notes re: Devel::Cover  
you could start up a new page and add them in.

chris



More information about the Bioperl-l mailing list