[Zope-dev] Zope 2.10.0 installer for Windows

2006-10-18 Thread Wolfgang Strobl
This Monday, I've built an installer for Windows, based on the Zope-2.10.0-final
release which has been published on zope.org two weeks ago. 

Today, I've got some time to run tests:

Tests with failures:
   c:\build\2\Zope-2.10.0-final\inst\build\lib\python\zope\formlib\form.txt
Total: 8304 tests, 1 failures, 4 errors
(more info on request).

Alas, that release seems to be unusable for my purposes, for various reasons. So
I'll have to stay with 2.9.4 or older, for the forseeable future.  Somehow, I
wonder whether current Zope2 releases get any real world testing before becoming
"stable". Did perhaps all testing happen on the Windows side, in the past? ;-)  

Anyway, anybody interested in getting hold of an almost unused
Zope-2.10.0-final-win32.exe?

--
// EXEC PGM=IEFBR14
// DD   DSN=Zope-2.10.0-final-win32.exe,DISP=(OLD,DELETE)



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


[Zope-dev] testing, DemoStorage and Zope2.app()

2006-10-18 Thread Chris Withers

Hi All,

I've been having fun with unit tests:

http://mail.zope.org/pipermail/zope3-dev/2006-October/020757.html

http://mail.zope.org/pipermail/zope3-dev/2006-October/020775.html

But Jim finally pointed me in the right direction:

http://mail.zope.org/pipermail/zope3-dev/2006-October/020789.html

So, stacking DemoStorages sounds like exactly what I want to do, with 
one DemoStorage for each test layer.


A couple of questions:

1. Should I do a transaction.commit() after each layer's setup, or will 
a DemoStorage stacked onto another DemoStorage as follows:


storage = DemoStorage(base=base_storage)

...still see all changes made to the base even if they're not committed?

2. How do I go about weaving the storage into the Zope2.app() stuff? In
   particular:

   - in a layer's setUp() method, how do I replace the DB used by the
 current Zope2.app() with the same storage but wrapped in a new
 DemoStorage?

   - in a layer's tearDown() method, how do I toss the DemoStorage
 created in the layer's setUp and replace it with the original one?

3. Is storage = DemoStorage(base=base_storage) and the dance needed for
   question 2 going to be quicker that transaction.commit() at the end
   of the layer setup and transaction.abort() at the end of every unit
   test?

cheers,

Chris

--
Simplistix - Content Management, Zope & Python Consulting
   - http://www.simplistix.co.uk
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope )