org.testng.IInvokedMethodListener2 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of testng Show documentation
Show all versions of testng Show documentation
A testing framework for the JVM
package org.testng;
/**
* Implement this interface if you need a handle to {@link ITestContext}.
*
* @author [email protected] (Karthik Krishnan)
*/
public interface IInvokedMethodListener2 extends IInvokedMethodListener {
/**
* To be implemented if the method needs a handle to contextual information.
*/
void beforeInvocation(IInvokedMethod method, ITestResult testResult,
ITestContext context);
/**
* To be implemented if the method needs a handle to contextual information.
*/
void afterInvocation(IInvokedMethod method, ITestResult testResult,
ITestContext context);
}