A TestNG listener always extends the marker interface org.testng.ITestNGListener
. Using listeners, one can extend TestNG in their dealings with notifications, reports and test behavior. Below are the listeners that TestNG provides:
IExecutionListener
IAnnotationTransformer
ISuiteListener
ITestListener
IConfigurationListener
IMethodInterceptor
IInvokedMethodListener
IHookable
IReporter
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.