public interface IInvokedMethodListener extends ITestNGListener
alwaysRunListeners
TestNG.alwaysRunListeners(false)
| Modifier and Type | Method and Description |
|---|---|
default void |
afterInvocation(IInvokedMethod method,
ITestResult testResult) |
default void |
afterInvocation(IInvokedMethod method,
ITestResult testResult,
ITestContext context)
To be implemented if the method needs a handle to contextual information.
|
default void |
beforeInvocation(IInvokedMethod method,
ITestResult testResult) |
default void |
beforeInvocation(IInvokedMethod method,
ITestResult testResult,
ITestContext context)
To be implemented if the method needs a handle to contextual information.
|
default void beforeInvocation(IInvokedMethod method, ITestResult testResult)
default void afterInvocation(IInvokedMethod method, ITestResult testResult)
default void beforeInvocation(IInvokedMethod method, ITestResult testResult, ITestContext context)
method - The invoked methodtestResult - The test resultcontext - The test contextdefault void afterInvocation(IInvokedMethod method, ITestResult testResult, ITestContext context)
method - The invoked methodtestResult - The test resultcontext - The test contextCopyright © 2025. All rights reserved.