[Biopython-dev] [Bug 2749] Proposal: a template for biopython's unittests

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Wed Feb 4 11:28:46 UTC 2009


http://bugzilla.open-bio.org/show_bug.cgi?id=2749





------- Comment #2 from dalloliogm at gmail.com  2009-02-04 06:28 EST -------
yeee! I just come with an idea which makes this test template work both with
and without nose.

The global fixture methods should be called manually before executing the test
suite.
I am sure there is a way to do this automatically rather than manually as it is
now.
Anyway, look at the latest commit:
-
http://github.com/dalloliogm/bio-test-datasets-repository/commit/53554d7ee9a117bc4df9e9ea5bc844e0d4e4d2fa

It can improved, of course.

However, the idea behind this feature proposal is to have a template for
unittests in biopython.
What do you think about it?
It can be refined... for example, telling people which version of numpy they
should import if they need it, how they should format docstrings, etc..
The same can be done for a template of sequence formats parser. I was looking
for something like that when I wrote the fastPhase parser.


-- 
Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Biopython-dev mailing list