Unit testing (no html...)
(Sorry for previous HTML message, /"!%/$?$& Outlook...) I just read Unit testing chapter of the excellent "Dive into python" book. (www.diveintopython.org) I know that Zope 3 development use Unit Testing modules extensibly. I wonder if anyone use Unit Testing for Zope 2.x product development? Any advices or insights? Wich modules do I need to import, path setting, etc.?
zope2 comes with its own extensive suite of unit tests. you can find them easily in the zope source tree and learn how things are done there. (look for subdirectories named "tests") jens On Monday, May 27, 2002, at 09:40 , Jean-François Ménard wrote:
(Sorry for previous HTML message, /"!%/$?$& Outlook...)
I just read Unit testing chapter of the excellent "Dive into python" book. (www.diveintopython.org)
I know that Zope 3 development use Unit Testing modules extensibly.
I wonder if anyone use Unit Testing for Zope 2.x product development? Any advices or insights? Wich modules do I need to import, path setting, etc.?
In the Zope developer book which you find on Zop.org under documentation is a chapter on unittesting. To give you a headstart I added two files I am using to do unit tests. You can not use them directly since they try to load files which you do not have. However you should see how to proceed. Robert ----- Original Message ----- From: "Jean-François Ménard" <menard.jean-francois@hydro.qc.ca> To: <zope@zope.org> Sent: Monday, May 27, 2002 3:40 PM Subject: [Zope] Unit testing (no html...)
(Sorry for previous HTML message, /"!%/$?$& Outlook...)
I just read Unit testing chapter of the excellent "Dive into python" book. (www.diveintopython.org)
I know that Zope 3 development use Unit Testing modules extensibly.
I wonder if anyone use Unit Testing for Zope 2.x product development? Any advices or insights?
Wich modules do I need to import, path setting, etc.?
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (3)
-
Jean-François Ménard -
Jens Vagelpohl -
Robert Rottermann