[Bioperl-l] Thoughts on some test reorganization

Chris Fields cjfields at illinois.edu
Sun Nov 16 16:38:39 UTC 2008


All,

I'm still working on an overall plan for a 1.6 release and fixing some  
bugs.  In the meantime, for my sanity I'm planning on doing some test  
reorganization in subversion, starting with splitting up SearchIO.t  
(which has become very long and unwieldy) into separate format- 
specific test files.

This may be something to think about for other sets of modules as well  
which are plugin-able or parser-specific (SeqIO, AlignIO, Bio::Tools*,  
etc).  Though it will lead to quite a few more files, I think it will  
be easier in the long term to identify and fix format-specific bugs.   
It also may be helpful in the long term with splitting up bioperl into  
subdistributions, identifying holes in test coverage, deprecating  
unsupported modules, etc.

The details (of course subject to debate!):

1) Tests which are parser-specific will be moved to test files in the  
form SearchIO_*.t, where the '*' represents the specific parser being  
tested.
2) Tests for methods implemented in SearchIO.pm (such as  
_guess_format) will remain in SearchIO.t.
3) I'll also move other SearchIO-related tests (hmmer, the pull  
parsers) to their related SearchIO_* counterparts.
4) The utility method in SearchIO.t will probably be moved to  
Bio::Search::SearchUtils and imported in to prevent code dups.

Comments?  Thoughts?

chris



More information about the Bioperl-l mailing list