jtreg FAQ updates
Martin Buchholz
martinrb at google.com
Thu Aug 16 15:18:46 UTC 2018
On Thu, Aug 16, 2018 at 4:30 AM, Chris Hegarty <chris.hegarty at oracle.com>
wrote:
> Jon,
>
> Thanks for this. A question on testng.
>
> > On 16 Aug 2018, at 00:46, Jonathan Gibbons <jonathan.gibbons at oracle.com>
> wrote:
> > ...
> > 5.6 Can I put more than one test in a file?
>
> I think that you can put several jtreg-invoked testng tests in a single
> file. At least it works for me. For example:
>
> /*
> * @test
> * @run testng/othervm Test
> */
> /*
> * @test
> * @run testng/othervm Test
> */
>
> , but it is not all that useful.
>
I was confused by this as well, but for junit. The existing JSR166TestCase
successfully and usefully defines multiple @run junit tests.
I think the confusion has to do with """jtreg supports TestNG tests in two
ways."""
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/jtreg-use/attachments/20180816/dd19b942/attachment.html>
More information about the jtreg-use
mailing list