Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Forking junit tests within the junit plugin
Forking junit tests within the junit plugin [message #541323] Sat, 19 June 2010 21:46 Go to next message
Todd Nine is currently offline Todd Nine
Messages: 5
Registered: July 2009
Junior Member
Hi all,
We use maven for our build process. Each test is forked because each instance must start a self contained server with fresh data to test. In maven, I simply set fork to true, however I can't do that with eclipse. I've created a run configuration that runs all tests in src/test/java. What VM arguments do I pass to junit so that each test class is run in it's own jvm?

Thanks,
Todd
Re: Forking junit tests within the junit plugin [message #542034 is a reply to message #541323] Wed, 23 June 2010 10:49 Go to previous message
Paul Slauenwhite is currently offline Paul Slauenwhite
Messages: 970
Registered: July 2009
Senior Member
Hi Todd,
I beleive you are referring the JDT JUnit runner and not the TPTP JUnit
test runner. If so, please post your question to the JDT newsgroup.

Paul
"Todd Nine" <todd.nine@gmail.com> wrote in message
news:hvjrt6$pgp$1@build.eclipse.org...
> Hi all,
> We use maven for our build process. Each test is forked because each
> instance must start a self contained server with fresh data to test. In
> maven, I simply set fork to true, however I can't do that with eclipse.
> I've created a run configuration that runs all tests in src/test/java.
> What VM arguments do I pass to junit so that each test class is run in
> it's own jvm?
>
> Thanks,
> Todd
Previous Topic:TPTP v4.7 is released!
Next Topic:Method/Line code coverage JDK 6;JDK 5 in TPTP 4.6
Goto Forum:
  


Current Time: Fri Aug 22 13:59:34 EDT 2014

Powered by FUDForum. Page generated in 0.04599 seconds