[Zope3-Users] Add unittest
Benji York
benji at zope.com
Wed Apr 18 11:38:53 EDT 2007
Florian Lindner wrote:
> I've added an directory "tests", created an empty __init__.py in it and a file
> named test_proxycache.py which contains:
>
> import unittest
I *highly* recommend doctests over most uses of unittest. One
reasonable example of doctest usage is in zc.copy
(http://svn.zope.org/zc.copy/trunk/src/zc/copy/).
--
Benji York
Senior Software Engineer
Zope Corporation
More information about the Zope3-users
mailing list