| Class and Description |
|---|
| Assert.ThrowingRunnable
This interface facilitates the use of
Assert.expectThrows(java.lang.Class<T>, org.testng.Assert.ThrowingRunnable) from Java 8. |
| CommandLineArgs |
| DataProviderHolder
A holder class that is aimed at acting as a container for holding various different aspects of a
data provider such as listeners/interceptors etc.,
|
| IAnnotationTransformer |
| IAttributes
A trait that is used by all interfaces that lets the user add or remove their own attributes.
|
IClass
IClass represents a test class and a collection of its instances. |
| IClassListener |
| IConfigurationListener
Listener interface for events related to configuration methods.
|
| IConfigureCallBack
A parameter of this type will be passed to the run() method of a IConfigurable.
|
| IDataProviderInterceptor
This interface helps define an interceptor for data providers.
|
| IDataProviderListener
A listener that gets invoked before and after a data provider is invoked by TestNG.
|
| IDataProviderMethod
Represents the attributes of a
DataProvider annotated method. |
| IDynamicGraph.Status |
| 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.
|
| IHookCallBack
A parameter of this type will be passed to the run() method of a IHookable.
|
| IInjectorFactory
Allows customization of the
Injector creation when working with dependency injection. |
| IInvokedMethod
An interface representing a method that has been invoked by TestNG.
|
| IInvokedMethodListener
A listener that gets invoked before and after a method is invoked by TestNG.
|
| IMethodInstance
This interface captures a test method along with all the instances it should be run on.
|
| IMethodInterceptor
This class is used to alter the list of test methods that TestNG is about to run.
|
| IMethodSelectorContext
An implementation of this interface is passed to all the Method Selectors when their
includeMethod() is invoked.
|
| IObjectFactory2
Deprecated.
- This interface stands deprecated as of TestNG 7.5.0
|
| IReporter
This interface can be implemented by clients to generate a report.
|
| IResultMap |
| IRetryAnalyzer
Interface to implement to be able to have a chance to retry a failed test.
|
| ISuite
Interface defining a Test Suite.
|
| ISuiteListener
Listener for test suites.
|
| ISuiteResult
This class represents the result of a suite run.
|
| ITestClass
This class represents a test class:
The test methods
The configuration methods (test and method)
The class file
Note that the methods returned by instances of this class are expected to be correct at runtime.
|
| ITestContext
This class defines a test context which contains all the information for a given test run.
|
| ITestListener
A listener for test running.
|
| ITestNGListener
This is a marker interface for all objects that can be passed as a -listener argument.
|
| ITestNGMethod
Describes a TestNG annotated method and the instance on which it will be invoked.
|
| ITestObjectFactory
Parent interface of all the object factories.
|
| ITestResult
This class describes the result of a test.
|
| ITestRunnerFactory
A factory for TestRunners to be used by SuiteRunners.
|
| SkipException
The root exception for special skip handling.
|
| SuiteRunState
A state object that records the status of the suite run.
|
| TestNG
This class is the main entry point for running tests in the TestNG framework.
|
| TestNGAntTask.Mode |
| TestNGException
The base class for all exceptions thrown by TestNG.
|
| TestRunner
This class takes care of running one Test.
|
| TestRunner.PriorityWeight |
| Class and Description |
|---|
| IRetryAnalyzer
Interface to implement to be able to have a chance to retry a failed test.
|
| Class and Description |
|---|
| DataProviderHolder
A holder class that is aimed at acting as a container for holding various different aspects of a
data provider such as listeners/interceptors etc.,
|
| IAttributes
A trait that is used by all interfaces that lets the user add or remove their own attributes.
|
IClass
IClass represents a test class and a collection of its instances. |
| IConfigurable
If a test class implements this interface, its run() method will be invoked instead of each
configuration method found.
|
| IConfigurationListener
Listener interface for events related to configuration methods.
|
| IDataProviderMethod
Represents the attributes of a
DataProvider annotated method. |
| IDynamicGraph
Represents the graphical representative capabilities of an entity.
|
| IDynamicGraph.Status |
| IExecutionListener
A listener used to monitor when a TestNG run starts and ends.
|
| 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.
|
| IExpectedExceptionsHolder |
| IHookable
If a test class implements this interface, its run() method will be invoked instead of each @Test
method found.
|
| IInjectorFactory
Allows customization of the
Injector creation when working with dependency injection. |
| IInstanceInfo
This class defines a pair of instance/class.
|
| IMethodInstance
This interface captures a test method along with all the instances it should be run on.
|
| IMethodSelector
This interface is used to augment or replace TestNG's algorithm to decide whether a test method
should be included in a test run.
|
| IMethodSelectorContext
An implementation of this interface is passed to all the Method Selectors when their
includeMethod() is invoked.
|
| IReporter
This interface can be implemented by clients to generate a report.
|
| IResultMap |
| IRetryAnalyzer
Interface to implement to be able to have a chance to retry a failed test.
|
| ISuite
Interface defining a Test Suite.
|
| ITestClass
This class represents a test class:
The test methods
The configuration methods (test and method)
The class file
Note that the methods returned by instances of this class are expected to be correct at runtime.
|
| ITestClassFinder
This class is used by TestNG to locate the test classes.
|
| ITestContext
This class defines a test context which contains all the information for a given test run.
|
| ITestListener
A listener for test running.
|
| ITestMethodFinder
This interface allows to modify the strategy used by TestRunner to find its test methods.
|
| ITestNGListener
This is a marker interface for all objects that can be passed as a -listener argument.
|
| ITestNGListenerFactory
A factory used to create instances of ITestNGListener.
|
| ITestNGMethod
Describes a TestNG annotated method and the instance on which it will be invoked.
|
| ITestObjectFactory
Parent interface of all the object factories.
|
| ITestResult
This class describes the result of a test.
|
| TestNGException
The base class for all exceptions thrown by TestNG.
|
| Class and Description |
|---|
| IAnnotationTransformer |
| IRetryAnalyzer
Interface to implement to be able to have a chance to retry a failed test.
|
| ITestNGListener
This is a marker interface for all objects that can be passed as a -listener argument.
|
| ITestNGMethod
Describes a TestNG annotated method and the instance on which it will be invoked.
|
| ITestObjectFactory
Parent interface of all the object factories.
|
| ITestResult
This class describes the result of a test.
|
| Class and Description |
|---|
| ClassMethodMap
This class maintains a map of
<Class, List<ITestNGMethod>>. |
| DataProviderHolder
A holder class that is aimed at acting as a container for holding various different aspects of a
data provider such as listeners/interceptors etc.,
|
IClass
IClass represents a test class and a collection of its instances. |
| IClassListener |
| IConfigurable
If a test class implements this interface, its run() method will be invoked instead of each
configuration method found.
|
| IDataProviderMethod
Represents the attributes of a
DataProvider annotated method. |
| IExpectedExceptionsHolder |
| IHookable
If a test class implements this interface, its run() method will be invoked instead of each @Test
method found.
|
| IInvokedMethod
An interface representing a method that has been invoked by TestNG.
|
| IInvokedMethodListener
A listener that gets invoked before and after a method is invoked by TestNG.
|
| IMethodInstance
This interface captures a test method along with all the instances it should be run on.
|
| ISuite
Interface defining a Test Suite.
|
| ITestClass
This class represents a test class:
The test methods
The configuration methods (test and method)
The class file
Note that the methods returned by instances of this class are expected to be correct at runtime.
|
| ITestContext
This class defines a test context which contains all the information for a given test run.
|
| ITestNGMethod
Describes a TestNG annotated method and the instance on which it will be invoked.
|
| ITestResult
This class describes the result of a test.
|
| SuiteRunState
A state object that records the status of the suite run.
|
| TestException
Exception thrown when an exception happens while running a test method.
|
| Class and Description |
|---|
| IInjectorFactory
Allows customization of the
Injector creation when working with dependency injection. |
| Class and Description |
|---|
| IInjectorFactory
Allows customization of the
Injector creation when working with dependency injection. |
| ITestObjectFactory
Parent interface of all the object factories.
|
| Class and Description |
|---|
IClass
IClass represents a test class and a collection of its instances. |
| ITestContext
This class defines a test context which contains all the information for a given test run.
|
| Class and Description |
|---|
| ITestContext
This class defines a test context which contains all the information for a given test run.
|
| ITestResult
This class describes the result of a test.
|
| TestNGException
The base class for all exceptions thrown by TestNG.
|
| Class and Description |
|---|
| IDynamicGraph
Represents the graphical representative capabilities of an entity.
|
| ISuite
Interface defining a Test Suite.
|
| ITestNGMethod
Describes a TestNG annotated method and the instance on which it will be invoked.
|
| Class and Description |
|---|
| IDynamicGraph
Represents the graphical representative capabilities of an entity.
|
| ISuite
Interface defining a Test Suite.
|
| Class and Description |
|---|
IClass
IClass represents a test class and a collection of its instances. |
| IInvokedMethodListener
A listener that gets invoked before and after a method is invoked by TestNG.
|
| ITestClass
This class represents a test class:
The test methods
The configuration methods (test and method)
The class file
Note that the methods returned by instances of this class are expected to be correct at runtime.
|
| ITestMethodFinder
This interface allows to modify the strategy used by TestRunner to find its test methods.
|
| ITestNGMethod
Describes a TestNG annotated method and the instance on which it will be invoked.
|
| ITestObjectFactory
Parent interface of all the object factories.
|
| Class and Description |
|---|
| IConfigurationListener
Listener interface for events related to configuration methods.
|
| IReporter
This interface can be implemented by clients to generate a report.
|
| ISuite
Interface defining a Test Suite.
|
| ISuiteResult
This class represents the result of a suite run.
|
| ITestContext
This class defines a test context which contains all the information for a given test run.
|
| ITestListener
A listener for test running.
|
| ITestNGListener
This is a marker interface for all objects that can be passed as a -listener argument.
|
| ITestResult
This class describes the result of a test.
|
| TestNG
This class is the main entry point for running tests in the TestNG framework.
|
| Class and Description |
|---|
| IReporter
This interface can be implemented by clients to generate a report.
|
| ISuite
Interface defining a Test Suite.
|
| ITestNGListener
This is a marker interface for all objects that can be passed as a -listener argument.
|
| ITestResult
This class describes the result of a test.
|
| Class and Description |
|---|
| ITestNGMethod
Describes a TestNG annotated method and the instance on which it will be invoked.
|
| Class and Description |
|---|
| IDynamicGraph
Represents the graphical representative capabilities of an entity.
|
| ISuite
Interface defining a Test Suite.
|
| ITestNGMethod
Describes a TestNG annotated method and the instance on which it will be invoked.
|
| Class and Description |
|---|
| IRetryAnalyzer
Interface to implement to be able to have a chance to retry a failed test.
|
| ITestResult
This class describes the result of a test.
|
| Class and Description |
|---|
| ITestObjectFactory
Parent interface of all the object factories.
|
| TestNGException
The base class for all exceptions thrown by TestNG.
|
Copyright © 2025. All rights reserved.