jtreg FAQ updates

Jonathan Gibbons jonathan.gibbons at oracle.com
Thu Aug 16 16:37:55 UTC 2018



On 8/16/18 9:26 AM, Martin Buchholz wrote:
>
>
> On Thu, Aug 16, 2018 at 9:01 AM, Jonathan Gibbons 
> <jonathan.gibbons at oracle.com <mailto:jonathan.gibbons at oracle.com>> wrote:
>
>>     I was confused by this as well, but for junit.  The existing
>>     JSR166TestCase successfully and usefully defines multiple @run
>>     junit tests.
>     Yes, JSR166TestCase provides a number of different tests in that
>     one source file.
>>
>>     I think the confusion has to do with """jtreg supports TestNG
>>     tests in two ways."""
>     I'm confused by your confusion. Can you say more, so that I can
>     try and improve the text in this area?
>
>
> faq says:
>
> """The feature is supported in normal Java tests, in shell tests, and 
> in legacy applet tests. (It is not supported in JUnit or TestNG tests, 
> which do not use explicit test descriptions.)"""
>
> But ... Both JUnit and TestNG tests can use """explicit test 
> descriptions""".  Unless they are Type 2 tests as described in 6.2
> Further confusion - there's documented support for running "implicit" 
> testng tests but I don't see any such support for junit.  E.g. there's 
> no documented junit.dirs I can put into TEST.ROOT.

OK, thanks for the clarifications;  I will address them in updates to 
the FAQ.

-- Jon


More information about the jdk-dev mailing list