Package org.testng

Interface IConfigureCallBack


  • public interface IConfigureCallBack
    A parameter of this type will be passed to the run() method of a IConfigurable. Invoking runConfigurationMethod() on that parameter will cause the test method currently being diverted to be invoked.

    This interface is not meant to be implemented by clients, only by TestNG.

    See Also:
    IConfigurable
    • Method Detail

      • runConfigurationMethod

        void runConfigurationMethod​(ITestResult testResult)
        Invoke the test method currently being hijacked.
        Parameters:
        testResult - The test result
      • getParameters

        java.lang.Object[] getParameters()
        Returns:
        the parameters that will be used to invoke the configuration method.