[ZDP] BackTalk to Document Zope Developer's Guide (2.4 edition)/Testing and Debugging

webmaster@zope.org webmaster@zope.org
Thu, 08 May 2003 07:21:16 -0400


A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZDG/current/TestingAndDebugging.stx#2-7

---------------

    Unit testing allows you to automatically test your classes to make
    sure they are working correctly. By using unit tests you can make
    sure as you develop and change your classes that you are not
    breaking them. Zope comes with Pyunit. You can find out more
    information on Pyunit at "the Pyunit home
    page":http://pyunit.sourceforge.net/. Pyunit is also part of the
    Python "standard
    library":http://www.python.org/doc/lib/module-unittest.html as of
    Python 2.1.

      % to_be - May 8, 2003 7:21 am:
       Some newbie questions:
       1. Are the tests run automatically when a product is recognised/refreshed?
       2. If not, is there a possibility to enforce this?
       3. How to run the tests manually (import problems; PYTHONPATH)?