Why "Interface ITestNGMethod" is used?? | Selenium Forum
N
nandisubhasish Posted on 04/11/2019

Can you please help me understand.?

What does "ITestNGMethod" interface do and why it is used.

I asked this question before but the response was not related to my query.

I think you pasted someone's else reply to my query.

Thanks,

Subhasish


A
Ashish Thakur Replied on 06/11/2019

This is internal interface used by testng guys

Its not meant for users

look at javadoc.. it clearly says that end users are not supposed to use this as its used internally by testng -"This interface is not meant to be implemented by users."

https://static.javadoc.io/org.testng/testng/6.11/org/testng/ITestNGMethod.html