TestNG and Java command line options

roger riggs roger.riggs at oracle.com
Fri Jun 13 19:14:10 UTC 2014


Hi,

Is there a way to configure a jtreg's  TEST.root or TEST.properties to run
TestNG tests but also provide some command line options?
All of the tests would run with the same JVM options and can run in a 
single VM.

Alternatively, is there a way with @library or lib.dirs to include a 
reference
to the testng.jar provided with the jtreg?
That would allow the tests to refer to the Assert class for testing 
assertions
or use the TestNG test driver programmatically

Thanks, Roger





More information about the jtreg-dev mailing list