Forking junit tests within the junit plugin [message #541323] |
Sat, 19 June 2010 21:46  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03847 seconds