Re: [Zope-dev] Testing my product

2002-01-18 Thread Thomas Förster

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.

Regards,
Thomas
-- 
Webmaster
Innovationskolleg Theoretische Biologie
http://itb.biologie.hu-berlin.de

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Testing my product

2002-01-17 Thread Chris McDonough

Please read both the Zope developer's guide and the document UNITTEST.txt in
the Zope doc directory.  These pages are also helpful:
http://dev.zope.org/CVS/ZopeTestingGuidelines ,
http://diveintopython.org/roman_divein.html ,
http://pyunit.sourceforge.net/pyunit.html .

- C

- Original Message -
From: "Adrian Hungate" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 17, 2002 9:23 AM
Subject: [Zope-dev] Testing my product


> I have had a lot of interest in a couple of my products, and I would like
to
> ensure they are as stable as I can make them. I have heard a lot on here
> about unit-testing, is there a guide to creating unit-tests? Is there a
> procedure, or something to follow so that I can be sure I am testing "the
> right things"?
>
> Any help would be greatly appreciated.
>
> Adrian...
>
> --
> Adrian Hungate
>
> All views expressed in this email are those of the whole world, however
some
> people don't realise this yet.
>
>
>
> ___
> Zope-Dev maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )
>


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[Zope-dev] Testing my product

2002-01-17 Thread Adrian Hungate

I have had a lot of interest in a couple of my products, and I would like to
ensure they are as stable as I can make them. I have heard a lot on here
about unit-testing, is there a guide to creating unit-tests? Is there a
procedure, or something to follow so that I can be sure I am testing "the
right things"?

Any help would be greatly appreciated.

Adrian...

--
Adrian Hungate

All views expressed in this email are those of the whole world, however some
people don't realise this yet.



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )