I'm running quite a few TestNG tests in Eclipse, but for each one, I need to pass in the same VM arguments. Is there any way to set this to be default, so I don't have to enter it each time I write a new test?
Thanks!
Well, that is quite problemmatic, probably the easiest workaround is to set them globally (Preferences -> TestNG -> Run/Debug -> JVM args).
Otherwise, if you create a run configuration for the test package, you can also set it there.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With