Can jtreg run a TestNG test suite?

Steve Drach steve.drach at oracle.com
Thu Oct 1 18:06:21 UTC 2015


The jtreg documentation is rather sparse and I can’t infer the answer to my question.  Perhaps somebody knows how to do this with jtreq/TestNG

1. Run a non-test class that creates some expensive to create resources, using compilers, jar builder, jar signers and the like

2. Run two or more class with embedded test methods

3. remove the resources created in step 1

I think I can do this with a TestNG test suite, defined by an XML file, but I don’t see how to specify that jtreg run the test suite


More information about the jtreg-use mailing list