1. Introduction to TestNG Listeners




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:
  1. IExecutionListener
  2. IAnnotationTransformer
  3. ISuiteListener
  4. ITestListener
  5. IConfigurationListener
  6. IMethodInterceptor
  7. IInvokedMethodListener
  8. IHookable
  9. IReporter







No comments:

Post a Comment

Note: Only a member of this blog may post a comment.