[Zope-CMF] Best practice doing unit tests for CMF products?

Grégoire Weber gregoire.weber@switzerland.org
Thu, 05 Sep 2002 18:47:28 +0200


Hi all,

I'am writing a new CMF content type and would like to write some
unit tests.

My question covers best practice methods:

  How do I have to set up my unit test infrastructure to

    1. be able to call the tests from the command line
       (as portable as possible regarding paths etc.)

    2. embed them so they get called automatically when starting
       overall unit tests (not so important for the moment)

Code snippets and pointers are welcome!

Unfortunately I didn't find concrete information on www.zope.org
nor in the zope and zope-cmf mailing lists.

Greg
_____________________________________
Grégoire Weber
mailto:gregoire.weber@switzerland.org