[Biopython-dev] Unit tests

Peter Cock p.j.a.cock at googlemail.com
Mon May 29 10:48:35 UTC 2017


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
<padix.kleber at gmail.com> wrote:
> Hello folks,
>
> are there any ressources on how to write unit tests for Biopython?
>
> Best regards,
>
> Patrick
>
> _______________________________________________
> Biopython-dev mailing list
> Biopython-dev at mailman.open-bio.org
> http://mailman.open-bio.org/mailman/listinfo/biopython-dev


More information about the Biopython-dev mailing list