[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
Sat Feb 14 14:59:53 UTC 2009
http://bugzilla.open-bio.org/show_bug.cgi?id=2749
------- Comment #7 from biopython-bugzilla at maubp.freeserve.co.uk 2009-02-14 09:59 EST -------
(In reply to comment #6)
>
> In the example, you could add a comment in the setUp and tearDown functions,
> something like:
> def setUp(self):
> """these instructions will be executed *before* each of the tests in this
> unit"""
>
> and
>
> def tearDown(self):
> """these instructions will be executed *after* each of the tests in this
> unit"""
>
> It will make it clearer.
I've added a mention about setUp and tearDown.
> Moreover, the python's library reference for unittest explain very clearly how
> fixtures and unittest works, maybe it's worth to add a link to it somewhere:
> - http://www.python.org/doc/2.5.2/lib/module-unittest.html
There was one link at the start of the chapter, but I have added a couple more.
We don't need too much detail - that's what the unittest documentation is for
;)
--
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