TestNG: missing classes in JTREG bundled jar

Alex Schenkman alex.schenkman at oracle.com
Tue Aug 19 13:28:04 UTC 2014

Hi list,

I am missing some classes in the testng.jar bundled within JTREG, 
compared to the stock TestNG available for download.
The versions seem to be same, though: 6.8.2beta_20130330_0839.
I have tested to run my tests through JTREG, using the stock TestNG, and 
it seems to work fine.

1) I am unable to run the tests outside of JTREG.
During test development, it would be great to be able to run the tests 
outside JTREG (on the command line or within an IDE).
The error I get is:
     Exception in thread "main" java.lang.NoClassDefFoundError: 

This class is present in the regular distribution, but missing in JTREG's.

2) YAML support for specifying test
The regular TestNG includes the library SnakeYAML, but not JTREG's.
YAML is friendlier than XML for human eyes. Both during test development 
and for test maintenance, it would be great to be able specify what to 
run via YAML instead of XML.
The license for this library is Apache License 2.0 [1].


[1] http://code.google.com/p/snakeyaml/

Alex Schenkman
Java VM SQE Stockholm

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/jtreg-use/attachments/20140819/5503e9ea/attachment-0001.html>

More information about the jtreg-use mailing list