[Zope-Coders] Help with Unit Testing

Chris Withers chrisw@nipltd.com
Tue, 13 Aug 2002 11:42:53 +0100


Shane Hathaway wrote:
> On Mon, 12 Aug 2002, Chris Withers wrote:
> 
> 
>>So where should these imports be included now?
> 
> 
> Put the imports in the test methods or the setUp() method.

Will do.

>>Well, maybe someone can explain all the StorageErrors I get with the Windows
>>test runner then? ;-)
> 
> Are you importing the Testing package before the Zope package?

They're not my tests that are resulting in these errors, have a look at the 
"Win32 Tests" mails and you'll see the same info I do. I'm at a loss with 
getting these to work, but despite posting, no-one has offered to help :-(

>>Anyone got any suggestions?
> 
> You could create the skins in the tempfile area (though you'll have to be
> careful to *not* delete immediately after creation, which is a standard
> Unixism.)

Huh? Lost me on the bit in brackets...

I'll try and do this, but I'm not sure if I have the time :-(

cheers,

Chris