On Thursday, 17. January 2002 16:02, Chris McDonough wrote:
> > ...[unittesting products]...
> Please read both the Zope developer's guide and the document UNITTEST.txt
> in the Zope doc directory.
Well, UNITTEST.txt is focused on writing unit tests for the Zope core itself.
My experience is, that the instructions in that file not really apply to
unittests for custom Products. To cut it short, it didn't work for me.
I've found another solution, using unittest.py directly, rather than copying
framework.py .... This solution is implemented in the ZOQLMethod Product by
Stephan Richter, so you might as well have a look into that for an example.
> These pages are also helpful:
> http://dev.zope.org/CVS/ZopeTestingGuidelines ,
> http://diveintopython.org/roman_divein.html ,
> http://pyunit.sourceforge.net/pyunit.html .
Maybe http://www.extremeprogramming.org has some further introduction to unit
tests and test first design too.
Innovationskolleg Theoretische Biologie
Zope-Dev maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -