Hi,

I'm trying to write acceptance tests using JBehave with Jemmy to control and
verify the state of Swing components.

The problem I'm having is simple. After a scenario is finished I need to
close the application in order to clear everything that remains in the
background, like Singletons. This is done so that when the next scenario
runs, he gets a clean environment with no previous objects in memory.

The thing is, I can't just simply close the application, because when I do
that, I'm closing the JVM (and JBehave) with it.

So, is there something I can do like running two separate JVMs or some
mechanism that enables me to close my application and still keep JBehave
running?

Thanks

-- 
Victor Moura Cortez

Reply via email to