[Biopython-dev] Test coverage

Peter biopython at maubp.freeserve.co.uk
Fri Nov 14 17:24:33 UTC 2008


Bruce:
>>
>> Is there someway to identify which functions are not getting tested?
>>

Peter:
> I can't think of an easy way - the best bet might be a quick script to
> scan all the unit tests and pull out import lines, and from this build
> a list of all modules which have some coverage.  This wouldn't tell us
> about how much of each module is tested, but it would be better than
> nothing.

I've done a very crude script to try and answer this, and can point
out a few modules in need of tests:

Bio.Affy
Bio.AlignAce
Bio.EZRetrieve
Bio.Emboss (everything except the primer parsers)
Bio.Encodings (obsolete?)
Bio.FilteredReader (obsolete?)
Bio.MaxEntropy
Bio.NMR
Bio.NaiveBayes
Bio.NetCatch (obsolete?)

Peter



More information about the Biopython-dev mailing list