dev@glassfish.java.net

Re: quicklook / TestNG: can it be threaded

From: Ken Cavanaugh <Ken.Cavanaugh_at_Sun.COM>
Date: Fri, 12 Sep 2008 15:09:24 -0700

Lloyd Chambers wrote:
> If I have a test class with (for exampele) five @Test tests, can they
> be run in parallel with some TestNG setting?
>
Yes: see http://testng.org/doc/documentation-main.html#parallel-running

I think you may need to use a TestNG XML config file to use this (I never
use XML config files with TestNG, so I haven't tried it). Another
option may
be to use the XML API and write a test driver program.

Ken.