updating TestNG and JUnit for jtreg

Jonathan Gibbons jonathan.gibbons at oracle.com
Wed May 4 01:28:29 UTC 2016


The recent updates to jdk9/dev will require the version of jtreg tagged 
as "jtreg4.2-b02".
This has the same dependency requirements as the previous build, and all 
versions of jtreg4.1,
meaning, if you could build it before, you should be able to build 
jtreg4.2-b02 the same way.

Going forward, the next update to jtreg will require the following:
     * built with JDK 7 or later
     * TestNG 6.9.5 or later
     * JUnit 4.10 or later
     * JTHarness 4.6 or later

These updates will enable a number of bug fixes and enhancements that 
have been blocked until now.

Those folk that build jtreg may need to update their build scripts or 
build environment.

Patches to make these changes are now in the jtreg repository.
http://hg.openjdk.java.net/code-tools/jtreg

-- Jon


On 04/15/2016 08:41 AM, Jonathan Gibbons wrote:
> This is a heads-up for those folk that build their own copy of jtreg, 
> especially folk outside Oracle.
>
> We are looking up update jtreg and the tests such that they will 
> require the following versions:
>     TestNG 6.9.5
>     JUnit 4.10
>
> This will allow tests to use newer API in TestNG, and will facilitate 
> improved support for JUnit tests, using TestNG mixed mode.
>
> ---
>
> Separately, we know that the external builds on cloudbees are broken, 
> and we are working to get that situation addressed.
>
> -- Jon



More information about the jtreg-use mailing list