TestNG and Java command line options
roger riggs
roger.riggs at oracle.com
Fri Jun 13 19:40:32 UTC 2014
Hi,
I was experimenting with a hybrid application, not known to jtreg as a
TestNG application
but using the programmatic TestNG classes to drive the tests and the
Assert class for assertions.
But the real work issue is being able to use TestNG tests with
commercial features enabled.
Roger
On 6/13/2014 3:05 PM, Jonathan Gibbons wrote:
> 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