[BioPython] a template for unittests in biopython

Giovanni Marco Dall'Olio dalloliogm at gmail.com
Wed Feb 4 03:01:51 UTC 2009


Hi people,
I have posted here:
- http://github.com/dalloliogm/bio-test-datasets-repository/blob/master/templates/biopython/biotest_template.py

a draft for a template for unittests in biopython. You can also refer
to it as bug 2749 (http://bugzilla.open-bio.org/show_bug.cgi?id=2749).

So, the idea is that if we have a template for test files, it will be
easier for new developers to write new tests and modules.
This one in particular makes use of nose, and it has some example of
global fixtures (the two setUpClass and tearDownAll methods).

What do you think about it?
Cheers..

-- 

My blog on bioinformatics (now in English): http://bioinfoblog.it



More information about the Biopython mailing list