I just fixed a problem in my TestNG tests that was masked by jtreg that I was completely unaware of until someone tried to modify a test to intentionally make it fail, it wasn't actually running any tests (due to the annotated test method not being public).
It would be helpful if jtreg could include the TestNG result summary in it's test results output so the user can see how many tests are actually being run.
For example, right now we have:
--------------------------------------------------
TEST: unit/jdk.plugin/sun/plugin2/util/SystemUtilTest.java
build: 0.006 seconds
testng: 1.094 seconds
TEST RESULT: Passed. Execution successful
--------------------------------------------------
Something more useful might be:
--------------------------------------------------
TEST: unit/jdk.plugin/sun/plugin2/util/SystemUtilTest.java
build: 0.006 seconds
testng: 1.094 seconds
testng results: Total tests run: 1, Failures: 0, Skips: 0
TEST RESULT: Passed. Execution successful
--------------------------------------------------
It would be helpful if jtreg could include the TestNG result summary in it's test results output so the user can see how many tests are actually being run.
For example, right now we have:
--------------------------------------------------
TEST: unit/jdk.plugin/sun/plugin2/util/SystemUtilTest.java
build: 0.006 seconds
testng: 1.094 seconds
TEST RESULT: Passed. Execution successful
--------------------------------------------------
Something more useful might be:
--------------------------------------------------
TEST: unit/jdk.plugin/sun/plugin2/util/SystemUtilTest.java
build: 0.006 seconds
testng: 1.094 seconds
testng results: Total tests run: 1, Failures: 0, Skips: 0
TEST RESULT: Passed. Execution successful
--------------------------------------------------