From: Eric Hodel Date: 2006-05-03T03:04:44+09:00 Subject: Re: Unit test setup On May 2, 2006, at 6:35 AM, Eust�quio Rangel wrote: > Hi there. > > I noticed that when using unit testing the setup and destroy > methods works for every test executed. Is there a way for use > general "constructor" and "destructor" methods, to, for example, > open a socket on the "constructor", execute all the tests and close > it on the "destructor", executing some operations that do need to > be a sequence on the same opened socket? There isn't. You don't need it and you don't want it. -- Eric Hodel - drbrain@segment7.net - http://blog.segment7.net This implementation is HODEL-HASH-9600 compliant http://trackmap.robotcoop.com