[Bioperl-l] Test related Suggestions

Heikki Lehvaslaiho heikki at sanbi.ac.za
Thu Jul 5 09:12:37 EDT 2007


One more suggestion:

It would be extemaly useful if we had a standard way of testing that a when a 
file is read into a bioperl object and then written out again into a same 
format, the input and output files are identical. If not, the test should 
show where the the differences start (showing all the differences would just 
clutter the screen).

This standard method/subroutine should be used to test all sequence and other 
text file IO.

Any takers? 

	-Heikki

On Thursday 05 July 2007 11:39:10 Sendu Bala wrote:
> Sendu Bala wrote:
> > Nathan S. Haigh wrote:
> >> Thinking about this a little more, I think it would be a good idea to
> >> include Test::Exception in t/lib.
> >
> > Agree. I'll see if I can have it auto-loaded by BioperlTest.pm.
>
> I've now done that: BioperlTest loads Test::Exception, from the copy in
> t/lib if necessary.
>
> So, in BioperlTest-using scripts you now have access to the methods
> dies_ok, lives_ok, throws_ok and lives_and.
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioperl-l



-- 
______ _/      _/_____________________________________________________
      _/      _/
     _/  _/  _/  Heikki Lehvaslaiho    heikki at_sanbi _ac _za
    _/_/_/_/_/  Associate Professor    skype: heikki_lehvaslaiho
   _/  _/  _/  SANBI, South African National Bioinformatics Institute
  _/  _/  _/  University of Western Cape, South Africa
     _/      Phone: +27 21 959 2096   FAX: +27 21 959 2512
___ _/_/_/_/_/________________________________________________________


More information about the Bioperl-l mailing list