TestNG and Java command line options

Jonathan Gibbons jonathan.gibbons at oracle.com
Fri Jun 13 19:05:13 UTC 2014


Roger,

testng.jar will be on the path for TestNG tests.  It has to be there if 
nothing else for the @Test annotations.

Do you have reason to believe it is not on the path?

-- Jon


On 06/13/2014 12:14 PM, roger riggs wrote:
> 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