TestNG tng = new TestNG();
tng.setXmlSuites(<path of my testng xml>); |
tng.run(); Is there any way i can run my testng test xml programatically from java ?
I have gone throught the documentation related to running tests programmatically, but
in all the approaches given i need to supply the test/ suite objects or classes.
i need something like thisTestNG tng =newTestNG();
tng.setXmlSuites(<path of my testng xml>);tng.run();
If there's no such feature available, any suggestion on how i should proceed with implementing it ?
Create my own testrunner ?
--
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.
Can you try without Maven?
2009/12/28 Cédric Beust ♔ <cbe...@google.com>
> > Hi Shantaram, > > On Mon, Dec 28, 2009 at 2:27 AM, Shantaram <svwain...@gmail.com> wrote: >> ...
> -- > > You received this message because you are subscribed to the Google Groups "testng-users" gr...