Re: Unit tests

Peter Cock <[email protected]> Mon, 29 May 2017 11:48:35 +0100
Newsgroups gmane.comp.python.bio.devel
Message-ID <CAKVJ-_5GZX-ziyz0qeQ9a0fu2FSzU_ivM5_TGgLZsYtsRxR2QQ@mail.gmail.com>
Hi Patrick,

There is a chapter in the Tutorial,

http://biopython.org/DIST/docs/tutorial/Tutorial.html
http://biopython.org/DIST/docs/tutorial/Tutorial.pdf

If that needs any clarifications, please do let us know.

New unit tests should use the unittest framework from the
standard library (and you can use the unittest2 backport
under Python 2.7 if needed), or be doctests (which can
be harder as they need to work on multiple versions of
Python and different operating systems).

Peter

On Fri, May 26, 2017 at 1:53 PM, Patrick Kunzmann
<[email protected]> wrote:
> Hello folks,
>
> are there any ressources on how to write unit tests for Biopython?
>
> Best regards,
>
> Patrick
>
> _______________________________________________
> Biopython-dev mailing list
> [email protected]
> http://mailman.open-bio.org/mailman/listinfo/biopython-dev