public interface IDataProviderListener extends ITestNGListener
Modifier and Type | Method and Description |
---|---|
default void |
afterDataProviderExecution(IDataProviderMethod dataProviderMethod,
ITestNGMethod method,
ITestContext iTestContext)
This method gets invoked just after a data provider is invoked.
|
default void |
beforeDataProviderExecution(IDataProviderMethod dataProviderMethod,
ITestNGMethod method,
ITestContext iTestContext)
This method gets invoked just before a data provider is invoked.
|
default void beforeDataProviderExecution(IDataProviderMethod dataProviderMethod, ITestNGMethod method, ITestContext iTestContext)
dataProviderMethod
- - A IDataProviderMethod
object that contains details about
the data provider that is about to be executed.method
- - The ITestNGMethod
method that is going to consume the dataiTestContext
- - The current test contextdefault void afterDataProviderExecution(IDataProviderMethod dataProviderMethod, ITestNGMethod method, ITestContext iTestContext)
dataProviderMethod
- - A IDataProviderMethod
object that contains details about
the data provider that got executed.method
- - The ITestNGMethod
method that received the dataiTestContext
- - The current test context