I m working on a client-server program, where there is no test at all.
When i try to do some test with two server, it’s look like both server is connected to the same database. I think the reason is some bad use of static field.
So i wonder, is there a way to start two VM in a junit test?
Thans for you answer, but that’s my point i don’t know to “fire up” two VM’s.
Is there an other way than manually run two time java (i meen in an automated Test not with a shell)