I'm running testng from ant using the task. I'd really like to add the -server option to the forked jvm as well as specifying the amount of heap space. Anyone know how to do it?
I don't see anything here: http://testng.org/doc/ant.html
Thanks, Ben
I'm running testng from ant using the task. I'd really like to add the -server option to the forked jvm as well as specifying the amount of heap space. Anyone know how to do it?
I don't see anything here: http://testng.org/doc/ant.html
Thanks, Ben
You can run ant via java. This way you can specify -server and -Xms.
The link you posted specifies that you can pass JVM arguments with a <jvmarg value="blah"/>
element. Have you tried this?
<testng>
<jvmarg value="-server"/>
<jvmarg value="-Xmx128m"/>
...