Uses of Interface
org.testng.ITestNGListener
-
Packages that use ITestNGListener Package Description org.testng org.testng.annotations org.testng.internal org.testng.internal.annotations org.testng.reporters org.testng.reporters.jq -
-
Uses of ITestNGListener in org.testng
Subinterfaces of ITestNGListener in org.testng Modifier and Type Interface Description interface
IAlterSuiteListener
Implementations of this interface will gain access to theXmlSuite
object and thus let users be able to alter a suite or a test based on their own needs.interface
IAnnotationTransformer
interface
IClassListener
interface
IConfigurable
If a test class implements this interface, its run() method will be invoked instead of each configuration method found.interface
IConfigurationListener
Listener interface for events related to configuration methods.interface
IConfigurationListener2
Deprecated.As of release 7.0.0, replaced byIConfigurationListener
interface
IDataProviderInterceptor
This interface helps define an interceptor for data providers.interface
IDataProviderListener
A listener that gets invoked before and after a data provider is invoked by TestNG.interface
IExecutionListener
A listener used to monitor when a TestNG run starts and ends.interface
IExecutionVisualiser
A TestNG listener that can be used to build graph representations of TestNG methods as and when they are being executed on a real-time basis.interface
IHookable
If a test class implements this interface, its run() method will be invoked instead of each @Test method found.interface
IInvokedMethodListener
A listener that gets invoked before and after a method is invoked by TestNG.interface
IMethodInterceptor
This class is used to alter the list of test methods that TestNG is about to run.interface
IReporter
This interface can be implemented by clients to generate a report.interface
ISuiteListener
Listener for test suites.interface
ITestListener
A listener for test running.Classes in org.testng that implement ITestNGListener Modifier and Type Class Description class
TestListenerAdapter
A simple ITestListener adapter that stores all the tests that were run.Methods in org.testng with type parameters of type ITestNGListener Modifier and Type Method Description static <T extends ITestNGListener>
java.util.Collection<T>ListenerComparator. sort(java.util.Collection<T> list, ListenerComparator comparator)
static <T extends ITestNGListener>
java.util.List<T>ListenerComparator. sort(java.util.List<T> list, ListenerComparator comparator)
Methods in org.testng that return ITestNGListener Modifier and Type Method Description ITestNGListener
ITestNGListenerFactory. createListener(java.lang.Class<? extends ITestNGListener> listenerClass)
Create and return an instance of the listener class passed in parameter.Methods in org.testng that return types with arguments of type ITestNGListener Modifier and Type Method Description java.util.List<ITestNGListener>
TestNG. getServiceLoaderListeners()
Methods in org.testng with parameters of type ITestNGListener Modifier and Type Method Description void
ISuite. addListener(ITestNGListener listener)
void
SuiteRunner. addListener(ITestNGListener listener)
void
TestNG. addListener(ITestNGListener listener)
void
TestRunner. addListener(ITestNGListener listener)
Method parameters in org.testng with type arguments of type ITestNGListener Modifier and Type Method Description ITestNGListener
ITestNGListenerFactory. createListener(java.lang.Class<? extends ITestNGListener> listenerClass)
Create and return an instance of the listener class passed in parameter.void
TestNG. setListenerClasses(java.util.List<java.lang.Class<? extends ITestNGListener>> classes)
Define which listeners to user for this run. -
Uses of ITestNGListener in org.testng.annotations
Methods in org.testng.annotations that return types with arguments of type ITestNGListener Modifier and Type Method Description java.lang.Class<? extends ITestNGListener>[]
IListenersAnnotation. getValue()
java.lang.Class<? extends ITestNGListener>[]
value()
-
Uses of ITestNGListener in org.testng.internal
Subinterfaces of ITestNGListener in org.testng.internal Modifier and Type Interface Description interface
IResultListener
A convenient interface to use when implementing listeners.interface
IResultListener2
Classes in org.testng.internal that implement ITestNGListener Modifier and Type Class Description class
ExitCodeListener
Methods in org.testng.internal with type parameters of type ITestNGListener Modifier and Type Method Description static <T extends ITestNGListener>
java.util.List<T>ListenerOrderDeterminer. order(java.util.Collection<T> original, ListenerComparator comparator)
static <T extends ITestNGListener>
java.util.List<T>ListenerOrderDeterminer. reversedOrder(java.util.Collection<T> original, ListenerComparator comparator)
Methods in org.testng.internal that return ITestNGListener Modifier and Type Method Description ITestNGListener
DefaultListenerFactory. createListener(java.lang.Class<? extends ITestNGListener> listenerClass)
Methods in org.testng.internal that return types with arguments of type ITestNGListener Modifier and Type Method Description java.util.List<java.lang.Class<? extends ITestNGListener>>
TestListenerHelper.ListenerHolder. getListenerClasses()
Method parameters in org.testng.internal with type arguments of type ITestNGListener Modifier and Type Method Description void
TestListenerHelper.ListenerHolder. addListener(java.lang.Class<? extends ITestNGListener> c)
ITestNGListener
DefaultListenerFactory. createListener(java.lang.Class<? extends ITestNGListener> listenerClass)
-
Uses of ITestNGListener in org.testng.internal.annotations
Subinterfaces of ITestNGListener in org.testng.internal.annotations Modifier and Type Interface Description interface
IAnnotationTransformer
For backward compatibility.Classes in org.testng.internal.annotations that implement ITestNGListener Modifier and Type Class Description class
DefaultAnnotationTransformer
class
IgnoreListener
Methods in org.testng.internal.annotations that return types with arguments of type ITestNGListener Modifier and Type Method Description java.lang.Class<? extends ITestNGListener>[]
ListenersAnnotation. getValue()
-
Uses of ITestNGListener in org.testng.reporters
Classes in org.testng.reporters that implement ITestNGListener Modifier and Type Class Description class
AbstractXmlReporter
class
DotTestListener
class
EmailableReporter2
Reporter that generates a single-page HTML report of the test results.class
ExitCodeListener
Deprecated.- This class stands deprecated as of TestNGv7.10.0
class
FailedReporter
This reporter is responsible for creating testng-failed.xmlclass
JUnitReportReporter
class
JUnitXMLReporter
A JUnit XML report generator (replacing the original JUnitXMLReporter that was based on XML APIs).class
PerSuiteXMLReporter
The main entry for the XML generation operationclass
SuiteHTMLReporter
Deprecated.- This reporter is deprecated as of TestNG7.9.0
in favour ofMain
class
TestHTMLReporter
This class implements an HTML reporter for individual tests.class
TextReporter
A simple reporter that collects the results and prints them on standard out.class
VerboseReporter
Reporter printing out detailed messages about what TestNG is going to run and what is the status of what has been just run.class
XMLReporter
The main entry for the XML generation operation -
Uses of ITestNGListener in org.testng.reporters.jq
Classes in org.testng.reporters.jq that implement ITestNGListener Modifier and Type Class Description class
Main
-