run suites in parallel

65 views
Skip to first unread message

Shantaram

unread,
Dec 17, 2009, 2:45:06 AM12/17/09
to testng...@googlegroups.com
Hi,

I need to give a set of test xml to testNG and it should run the test xmls in parallel
but should not run tests or method in parallel
ie- multiple threads running through a test xml each.
Is there anyway i can do it ? preferably through ant ?


--
Thanks & Regards,

Shantaram Waingankar
9969035764
www.shantaram.co.in

Twenty years from now you will be more disappointed by the things you didn't do than by the ones you did do.
So throw off the bowlines. Sail away from the safe harbor. Catch the trade winds in your sails.
Explore. Dream. Discover.

Pranav

unread,
Dec 18, 2009, 3:23:36 PM12/18/09
to testng...@googlegroups.com
how about triggering your testng tests programatically ? So you can
create multiple testng objects for each of your testng xml, and run them
all in separate threads ?


Shantaram wrote:
> Hi,
>
> I need to give a set of test xml to testNG and it should run the test
> xmls in parallel
> but should not run tests or method in parallel
> ie- multiple threads running through a test xml each.
> Is there anyway i can do it ? preferably through ant ?
>
>
> --
> Thanks & Regards,
>
> Shantaram Waingankar
> 9969035764

> www.shantaram.co.in <http://www.shantaram.co.in>


>
> Twenty years from now you will be more disappointed by the things you
> didn't do than by the ones you did do.
> So throw off the bowlines. Sail away from the safe harbor. Catch the
> trade winds in your sails.
> Explore. Dream. Discover.
>

> --
>
> You received this message because you are subscribed to the Google
> Groups "testng-users" group.
> To post to this group, send email to testng...@googlegroups.com.
> To unsubscribe from this group, send email to
> testng-users...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/testng-users?hl=en.

Shantaram

unread,
Dec 19, 2009, 12:41:51 AM12/19/09
to testng...@googlegroups.com
Thanks Pranav,
Was actually  looking for any inbuilt functionality in the testng ant task.
 
But now I'll think on those lines.
i am actually using testNG to trigger tests on the Selenium Grid.
So i'll trying to trigger multiple ant builds , each running a set of test xml's.
Reply all
Reply to author
Forward
0 new messages