Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Forking junit tests within the junit plugin
Forking junit tests within the junit plugin [message #541323] Sun, 20 June 2010 01:46 Go to next message
Todd Nine is currently offline Todd NineFriend
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 14:49 Go to previous message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
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 Apr 26 08:19:05 GMT 2024

Powered by FUDForum. Page generated in 1.46292 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top