> I don't mind the order of execution, as long as during the execution of all
> tests within a test case class, the singleton uses the right port.  But
> since the resources are not individually initialized *before* execution of
> the tests in a test case class, I end up with whatever executed last before
> running the test suite.

Did you try and understood my code example?

Maybe you want to replace the CommunicationManager with a Mock?

Lukas

-- 
Lukas Renggli
www.lukas-renggli.ch

Reply via email to