onTestStart method in ITestListener

49 views
Skip to first unread message

Big O

unread,
Aug 6, 2012, 10:30:42 PM8/6/12
to testn...@googlegroups.com
Hi, I'm in the process of integrating my test execution to HPQC, which will be triggered by testng. When in onStart, I've used the ITestContext object to have the tests coming in from HPQC, and not the ones specified in the testng xml. Now, upon executing my one-test suite, I notice that onTestStart is hanging because the ITestResult object is pointing to the incorrect test. Can someone please tell me where this method is invoked from? Or if there is a better way for me to integrate the non-testng specified tests in my framework so that onStart and onTestStart execute smoothly?

Thanks!!

Big O

unread,
Aug 7, 2012, 3:22:11 PM8/7/12
to testn...@googlegroups.com
I got passed the point of filtering out test classes. However in onTestStart, I would like to filter out some of the references from result. Would anyone know how to do this??
Reply all
Reply to author
Forward
0 new messages